mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
R600/SI: Remove redundant setting expand on f64 vectors
None of these are legal types already, so they default to Expand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225728 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
80840b5c45
commit
549b6dbbb7
@ -203,13 +203,6 @@ SITargetLowering::SITargetLowering(TargetMachine &TM) :
|
||||
}
|
||||
}
|
||||
|
||||
for (int I = MVT::v1f64; I <= MVT::v8f64; ++I) {
|
||||
MVT::SimpleValueType VT = static_cast<MVT::SimpleValueType>(I);
|
||||
setOperationAction(ISD::FTRUNC, VT, Expand);
|
||||
setOperationAction(ISD::FCEIL, VT, Expand);
|
||||
setOperationAction(ISD::FFLOOR, VT, Expand);
|
||||
}
|
||||
|
||||
if (Subtarget->getGeneration() >= AMDGPUSubtarget::SEA_ISLANDS) {
|
||||
setOperationAction(ISD::FTRUNC, MVT::f64, Legal);
|
||||
setOperationAction(ISD::FCEIL, MVT::f64, Legal);
|
||||
|
Loading…
Reference in New Issue
Block a user