mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-30 16:34:03 +00:00
Fix copy paste error
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211003 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3c11f69001
commit
f9ef37a986
@ -354,7 +354,7 @@ MVT AMDGPUTargetLowering::getVectorIdxTy() const {
|
||||
// FIXME: Why are we reporting vectors of FP immediates as legal?
|
||||
bool AMDGPUTargetLowering::isFPImmLegal(const APFloat &Imm, EVT VT) const {
|
||||
EVT ScalarVT = VT.getScalarType();
|
||||
return (ScalarVT == MVT::f32 || MVT::f64);
|
||||
return (ScalarVT == MVT::f32 || ScalarVT == MVT::f64);
|
||||
}
|
||||
|
||||
// We don't want to shrink f64 / f32 constants.
|
||||
|
Loading…
Reference in New Issue
Block a user