[PATCH] Enable the instruction printer in HexagonMCTargetDesc

Shankar Kalpathi Easwaran shankarke at gmail.com
Thu Oct 16 19:40:44 PDT 2014


================
Comment at: lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.cpp:42-43
@@ +41,4 @@
+    return -1U << (bits - 1);
+  else
+    return 0;
+}
----------------
remove else.

================
Comment at: lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.cpp:56-57
@@ +55,4 @@
+    return ~(-1U << (bits - 1));
+  else
+    return ~(-1U << bits);
+}
----------------
same as above comment.

http://reviews.llvm.org/D5734






More information about the llvm-commits mailing list