summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WebAssembly/function-info.mir
diff options
context:
space:
mode:
authorWenlei He <aktoon@gmail.com>2019-08-11 06:05:35 +0000
committerWenlei He <aktoon@gmail.com>2019-08-11 06:05:35 +0000
commit7e71aa24bc0788690fea7f0d7eab400c6a784deb (patch)
tree4ea81a9f29b5cb2b8f2d69c254bd91e76cd4edbd /llvm/test/CodeGen/WebAssembly/function-info.mir
parentd664072dd5ec60a7ef944ad1de90b5b8761f003e (diff)
downloadbcm5719-llvm-7e71aa24bc0788690fea7f0d7eab400c6a784deb.tar.gz
bcm5719-llvm-7e71aa24bc0788690fea7f0d7eab400c6a784deb.zip
[LICM] Make Loop ICM profile aware
Summary: Hoisting/sinking instruction out of a loop isn't always beneficial. Hoisting an instruction from a cold block inside a loop body out of the loop could hurt performance. This change makes Loop ICM profile aware - it now checks block frequency to make sure hoisting/sinking anly moves instruction to colder block. Test Plan: ninja check Reviewers: asbirlea, sanjoy, reames, nikic, hfinkel, vsk Reviewed By: asbirlea Subscribers: fhahn, vsk, davidxl, xbolva00, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65060 llvm-svn: 368526
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/function-info.mir')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud