[llvm] [InstCombine] Avoid infinite loop when negating phi nodes (PR #104581)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 17 00:19:45 PDT 2024
================
@@ -0,0 +1,24 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -S -passes=instcombine < %s | FileCheck %s
+
+target datalayout = "e-m:e-p:64:64-i64:64-i128:128-n32:64-S128"
----------------
dtcxzyw wrote:
Yes. `datalayout` is needed to reproduce this issue: https://godbolt.org/z/7hxP6dx1j
https://github.com/llvm/llvm-project/pull/104581
More information about the llvm-commits
mailing list