AMDGPU: Remove unnecessary check

There are no scalar FP types that can be extended.

llvm-svn: 292816
This commit is contained in:
Matt Arsenault 2017-01-23 19:00:15 +00:00
parent cb253ce90b
commit 78916e17ea
1 changed files with 0 additions and 3 deletions

View File

@ -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