projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add encoding for VSTR.
[oota-llvm.git]
/
test
/
Transforms
/
ConstProp
/
loads.ll
diff --git
a/test/Transforms/ConstProp/loads.ll
b/test/Transforms/ConstProp/loads.ll
index 9151d256b02499a3584157b4174b910016c9e776..9fbba2b355281e79f79d713b17a7d93c6e2eef95 100644
(file)
--- a/
test/Transforms/ConstProp/loads.ll
+++ b/
test/Transforms/ConstProp/loads.ll
@@
-110,3
+110,13
@@
define i16 @test12() {
; CHECK: @test12
; CHECK: ret i16 98
}
+
+
+; PR5978
+@g5 = constant i8 4
+define i1 @test13() {
+ %A = load i1* bitcast (i8* @g5 to i1*)
+ ret i1 %A
+; CHECK: @test13
+; CHECK: ret i1 false
+}