mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-24 07:01:35 +00:00
[SCCP] Make the test added in r289175 more meaningful.
Add a comment while here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289182 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
45b7e0e48d
commit
11200e161b
@ -30,9 +30,10 @@ define i32 @test4(i32 %X) {
|
||||
ret i32 %Y
|
||||
}
|
||||
|
||||
; X * 0 = 0 even if X is overdefined.
|
||||
; CHECK-LABEL: test5
|
||||
; CHECK: ret i32 0
|
||||
define i32 @test5(i32 %foo) {
|
||||
%patatino = mul i32 %foo, undef
|
||||
%patatino = mul i32 %foo, 0
|
||||
ret i32 %patatino
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user