diff options
author | Min Hsu <min@myhsu.dev> | 2025-03-12 22:57:42 -0700 |
---|---|---|
committer | Min Hsu <min@myhsu.dev> | 2025-03-12 23:03:18 -0700 |
commit | 1d1f2e8c5be319c91fa696e19a6394fca4e16bea (patch) | |
tree | 5f0f70b4d24f4425355492b92bd24dd5cba1e3bb /clang/lib/Serialization/ASTWriterDecl.cpp | |
parent | 6abe19ac587d36edf202830cbbceecfd1a55f191 (diff) | |
download | llvm-1d1f2e8c5be319c91fa696e19a6394fca4e16bea.zip llvm-1d1f2e8c5be319c91fa696e19a6394fca4e16bea.tar.gz llvm-1d1f2e8c5be319c91fa696e19a6394fca4e16bea.tar.bz2 |
[M68k] Implement TLI::convertSelectOfConstantsToMath
This TLI callback shows the preference of other operations over
ISD::SELECT on constant operands. It's essential for M68k because
ISD::SELECT tends to lower into M68kISD::CMOV which is not always ideal.
This fixes #130754, which showed up after 352c48f278c89ac4c65642d3fadf52032e7fe734.
Diffstat (limited to 'clang/lib/Serialization/ASTWriterDecl.cpp')
0 files changed, 0 insertions, 0 deletions