[PATCH] Early expansion of MUX instructions on Hexagon

Eric Christopher echristo at gmail.com
Wed Mar 25 13:10:29 PDT 2015


Inline comment.


REPOSITORY
  rL LLVM

================
Comment at: lib/Target/Hexagon/HexagonExpandCondsets.cpp:88
@@ +87,3 @@
+        MachineFunctionPass(ID), HTM(TM),
+        TII(*HTM.getSubtargetImpl()->getInstrInfo()),
+        TRI(*HTM.getSubtargetImpl()->getRegisterInfo()),
----------------
This is a MachineFunction pass. In runOnMachineFunction you can set these variables. Just look at how the other MachineFunction passes do it.

http://reviews.llvm.org/D8329

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list