There's no neg.f16 instruction, so negation has to be done via subtraction from zero.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D28876
[NVPTX] Fix lowering of fp16 ISD::FNEG. ClosedPublic Authored by tra on Jan 18 2017, 3:44 PM.
Details Summary There's no neg.f16 instruction, so negation has to be done via subtraction from zero.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 18 2017, 4:10 PM Closed by commit rL292452: [NVPTX] Fix lowering of fp16 ISD::FNEG. (authored by tra). · Explain WhyJan 18 2017, 4:25 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 84909 llvm/trunk/lib/Target/NVPTX/NVPTXISelLowering.cpp
llvm/trunk/test/CodeGen/NVPTX/f16-instructions.ll
|