aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2025-10-20 17:17:00 -0700
committerGitHub <noreply@github.com>2025-10-21 00:17:00 +0000
commite32f08f4e45f4c39dcd029b32dc0ed3673357656 (patch)
treea64c28ef1bab48ec044c737d15ff61b51f8985c4 /clang/unittests/Format/FormatTestJava.cpp
parentf3805fc187705a322a07ed832f153c442d00d495 (diff)
downloadllvm-e32f08f4e45f4c39dcd029b32dc0ed3673357656.zip
llvm-e32f08f4e45f4c39dcd029b32dc0ed3673357656.tar.gz
llvm-e32f08f4e45f4c39dcd029b32dc0ed3673357656.tar.bz2
[RISCV] Use shiftMaskXLen for one of the BCLR patterns. (#164206)
This allows us to remove AND from the shift amount when DAG combine has replaced (not (shl 1, X)) with (rotl -2, X). SimplifyDemandedBits will often simplify the rotl case on its own, but not if the masked shift amount has multiple users.
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions