mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-24 04:56:51 +00:00
I got J and K backward, many thanks to Eli for spotting this!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73372 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8792232f99
commit
2e06dd2101
@ -8468,7 +8468,7 @@ void X86TargetLowering::LowerAsmOperandForConstraint(SDValue Op,
|
||||
return;
|
||||
case 'J':
|
||||
if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Op)) {
|
||||
if ((int8_t)C->getSExtValue() == C->getSExtValue()) {
|
||||
if (C->getZExtValue() <= 63) {
|
||||
Result = DAG.getTargetConstant(C->getZExtValue(), Op.getValueType());
|
||||
break;
|
||||
}
|
||||
@ -8476,7 +8476,7 @@ void X86TargetLowering::LowerAsmOperandForConstraint(SDValue Op,
|
||||
return;
|
||||
case 'K':
|
||||
if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Op)) {
|
||||
if (C->getZExtValue() <= 63) {
|
||||
if ((int8_t)C->getSExtValue() == C->getSExtValue()) {
|
||||
Result = DAG.getTargetConstant(C->getZExtValue(), Op.getValueType());
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user