aboutsummaryrefslogtreecommitdiffstats
path: root/test/Feature/const_pv.ll
diff options
context:
space:
mode:
authorDavid Tweed <david.tweed@arm.com>2013-01-07 13:32:38 +0000
committerDavid Tweed <david.tweed@arm.com>2013-01-07 13:32:38 +0000
commitd80d608f768e0083122f74df80465effcd70f076 (patch)
tree1d76a9e6d723dac5d6f4b8e86154694dc52abbc5 /test/Feature/const_pv.ll
parente97165901ee51216b22b808041b10febbb4afa5e (diff)
downloadexternal_llvm-d80d608f768e0083122f74df80465effcd70f076.zip
external_llvm-d80d608f768e0083122f74df80465effcd70f076.tar.gz
external_llvm-d80d608f768e0083122f74df80465effcd70f076.tar.bz2
There was a switch fall-through in the parser for textual LLVM that caused
bogus comparison operands to default to eq/oeq. Fix that, fix a couple of tests that accidentally passed and test for bogus comparison opeartors explicitly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171733 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature/const_pv.ll')
-rw-r--r--test/Feature/const_pv.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Feature/const_pv.ll b/test/Feature/const_pv.ll
index 6fd6abd..272bf43 100644
--- a/test/Feature/const_pv.ll
+++ b/test/Feature/const_pv.ll
@@ -4,5 +4,5 @@
@G1 = global i8 zeroinitializer
@g = constant <2 x i8*> getelementptr (<2 x i8*> <i8* @G1, i8* @G1>, <2 x i32> <i32 0, i32 0>)
-@t = constant <2 x i1> icmp ((<2 x i32> ptrtoint (<2 x i8*> zeroinitializer to <2 x i32>), <2 x i32> zeroinitializer )
+@t = constant <2 x i1> icmp eq (<2 x i32> ptrtoint (<2 x i8*> zeroinitializer to <2 x i32>), <2 x i32> zeroinitializer )