[llvm] [Xtensa] Implement lowering SELECT_CC, SETCC. (PR #97017)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 28 02:17:33 PDT 2024
================
@@ -90,6 +90,26 @@ XtensaTargetLowering::XtensaTargetLowering(const TargetMachine &TM,
setOperationAction(ISD::BR_CC, MVT::i64, Expand);
setOperationAction(ISD::BR_CC, MVT::f32, Expand);
+ // Used by legalize types to correctly generate the setcc result.
+ // AddPromotedToType(ISD::SETCC, MVT::i1, MVT::i32);
----------------
arsenm wrote:
Commented out coed
https://github.com/llvm/llvm-project/pull/97017
More information about the llvm-commits
mailing list