If one of the arguments of adde/sube is zero we can fold another add/sub into it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D34374
[AMDGPU] Combine add and adde, sub and sube ClosedPublic Authored by rampitec on Jun 19 2017, 5:14 PM.
Details Summary If one of the arguments of adde/sube is zero we can fold another add/sub into it.
Diff Detail
Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 4 others. · View Herald TranscriptJun 19 2017, 5:14 PM rampitec added a parent revision: D34300: [AMDGPU] simplify add x, *ext (setcc) => addc|subb x, 0, setcc.Jun 19 2017, 5:14 PM This revision is now accepted and ready to land.Jun 20 2017, 3:31 AM Closed by commit rL305964: [AMDGPU] Combine add and adde, sub and sube (authored by rampitec). · Explain WhyJun 21 2017, 3:30 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 103126 lib/Target/AMDGPU/SIISelLowering.h
lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/combine-cond-add-sub.ll
|