[PATCH] D26767: [AMDGPU] Promote f16/i16 conversions to f32/i32 + custom lower f16 = fp_round f64

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 16 13:50:27 PST 2016


arsenm added inline comments.


================
Comment at: lib/Target/AMDGPU/SIISelLowering.cpp:3664-3668
+  case ISD::BITCAST: {
+    if (N->getValueType(0) == N->getOperand(0).getValueType())
+      return N->getOperand(0);
+    break;
+  }
----------------
This should be very unnecessary


https://reviews.llvm.org/D26767





More information about the llvm-commits mailing list