mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
a99283db0a
As discussed in D86843, -earlycse-debug-hash should be used in more regression tests to catch inconsistency between the hashing and the equivalence check. Differential Revision: https://reviews.llvm.org/D86863
21 lines
373 B
LLVM
21 lines
373 B
LLVM
; RUN: opt -early-cse -earlycse-debug-hash -S < %s | FileCheck %s
|
|
; RUN: opt -basic-aa -early-cse-memssa -S < %s | FileCheck %s
|
|
; PR12231
|
|
|
|
declare i32 @f()
|
|
|
|
define i32 @fn() {
|
|
entry:
|
|
br label %lbl_1215
|
|
|
|
lbl_1215:
|
|
%ins34 = phi i32 [ %ins35, %xxx ], [ undef, %entry ]
|
|
ret i32 %ins34
|
|
|
|
xxx:
|
|
%ins35 = call i32 @f()
|
|
br label %lbl_1215
|
|
}
|
|
|
|
; CHECK-LABEL: define i32 @fn(
|