diff options
author | David Tweed <david.tweed@arm.com> | 2013-01-07 13:32:38 +0000 |
---|---|---|
committer | David Tweed <david.tweed@arm.com> | 2013-01-07 13:32:38 +0000 |
commit | a11edf0ce37229747230cc751498e2f4539386af (patch) | |
tree | 0dc906cbd1c2b59e0a86cc88345b81db9e1dd311 /llvm/test/Feature | |
parent | 8d1832e09125e1791eb9c8b9707e07bc4bc26865 (diff) | |
download | bcm5719-llvm-a11edf0ce37229747230cc751498e2f4539386af.tar.gz bcm5719-llvm-a11edf0ce37229747230cc751498e2f4539386af.zip |
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.
llvm-svn: 171733
Diffstat (limited to 'llvm/test/Feature')
-rw-r--r-- | llvm/test/Feature/const_pv.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Feature/const_pv.ll b/llvm/test/Feature/const_pv.ll index 6fd6abdccf0..272bf43a068 100644 --- a/llvm/test/Feature/const_pv.ll +++ b/llvm/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 ) |