aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorRuhung <143302514+Ruhung@users.noreply.github.com>2025-01-12 23:51:58 +0800
committerGitHub <noreply@github.com>2025-01-12 16:51:58 +0100
commit4f7dc1b55ae5b8ed1a36dd941ef4f9920bfdac8d (patch)
tree38c75840888b1385af7df8bbdbb227ee246ad75b /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parent0d352b2ea767e043b47d78bfdbd6820356628314 (diff)
downloadllvm-4f7dc1b55ae5b8ed1a36dd941ef4f9920bfdac8d.zip
llvm-4f7dc1b55ae5b8ed1a36dd941ef4f9920bfdac8d.tar.gz
llvm-4f7dc1b55ae5b8ed1a36dd941ef4f9920bfdac8d.tar.bz2
[InstCombine] Fold (add (add A, 1), (sext (icmp ne A, 0))) to call umax(A, 1) (#122491)
Transform (add (add A, 1), (sext (icmp ne A, 0))) into call umax(A, 1). Fixes #121853. Alive2: https://alive2.llvm.org/ce/z/TweTan
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions