aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2024-01-31 14:48:20 -0800
committerGitHub <noreply@github.com>2024-01-31 14:48:20 -0800
commitf264da432207064f4716f81485399ef127b57fd4 (patch)
tree8e0fc6b4c319f686eb11167863f5b549dc735299 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parentdb68e9229b54f1d72c0a4445682718d75e532b5d (diff)
downloadllvm-f264da432207064f4716f81485399ef127b57fd4.zip
llvm-f264da432207064f4716f81485399ef127b57fd4.tar.gz
llvm-f264da432207064f4716f81485399ef127b57fd4.tar.bz2
[lsr][term-fold] Restrict transform to low cost expansions (#74747)
This is a follow up to an item I noted in my submission comment for e947f95. I don't have a real world example where this is triggering unprofitably, but avoiding the transform when we estimate the loop to be short running from profiling seems quite reasonable. It's also now come up as a possibility in a regression twice in two days, so I'd like to get this in to close out the possibility if nothing else. The original review dropped the threshold for short trip count loops. I will return to that in a separate review if this lands.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions