Make opcode selection code for the load instruction a bit easier
to read and maintain.
This patch also catches number of f16 load variants that were not
handled before.
Paths
| Differential D30513
[NVPTX] Reduce amount of boilerplate code used to select load instruction opcode. ClosedPublic Authored by tra on Mar 1 2017, 3:04 PM.
Details Summary Make opcode selection code for the load instruction a bit easier This patch also catches number of f16 load variants that were not
Diff Detail
Event TimelineComment Actions As I've said before, red *is* my favorite color. :)
Do we want to add tests so we don't regress this?
Comment Actions pickOpcodeForVT now returns Optional<unsigned>. It's also used for all loads/stores now. Comment Actions
Some of these instructions need additional help during lowering, so there's no easy way to emit them now. This revision is now accepted and ready to land.Mar 1 2017, 4:34 PM Closed by commit rL296785: [NVPTX] Reduce amount of boilerplate code used to select load instruction… (authored by tra). · Explain WhyMar 2 2017, 11:26 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 90363 llvm/trunk/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
|