Fixes https://github.com/llvm/llvm-project/issues/63436
Improves lowering of extending FP vector loads.
Paths
| Differential D153477
[NVPTX] Correctly lower extending loads for fp16 vectors. ClosedPublic Authored by tra on Jun 21 2023, 3:37 PM.
Details Summary Fixes https://github.com/llvm/llvm-project/issues/63436 Improves lowering of extending FP vector loads.
Diff Detail
Event Timelinenirvedhmeshram added inline comments.
Comment Actions Fixed an error in lowering extending vector loads. We were bailing out due to comparing the alignment of *extended* type, instead This revision is now accepted and ready to land.Jun 23 2023, 4:42 AM Closed by commit rG7e5d7d208f5b: [NVPTX] Correctly lower extending loads for fp16 vectors. (authored by tra). · Explain WhyJun 23 2023, 10:46 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 533802 llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
llvm/test/CodeGen/NVPTX/vector-loads.ll
|
I would like to understand how this is safe, since for target nodes we will always get IsSigned = false . Could there be cases where we would actually need a signed convert?