summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/calling-conventions.3.2.ll.bc
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2014-10-12 10:52:55 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2014-10-12 10:52:55 +0000
commit77ac26d27989bd8e949cb4464c6f98a23965516b (patch)
tree845d92befdbeeb9c76171a539cb295b2effeb614 /llvm/test/Bitcode/calling-conventions.3.2.ll.bc
parent27adb1240f79246ff187d2776bfedf88356b6e42 (diff)
downloadbcm5719-llvm-77ac26d27989bd8e949cb4464c6f98a23965516b.tar.gz
bcm5719-llvm-77ac26d27989bd8e949cb4464c6f98a23965516b.zip
[X86] Memory folding for commutative instructions.
This patch improves support for commutative instructions in the x86 memory folding implementation by attempting to fold a commuted version of the instruction if the original folding fails - if that folding fails as well the instruction is 're-commuted' back to its original order before returning. This mainly helps the stack inliner better fold reloads of 3 (or more) operand instructions (VEX encoded SSE etc.) but by performing this in the lowest foldMemoryOperandImpl implementation it also replaces the X86InstrInfo::optimizeLoadInstr version and is now used by FastISel too. Differential Revision: http://reviews.llvm.org/D5701 llvm-svn: 219584
Diffstat (limited to 'llvm/test/Bitcode/calling-conventions.3.2.ll.bc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud