[all-commits] [llvm/llvm-project] 13eecf: [RISC] Use hasBEXTILike in useInversedSetcc and sh...
Craig Topper via All-commits
all-commits at lists.llvm.org
Fri Sep 12 15:29:50 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 13eecf7f9f42dfded46d8feaa01bc77962d10845
https://github.com/llvm/llvm-project/commit/13eecf7f9f42dfded46d8feaa01bc77962d10845
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-09-12 (Fri, 12 Sep 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/condops.ll
Log Message:
-----------
[RISC] Use hasBEXTILike in useInversedSetcc and shouldFoldSelectWithSingleBitTest. (#158366)
Add hasVendorXTHeadCondMov to shouldFoldSelectWithSingleBitTest.
The optimizations in these functions is equally applicable to these.
I changed the RUN line for xtheadcondmove in condops.ll to use XTHeadBs
to get coverage of the hasBEXTILike changes. I didn't think it was
worth an additional RUN line and check prefix.
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