[all-commits] [llvm/llvm-project] 1d1f2e: [M68k] Implement TLI::convertSelectOfConstantsToMath
Min-Yih Hsu via All-commits
all-commits at lists.llvm.org
Wed Mar 12 23:16:58 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1d1f2e8c5be319c91fa696e19a6394fca4e16bea
https://github.com/llvm/llvm-project/commit/1d1f2e8c5be319c91fa696e19a6394fca4e16bea
Author: Min Hsu <min at myhsu.dev>
Date: 2025-03-12 (Wed, 12 Mar 2025)
Changed paths:
M llvm/lib/Target/M68k/M68kISelLowering.h
Log Message:
-----------
[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.
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