[llvm] [SCEV] Fix BinomialCoefficient Iteration to fit in W bits (PR #88010)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 9 13:55:15 PDT 2024


================
@@ -0,0 +1,36 @@
+; RUN: opt -S -passes='print<scalar-evolution>,indvars' -verify-scev < %s | FileCheck %s
+
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:1-p2:32:8:8:32-ni:2"
+target triple = "x86_64-unknown-linux-gnu"
+
+; print<scalar-evolution> is used to compute SCEVs for all values in the
+; function.
----------------
annamthomas wrote:

Ah okay, moved it to Analysis folder. Confirmed that without the change we do crash while trying to print scev. 

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


More information about the llvm-commits mailing list