diff options
author | Craig Topper <craig.topper@sifive.com> | 2025-09-12 15:29:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-12 15:29:28 -0700 |
commit | 13eecf7f9f42dfded46d8feaa01bc77962d10845 (patch) | |
tree | 972b73e4356ebc732d7dd4ee48b2dde4935a6291 /clang/lib/CodeGen/CodeGenModule.h | |
parent | ba3bce0779fa195867aa804146c2ec24cfaf9976 (diff) | |
download | llvm-13eecf7f9f42dfded46d8feaa01bc77962d10845.zip llvm-13eecf7f9f42dfded46d8feaa01bc77962d10845.tar.gz llvm-13eecf7f9f42dfded46d8feaa01bc77962d10845.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions