[PATCH] D16456: AMDGPU: Remove old sample intrinsics

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 22 17:12:22 PST 2016


nhaehnle added a subscriber: nhaehnle.

================
Comment at: lib/Target/AMDGPU/SIISelLowering.cpp:1369-1376
@@ -1368,10 +1368,2 @@
   }
-  case AMDGPUIntrinsic::SI_sample:
-    return LowerSampleIntrinsic(AMDGPUISD::SAMPLE, Op, DAG);
-  case AMDGPUIntrinsic::SI_sampleb:
-    return LowerSampleIntrinsic(AMDGPUISD::SAMPLEB, Op, DAG);
-  case AMDGPUIntrinsic::SI_sampled:
-    return LowerSampleIntrinsic(AMDGPUISD::SAMPLED, Op, DAG);
-  case AMDGPUIntrinsic::SI_samplel:
-    return LowerSampleIntrinsic(AMDGPUISD::SAMPLEL, Op, DAG);
   case AMDGPUIntrinsic::SI_vs_load_input:
----------------
The method LowerSampleIntrinsic can now be removed, right?


http://reviews.llvm.org/D16456





More information about the llvm-commits mailing list