From 04af18f75192c4b9bc6d45fd247789fe7ed4aace Mon Sep 17 00:00:00 2001 From: XLS Team Date: Wed, 19 Jun 2024 07:13:08 -0700 Subject: [PATCH] Integrate LLVM at llvm/llvm-project@99c43e3ce314 Updates LLVM usage to match [99c43e3ce314](https://github.com/llvm/llvm-project/commit/99c43e3ce314) PiperOrigin-RevId: 644739615 --- xls/contrib/xlscc/synth_only/xls_int.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xls/contrib/xlscc/synth_only/xls_int.h b/xls/contrib/xlscc/synth_only/xls_int.h index eddcf5294d..6ce1c15bde 100644 --- a/xls/contrib/xlscc/synth_only/xls_int.h +++ b/xls/contrib/xlscc/synth_only/xls_int.h @@ -32,11 +32,11 @@ namespace { template static const int Log2Floor = (rem <= 1) ? 0 : (1 + Log2Floor); template <> -static const int Log2Floor<0> = 0; +const int Log2Floor<0> = 0; template static const int Log2Ceil = Log2Floor + (((1 << Log2Floor) == n) ? 0 : 1); template <> -static const int Log2Ceil<1> = 1; +const int Log2Ceil<1> = 1; static_assert(Log2Ceil<1> == 1); static_assert(Log2Ceil<2> == 1);