[PATCH] D19790: AMDGPU: Add support for MCExpr to instruction printer

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri May 6 17:13:05 PDT 2016


arsenm added inline comments.

================
Comment at: lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp:608-609
@@ +607,4 @@
+  if (Op.isImm()) {
+    int64_t Imm = Op.getImm();
+    O << Imm << '(' << BitsToFloat(Imm) << ')';
+  }
----------------
That's not happening anyway, because there is the implicit cast in the BitsToFloat call


Repository:
  rL LLVM

http://reviews.llvm.org/D19790





More information about the llvm-commits mailing list