mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +00:00
Delete unused variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106280 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -10251,7 +10251,6 @@ void X86TargetLowering::LowerAsmOperandForConstraint(SDValue Op,
|
|||||||
case 'e': {
|
case 'e': {
|
||||||
// 32-bit signed value
|
// 32-bit signed value
|
||||||
if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Op)) {
|
if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Op)) {
|
||||||
const ConstantInt *CI = C->getConstantIntValue();
|
|
||||||
if (ConstantInt::isValueValidForType(Type::getInt32Ty(*DAG.getContext()),
|
if (ConstantInt::isValueValidForType(Type::getInt32Ty(*DAG.getContext()),
|
||||||
C->getSExtValue())) {
|
C->getSExtValue())) {
|
||||||
// Widen to 64 bits here to get it sign extended.
|
// Widen to 64 bits here to get it sign extended.
|
||||||
@@ -10266,7 +10265,6 @@ void X86TargetLowering::LowerAsmOperandForConstraint(SDValue Op,
|
|||||||
case 'Z': {
|
case 'Z': {
|
||||||
// 32-bit unsigned value
|
// 32-bit unsigned value
|
||||||
if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Op)) {
|
if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Op)) {
|
||||||
const ConstantInt *CI = C->getConstantIntValue();
|
|
||||||
if (ConstantInt::isValueValidForType(Type::getInt32Ty(*DAG.getContext()),
|
if (ConstantInt::isValueValidForType(Type::getInt32Ty(*DAG.getContext()),
|
||||||
C->getZExtValue())) {
|
C->getZExtValue())) {
|
||||||
Result = DAG.getTargetConstant(C->getZExtValue(), Op.getValueType());
|
Result = DAG.getTargetConstant(C->getZExtValue(), Op.getValueType());
|
||||||
|
Reference in New Issue
Block a user