mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-25 23:45:36 +00:00
[AMDGPU] Add intrinsics for tbuffer load and store - build error fix
Variable was unused in non-debug build (used in assert) causing compile time warning and eventual build failure git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306034 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ea114fd519
commit
9066575ebe
@ -3551,8 +3551,7 @@ SDValue SITargetLowering::LowerINTRINSIC_VOID(SDValue Op,
|
||||
Op.getOperand(13), // slc
|
||||
};
|
||||
|
||||
const ConstantSDNode *tfe = cast<ConstantSDNode>(Op.getOperand(14));
|
||||
assert(tfe->getZExtValue() == 0 &&
|
||||
assert((cast<ConstantSDNode>(Op.getOperand(14)))->getZExtValue() == 0 &&
|
||||
"Value of tfe other than zero is unsupported");
|
||||
|
||||
EVT VT = Op.getOperand(3).getValueType();
|
||||
|
Loading…
x
Reference in New Issue
Block a user