Skip to content

Commit cc885d0

Browse files
committed
one more nit
1 parent 5bbfc7f commit cc885d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/DirectX/DXILShaderFlags.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ static bool checkWaveOps(Intrinsic::ID IID) {
105105
// This is our proof that the module requires TiledResources
106106
// to be set, as if check access fully mapped was used.
107107
bool checkIfStatusIsExtracted(const IntrinsicInst &II) {
108-
auto IID = II.getIntrinsicID();
108+
[[maybe_unused]] Intrinsic::ID IID = II.getIntrinsicID();
109109
assert(IID == Intrinsic::dx_resource_load_typedbuffer ||
110110
IID == Intrinsic::dx_resource_load_rawbuffer &&
111111
"unexpected intrinsic ID, only dx_resource_load_typedbuffer and "

0 commit comments

Comments
 (0)