[llvm] r210544 - Hexagon: Expand i1 SELECT_CC

Tom Stellard thomas.stellard at amd.com
Tue Jun 10 09:42:41 PDT 2014


Author: tstellar
Date: Tue Jun 10 11:42:41 2014
New Revision: 210544

URL: http://llvm.org/viewvc/llvm-project?rev=210544&view=rev
Log:
Hexagon: Expand i1 SELECT_CC

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.

Modified:
    llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp

Modified: llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp?rev=210544&r1=210543&r2=210544&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp Tue Jun 10 11:42:41 2014
@@ -1326,6 +1326,7 @@ HexagonTargetLowering::HexagonTargetLowe
     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);
 





More information about the llvm-commits mailing list