improve cygwin compatibility, patch by Sam Bishop
authorChris Lattner <sabre@nondot.org>
Sat, 12 Jan 2008 22:54:07 +0000 (22:54 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 12 Jan 2008 22:54:07 +0000 (22:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45917 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/CellSPU/SPUISelLowering.cpp

index 706eea90ec7167fd2c61eee511f0edc44d445092..ed6dfe069ef90fd1f750cdac02e6601767e6c5b9 100644 (file)
@@ -453,7 +453,7 @@ static SDOperand
 AlignedLoad(SDOperand Op, SelectionDAG &DAG, const SPUSubtarget *ST,
             LSBaseSDNode *LSN,
             unsigned &alignment, int &alignOffs, int &prefSlotOffs,
-            unsigned &VT, bool &was16aligned)
+            MVT::ValueType &VT, bool &was16aligned)
 {
   MVT::ValueType PtrVT = DAG.getTargetLoweringInfo().getPointerTy();
   const valtype_map_s *vtm = getValueTypeMapEntry(VT);