[llvm] [llvm][LSR] Fix where invariant on ScaledReg & Scale is violated (PR #112576)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 00:28:44 PDT 2024


================
@@ -0,0 +1,29 @@
+; Reduced from https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65323 by @RKSimon
+;
+; RUN: opt -S -passes=loop-reduce %s
+;
+; Make sure we don't trigger an assertion.
+
+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"
+target triple = "x86_64-unknown-linux-gnu"
----------------
nikic wrote:

This needs to be in the X86 subdirectory.

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


More information about the llvm-commits mailing list