Skip to content

Commit 2971f5f

Browse files
committed
clean up
1 parent f6abbf7 commit 2971f5f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/Frontend/HLSL/RootSignatureValidations.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,7 @@ bool verifyBorderColor(uint32_t BorderColor) {
181181
bool verifyLOD(float LOD) { return !std::isnan(LOD); }
182182

183183
bool verifyOffsetOverflow(uint64_t Register) {
184-
if (Register > ~0U)
185-
return true;
186-
return false;
184+
return Register > ~0U;
187185
}
188186

189187
bool verifyRegisterOverflow(uint64_t Register, uint32_t NumDescriptors) {

0 commit comments

Comments
 (0)