aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-diff/lib/DiffConsumer.h
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2025-09-29 08:29:04 +0100
committerGitHub <noreply@github.com>2025-09-29 07:29:04 +0000
commitf84b784dac61d419318ed6598412d197f1e05ee9 (patch)
treea97149c684f9247297e7c7abaf537dfa4d95edd6 /llvm/tools/llvm-diff/lib/DiffConsumer.h
parent3a3a4fb922094c69c4c7bcf1dc1b8a079415f4b2 (diff)
downloadllvm-f84b784dac61d419318ed6598412d197f1e05ee9.zip
llvm-f84b784dac61d419318ed6598412d197f1e05ee9.tar.gz
llvm-f84b784dac61d419318ed6598412d197f1e05ee9.tar.bz2
[X86] LowerShiftByScalarImmediate - move shl(x,1) -> add(freeze(x),freeze(x)) to X86FixupInstTunings (#161007)
Avoid the shl(x,1) -> add(freeze(x),freeze(x)) if the shift-imm if legal, and leave it to X86FixupInstTunings. Helps avoid missed optimisations due to oneuse limits, avoids unnecessary freezes and allows AVX512 to fold to mi memory folding variants. Fixes #161006
Diffstat (limited to 'llvm/tools/llvm-diff/lib/DiffConsumer.h')
0 files changed, 0 insertions, 0 deletions