mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +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:
parent
eb95a535aa
commit
0d3c686ffd
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user