Hexagon: Expand i1 SELECT_CC
authorTom Stellard <thomas.stellard@amd.com>
Tue, 10 Jun 2014 16:42:41 +0000 (16:42 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 10 Jun 2014 16:42:41 +0000 (16:42 +0000)
il is legal for Hexagon, so I should have marked this as Expand for
SELECT_CC when I removed setOperationAction(ISD::SELECT_CC, MVT::Other,
Expand); in r210541.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210544 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Hexagon/HexagonISelLowering.cpp

index 394a552925f165522f605281a2e788c9558712cb..17a6674cf5776a7b438c624cd67e6a4feee85067 100644 (file)
@@ -1326,6 +1326,7 @@ HexagonTargetLowering::HexagonTargetLowering(HexagonTargetMachine
     setOperationAction(ISD::BSWAP, MVT::i64, Expand);
 
     // Lower SELECT_CC to SETCC and SELECT.
+    setOperationAction(ISD::SELECT_CC, MVT::i1,    Expand);
     setOperationAction(ISD::SELECT_CC, MVT::i32,   Expand);
     setOperationAction(ISD::SELECT_CC, MVT::i64,   Expand);