mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 06:30:39 +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:
parent
e368b460a2
commit
5ff12fc41a
@ -10251,7 +10251,6 @@ void X86TargetLowering::LowerAsmOperandForConstraint(SDValue Op,
|
||||
case 'e': {
|
||||
// 32-bit signed value
|
||||
if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Op)) {
|
||||
const ConstantInt *CI = C->getConstantIntValue();
|
||||
if (ConstantInt::isValueValidForType(Type::getInt32Ty(*DAG.getContext()),
|
||||
C->getSExtValue())) {
|
||||
// Widen to 64 bits here to get it sign extended.
|
||||
@ -10266,7 +10265,6 @@ void X86TargetLowering::LowerAsmOperandForConstraint(SDValue Op,
|
||||
case 'Z': {
|
||||
// 32-bit unsigned value
|
||||
if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Op)) {
|
||||
const ConstantInt *CI = C->getConstantIntValue();
|
||||
if (ConstantInt::isValueValidForType(Type::getInt32Ty(*DAG.getContext()),
|
||||
C->getZExtValue())) {
|
||||
Result = DAG.getTargetConstant(C->getZExtValue(), Op.getValueType());
|
||||
|
Loading…
Reference in New Issue
Block a user