mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 04:22:57 +02:00
test1 is miscompiled
llvm-svn: 32086
This commit is contained in:
parent
55ad52f156
commit
f6a48f7ea5
@ -0,0 +1,13 @@
|
||||
; RUN: llvm-as < %s | opt -constprop | llvm-dis | grep 'ret int -1' &&
|
||||
; RUN: llvm-as < %s | opt -constprop | llvm-dis | grep 'ret uint 1'
|
||||
|
||||
int %test1() {
|
||||
%A = sext bool true to int
|
||||
ret int %A
|
||||
}
|
||||
|
||||
uint %test2() {
|
||||
%A = zext bool true to uint
|
||||
ret uint %A
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user