summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86CallingConv.cpp
diff options
context:
space:
mode:
authorSerguei Katkov <serguei.katkov@azul.com>2017-07-11 06:24:44 +0000
committerSerguei Katkov <serguei.katkov@azul.com>2017-07-11 06:24:44 +0000
commit0b7b59ada33abb48d5b992ddae0fc8ddca0232fa (patch)
tree91f73e71d5eaee09a4264e6411603d3e862feff1 /llvm/lib/Target/X86/X86CallingConv.cpp
parent3606ebf6d6fd9c6435686b2fbe021a2284ce9ef1 (diff)
downloadbcm5719-llvm-0b7b59ada33abb48d5b992ddae0fc8ddca0232fa.tar.gz
bcm5719-llvm-0b7b59ada33abb48d5b992ddae0fc8ddca0232fa.zip
[CGP] Relax a bit restriction for optimizeMemoryInst to extend scope
CodeGenPrepare::optimizeMemoryInst contains a check that we do nothing if all instructions combining the address for memory instruction is in the same block as memory instruction itself. However if any of these instruction are placed after memory instruction then address calculation will not be folded to memory instruction. The added test case shows an example. Reviewers: loladiro, spatel, efriedma Reviewed By: efriedma Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D34862 llvm-svn: 307628
Diffstat (limited to 'llvm/lib/Target/X86/X86CallingConv.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud