performAddCombine should run after DAG is legalized; Otherwise generic optimization in the DAGCombiner can optimize an addcarry+trunc into an addcarry instruction with illegal types.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D46337
[AMDGPU] performAddCombine should run after DAG is legalized. ClosedPublic Authored by FarhanaAleen on May 1 2018, 4:08 PM.
Details Summary performAddCombine should run after DAG is legalized; Otherwise generic optimization in the DAGCombiner can optimize an addcarry+trunc into an addcarry instruction with illegal types.
Diff Detail
Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 5 others. · View Herald TranscriptMay 1 2018, 4:08 PM This revision is now accepted and ready to land.May 1 2018, 4:25 PM Closed by commit rL331368: [AMDGPU] performAddCombine should run after DAG is legalized. (authored by faaleen). · Explain WhyMay 2 2018, 9:28 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 144894 llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/trunk/test/CodeGen/AMDGPU/combine-cond-add-sub.ll
|