[all-commits] [llvm/llvm-project] a636e9: [RISCV] Teach RISCVOptWInstrs that zext.w is fixab...
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Sep 14 17:05:57 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a636e928c1d63c7eabe140832446f22e360ae001
https://github.com/llvm/llvm-project/commit/a636e928c1d63c7eabe140832446f22e360ae001
Author: Craig Topper <craig.topper at sifive.com>
Date: 2026-09-15 (Tue, 15 Sep 2026)
Changed paths:
M llvm/lib/Target/RISCV/RISCVOptWInstrs.cpp
M llvm/test/CodeGen/RISCV/opt-w-instrs.mir
Log Message:
-----------
[RISCV] Teach RISCVOptWInstrs that zext.w is fixable to sext.w. (#223559)
Note, in some cases erasing the zext.w and fixing an earlier
instruction would be even better but that requires more extensive
changes.
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