[PATCH] D16869: Fix printing of f16 machine operands

Hal Finkel via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 3 16:22:09 PST 2016


hfinkel added a subscriber: hfinkel.
hfinkel added a comment.

Please include a test case (you'll need to put '; REQUIRES: asserts' in it if you're checking debug output. Maybe, however, you can get the same problem if you use MIR, in which case that would be better.


================
Comment at: MachineInstr.cpp:379
@@ +378,3 @@
+      APFloat APF = getFPImm()->getValueAPF();
+      bool unused;
+      APF.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &unused);
----------------
unused -> Unused


Repository:
  rL LLVM

http://reviews.llvm.org/D16869





More information about the llvm-commits mailing list