---
 lib/Target/AMDGPU/R600ISelLowering.cpp | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/lib/Target/AMDGPU/R600ISelLowering.cpp 
b/lib/Target/AMDGPU/R600ISelLowering.cpp
index 76cabae..d0711b8 100644
--- a/lib/Target/AMDGPU/R600ISelLowering.cpp
+++ b/lib/Target/AMDGPU/R600ISelLowering.cpp
@@ -719,10 +719,8 @@ SDValue R600TargetLowering::LowerFormalArguments(
 }
 
 EVT R600TargetLowering::getSetCCResultType(EVT VT) const {
-  if (VT.isVector()) {
-    return VT;
-  }
-  return MVT::i32;
+   if (!VT.isVector()) return MVT::i32;
+   return VT.changeVectorElementTypeToInteger();
 }
 
 
//===----------------------------------------------------------------------===//
-- 
1.7.11.7

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to