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 | d80d608f768e0083122f74df80465effcd70f076 (patch) | |
tree | 1d76a9e6d723dac5d6f4b8e86154694dc52abbc5 /test/Transforms/LoopIdiom | |
parent | e97165901ee51216b22b808041b10febbb4afa5e (diff) | |
download | external_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/Transforms/LoopIdiom')
-rw-r--r-- | test/Transforms/LoopIdiom/X86/popcnt.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/LoopIdiom/X86/popcnt.ll b/test/Transforms/LoopIdiom/X86/popcnt.ll index 2f458fb..6aa905f 100644 --- a/test/Transforms/LoopIdiom/X86/popcnt.ll +++ b/test/Transforms/LoopIdiom/X86/popcnt.ll @@ -1,5 +1,5 @@ ; RUN: opt -loop-idiom < %s -mtriple=x86_64-apple-darwin -mcpu=corei7 -S | FileCheck %s - +booom ;To recognize this pattern: ;int popcount(unsigned long long a) { ; int c = 0; |