mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Simplify the expression for TargetLowering::isTypeLegal.
llvm-svn: 37732
This commit is contained in:
parent
94432fe813
commit
fb8c9beba3
@ -130,9 +130,7 @@ public:
|
||||
/// specified value type. This means that it has a register that directly
|
||||
/// holds it without promotions or expansions.
|
||||
bool isTypeLegal(MVT::ValueType VT) const {
|
||||
return !MVT::isExtendedValueType(VT) ?
|
||||
RegClassForVT[VT] != 0 :
|
||||
false;
|
||||
return !MVT::isExtendedValueType(VT) && RegClassForVT[VT] != 0;
|
||||
}
|
||||
|
||||
class ValueTypeActionImpl {
|
||||
|
Loading…
Reference in New Issue
Block a user