projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb95a53
)
[X86] Fix XOP vpcom intrinsic autoupgrade to map 'true' and 'false' to the correct...
author
Craig Topper
<craig.topper@gmail.com>
Fri, 13 Feb 2015 07:42:15 +0000
(07:42 +0000)
committer
Craig Topper
<craig.topper@gmail.com>
Fri, 13 Feb 2015 07:42:15 +0000
(07:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229077
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/IR/AutoUpgrade.cpp
patch
|
blob
|
history
diff --git
a/lib/IR/AutoUpgrade.cpp
b/lib/IR/AutoUpgrade.cpp
index 6d53d11988feaf7d12a35286a44f4d150e8247e8..0c494ef12e4715ed90bb44a7b53bb28f1f5b5bdc 100644
(file)
--- a/
lib/IR/AutoUpgrade.cpp
+++ b/
lib/IR/AutoUpgrade.cpp
@@
-460,9
+460,9
@@
void llvm::UpgradeIntrinsicCall(CallInst *CI, Function *NewFn) {
Imm = 4;
else if (Name.startswith("ne"))
Imm = 5;
- else if (Name.startswith("true"))
- Imm = 6;
else if (Name.startswith("false"))
+ Imm = 6;
+ else if (Name.startswith("true"))
Imm = 7;
else
llvm_unreachable("Unknown condition");