R600: Don't set fp_round_inreg action.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 23 Jun 2014 18:00:41 +0000 (18:00 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 23 Jun 2014 18:00:41 +0000 (18:00 +0000)
There's no point in setting this since it seems to only
by created in 1 place for ppcf128

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211515 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/R600/AMDILISelLowering.cpp

index fa48e65be4e6f424889dc0fbce515395096fb1d7..261c992683d2acb7e215dd4a0932767c1e2b2687 100644 (file)
@@ -33,11 +33,6 @@ void AMDGPUTargetLowering::InitAMDILLowering() {
     MVT::v2i32
   };
 
-  static const MVT::SimpleValueType FloatTypes[] = {
-    MVT::f32,
-    MVT::f64
-  };
-
   static const MVT::SimpleValueType VectorTypes[] = {
     MVT::v4f32,
     MVT::v4i32,
@@ -57,10 +52,6 @@ void AMDGPUTargetLowering::InitAMDILLowering() {
     setOperationAction(ISD::BRIND, VT, Expand);
   }
 
-  for (MVT VT : FloatTypes) {
-    setOperationAction(ISD::FP_ROUND_INREG, VT, Expand);
-  }
-
   for (MVT VT : VectorTypes) {
     setOperationAction(ISD::VECTOR_SHUFFLE, VT, Expand);
     setOperationAction(ISD::SELECT_CC, VT, Expand);