diff options
author | Craig Topper <craig.topper@sifive.com> | 2025-08-30 18:27:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-30 18:27:18 -0700 |
commit | f3f717bbfa61600703b3b2149ebdb87fbee2dbac (patch) | |
tree | ee20af3505cd4f354eba9df5a3ed47f9e2818c02 /llvm/test/Instrumentation/HWAddressSanitizer/use-after-scope-setjmp.ll | |
parent | 31c9198ea0f9651b8d18548d4a4bff252680f804 (diff) | |
download | llvm-f3f717bbfa61600703b3b2149ebdb87fbee2dbac.zip llvm-f3f717bbfa61600703b3b2149ebdb87fbee2dbac.tar.gz llvm-f3f717bbfa61600703b3b2149ebdb87fbee2dbac.tar.bz2 |
[RISCV] Add computeKnownBitsForTargetNode for RISCVISD::SRAW. (#156191)
This node reads the lower 32 bits, shifts it right arithmetically
then sign extends to i64. If we know some of the lower 32 bits we
can propagate that information.
For the test case I had to find something that didn't get optimized
before type legalizaton and didn't get type legalized to a sign
extended value. The bswap gets type legalized to (lshr (bswap), 32).
Diffstat (limited to 'llvm/test/Instrumentation/HWAddressSanitizer/use-after-scope-setjmp.ll')
0 files changed, 0 insertions, 0 deletions