mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
another example.
llvm-svn: 92781
This commit is contained in:
parent
8e4cdf70e1
commit
61de3ae41a
@ -11,3 +11,11 @@ entry:
|
||||
%4 = load i16* %3, align 2
|
||||
ret i16 %4
|
||||
}
|
||||
|
||||
define zeroext i64 @t2(i8 zeroext %on_off) nounwind readonly {
|
||||
entry:
|
||||
%0 = zext i8 %on_off to i32
|
||||
%1 = add i32 %0, -1
|
||||
%2 = sext i32 %1 to i64
|
||||
ret i64 %2 ;; Should be (add (zext i8 -> i64), -1)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user