[llvm] [SandboxIR][Bench] SandboxIR creation (PR #108278)

Alina Sbirlea via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 15:15:28 PDT 2024


================
@@ -89,6 +89,31 @@ static std::string generateBBWalkIR(unsigned Size) {
   return SS.str();
 }
 
+template <IR IRTy> static void SBoxIRCreation(benchmark::State &State) {
+  static_assert(IRTy != IR::LLVM, "Expected SBox and SBoxTr");
----------------
alinas wrote:

Update the assert message.

https://github.com/llvm/llvm-project/pull/108278


More information about the llvm-commits mailing list