[all-commits] [llvm/llvm-project] 6ff9ca: [RISCV] Don't check isApplicableToPLI for simm12 c...
Craig Topper via All-commits
all-commits at lists.llvm.org
Thu Apr 16 13:31:09 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6ff9ca2f1918e60c7e0dad327541dcbb7ea25ff2
https://github.com/llvm/llvm-project/commit/6ff9ca2f1918e60c7e0dad327541dcbb7ea25ff2
Author: Craig Topper <craig.topper at sifive.com>
Date: 2026-04-16 (Thu, 16 Apr 2026)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
Log Message:
-----------
[RISCV] Don't check isApplicableToPLI for simm12 constants. (#192522)
It won't match except when the constant is -1, which we should use li
for. This avoids an unecessary call for hasAllWUsers in that case.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list