mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
a62270de2c
The reversion apparently deleted the test/Transforms directory. Will be re-reverting again. llvm-svn: 358552
16 lines
371 B
LLVM
16 lines
371 B
LLVM
; RUN: opt -instsimplify -S < %s | FileCheck %s
|
|
|
|
define void @foo() nounwind {
|
|
br i1 undef, label %1, label %4
|
|
|
|
; <label>:1 ; preds = %1, %0
|
|
; CHECK-NOT: phi
|
|
; CHECK-NOT: sub
|
|
%2 = phi i32 [ %3, %1 ], [ undef, %0 ]
|
|
%3 = sub i32 0, undef
|
|
br label %1
|
|
|
|
; <label>:4 ; preds = %0
|
|
ret void
|
|
}
|