mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Simplify uses of MVT and EVT. An MVT can be compared directly
with a SimpleValueType, while an EVT supports equality and inequality comparisons with SimpleValueType. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118169 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -528,7 +528,7 @@ public:
|
||||
/// to which the flag operand points. Otherwise return NULL.
|
||||
SDNode *getFlaggedNode() const {
|
||||
if (getNumOperands() != 0 &&
|
||||
getOperand(getNumOperands()-1).getValueType().getSimpleVT() == MVT::Flag)
|
||||
getOperand(getNumOperands()-1).getValueType() == MVT::Flag)
|
||||
return getOperand(getNumOperands()-1).getNode();
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user