forked from OSchip/llvm-project
AMDGPU: Remove unnecessary check
There are no scalar FP types that can be extended. llvm-svn: 292816
This commit is contained in:
parent
cb253ce90b
commit
78916e17ea
|
@ -1888,9 +1888,6 @@ MVT SITargetLowering::getScalarShiftAmountTy(const DataLayout &, EVT VT) const {
|
|||
bool SITargetLowering::isFMAFasterThanFMulAndFAdd(EVT VT) const {
|
||||
VT = VT.getScalarType();
|
||||
|
||||
if (!VT.isSimple())
|
||||
return false;
|
||||
|
||||
switch (VT.getSimpleVT().SimpleTy) {
|
||||
case MVT::f32:
|
||||
// This is as fast on some subtargets. However, we always have full rate f32
|
||||
|
|
Loading…
Reference in New Issue