mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
[X86] Fix XOP vpcom intrinsic autoupgrade to map 'true' and 'false' to the correct immediates. Seems they were swapped.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229077 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
eb95a535aa
commit
0d3c686ffd
1 file changed
+2
-2
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user