mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-09 05:13:01 +00:00
8d84372836
of using llvm-as, now that opt supports this. llvm-svn: 81226
10 lines
170 B
LLVM
10 lines
170 B
LLVM
; RUN: opt %s -instcombine | llvm-dis | not grep {sub i32 0}
|
|
; PR2330
|
|
|
|
define i32 @foo(i32 %a) nounwind {
|
|
entry:
|
|
%A = sub i32 5, %a
|
|
%B = and i32 %A, 2
|
|
ret i32 %B
|
|
}
|