We should represent the store directly in IR instead. This gives the middle end a chance to remove it if it can see a load from the same address.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D51769
[X86] Change the addcarry and subborrow intrinsics to return 2 results and remove the pointer argument. ClosedPublic Authored by craig.topper on Sep 6 2018, 9:32 PM.
Details Summary We should represent the store directly in IR instead. This gives the middle end a chance to remove it if it can see a load from the same address.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 7 2018, 7:15 AM Closed by commit rL341677: [X86] Change the addcarry and subborrow intrinsics to return 2 results and… (authored by ctopper). · Explain WhySep 7 2018, 10:00 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 164451 llvm/trunk/include/llvm/IR/IntrinsicsX86.td
llvm/trunk/lib/IR/AutoUpgrade.cpp
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
llvm/trunk/lib/Target/X86/X86IntrinsicsInfo.h
llvm/trunk/test/CodeGen/X86/adx-intrinsics-upgrade.ll
llvm/trunk/test/CodeGen/X86/adx-intrinsics.ll
|