[PATCH] D47426: [AMDGPU] Fixed build warning
Tim Renouf via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 29 01:19:53 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL333397: [AMDGPU] Fixed build warning (authored by tpr, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D47426?vs=148759&id=148855#toc
Repository:
rL LLVM
https://reviews.llvm.org/D47426
Files:
llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp
Index: llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp
===================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp
+++ llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp
@@ -3601,10 +3601,9 @@
// Change from v4f16/v2f16 to EquivLoadVT.
SDVTList VTList = DAG.getVTList(EquivLoadVT, MVT::Other);
- SDValue Load
- = DAG.getMemIntrinsicNode(IsIntrinsic ? ISD::INTRINSIC_W_CHAIN : Opcode, DL,
- VTList, Ops, M->getMemoryVT(),
- M->getMemOperand());
+ SDValue Load = DAG.getMemIntrinsicNode(
+ IsIntrinsic ? (unsigned)ISD::INTRINSIC_W_CHAIN : Opcode,
+ DL, VTList, Ops, M->getMemoryVT(), M->getMemOperand());
SDValue Adjusted = adjustLoadValueTypeImpl(Load, LoadVT, DL, DAG, Unpacked);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47426.148855.patch
Type: text/x-patch
Size: 853 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180529/f3fd4527/attachment.bin>
More information about the llvm-commits
mailing list