We don't have sign-/zero-extending ldg/ldu instructions defined,
so we need to emulate them with explicit CVTs. We were originally
handling the i8 case, but not any other cases.
Fixes PR26185
Paths
| Differential D19615
[NVPTX] Fix sign/zero-extending ldg/ldu instruction selection ClosedPublic Authored by jholewinski on Apr 27 2016, 1:40 PM.
Details Summary We don't have sign-/zero-extending ldg/ldu instructions defined, Fixes PR26185
Diff Detail Event Timelinejholewinski retitled this revision from to [NVPTX] Fix sign/zero-extending ldg/ldu instruction selection. jholewinski updated this object. Comment Actions Awesome! Thanks Justin.
jholewinski edited edge metadata. Comment ActionsRefactor opcode selection into utility function and add test case This revision is now accepted and ready to land.Apr 28 2016, 1:17 PM Closed by commit rL268272: [NVPTX] Fix sign/zero-extending ldg/ldu instruction selection (authored by jholewinski). · Explain WhyMay 2 2016, 11:18 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 55470 lib/Target/NVPTX/NVPTXISelDAGToDAG.h
lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
lib/Target/NVPTX/NVPTXInstrInfo.td
test/CodeGen/NVPTX/bug26185-2.ll
|
Is this method static?