Skip to content

Commit 9298670

Browse files
committed
lcb: Fixed SETCC
1 parent ae24723 commit 9298670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vadl/main/resources/templates/lcb/llvm/lib/Target/ISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ void [(${namespace})]TargetLowering::anchor() {}
4040
setOperationAction(ISD::VACOPY, MVT::Other, Expand);
4141
setOperationAction(ISD::VAEND, MVT::Other, Expand);
4242
setOperationAction(ISD::SELECT, MVT::[(${stackPointerType})], Custom);
43-
setOperationAction(ISD::SETCC, MVT::[(${stackPointerType})], Expand);
4443
setOperationAction(ISD::SMUL_LOHI, MVT::i32, Expand);
4544
setOperationAction(ISD::UMUL_LOHI, MVT::i32, Expand);
4645
for (auto VT : {MVT::i1, MVT::i8, MVT::i16, MVT::i32}) {
@@ -63,6 +62,7 @@ void [(${namespace})]TargetLowering::anchor() {}
6362
setOperationAction(ISD::BRCOND, MVT::Other, Expand);
6463
setOperationAction(ISD::BR_CC, MVT::[(${stackPointerType})], Custom);
6564
setOperationAction(ISD::SELECT_CC, MVT::[(${stackPointerType})], Custom);
65+
setOperationAction(ISD::SETCC, MVT::[(${stackPointerType})], Expand);
6666
[/th:block]
6767
[#th:block th:if="${!mergedCmpAndBranch}"]
6868
setOperationAction(ISD::SELECT_CC, MVT::[(${stackPointerType})], Expand);

0 commit comments

Comments
 (0)