[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:
Davide Italiano 2016-12-09 03:49:20 +00:00
parent 45b7e0e48d
commit 11200e161b

View File

@ -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
}