mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
43f785d798
Clearing LargeOffsetGEPMap at the end fixes a bug where if a large offset GEP is in a dead basic block, we fail an assertion when trying to delete the block due to the asserting VH in LargeOffsetGEPMap. Differential Revision: https://reviews.llvm.org/D53464 llvm-svn: 345082
23 lines
330 B
LLVM
23 lines
330 B
LLVM
; RUN: llc -o - %s | FileCheck %s
|
|
|
|
; CHECK: .LBB0_1:
|
|
; CHECK: b .LBB0_1
|
|
|
|
target triple = "thumbv8m-unknown-linux-android"
|
|
|
|
define void @d(i32* %c) {
|
|
entry:
|
|
br i1 false, label %f.exit, label %i.d
|
|
|
|
i.d:
|
|
br label %i.d
|
|
|
|
f.exit:
|
|
%0 = getelementptr i32, i32* %c, i32 57
|
|
br label %if.g
|
|
|
|
if.g:
|
|
store i32 0, i32* %0
|
|
ret void
|
|
}
|