[llvm] Use static_assert instead of assert (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 23 Jan 2021 07:25:05 +0000 (23:25 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 23 Jan 2021 07:25:05 +0000 (23:25 -0800)
commit49231c1f80803ae0f15963cce708cedf6e44088f
tree57ae45555f6ab4f3bd3d6110b2927495ad35ff68
parent5f843b2dd2ee1f36162a861ef02b2b4bc4dc79b7
[llvm] Use static_assert instead of assert (NFC)

Identified with misc-static-assert.
llvm/include/llvm/IR/InstrTypes.h
llvm/lib/Object/XCOFFObjectFile.cpp
llvm/lib/Support/SHA1.cpp
llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
llvm/lib/Target/X86/X86InsertPrefetch.cpp
llvm/utils/TableGen/X86DisassemblerTables.cpp