[clang] [llvm] Revert "[InstCombine] Infer nuw for gep inbounds from base of object" (PR #120460)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 18 10:14:52 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `clang,llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/14271
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/excessive-unrolling.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt -passes='default<O3>' -unroll-runtime -S /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/excessive-unrolling.ll | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/excessive-unrolling.ll
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/excessive-unrolling.ll
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt '-passes=default<O3>' -unroll-runtime -S /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/excessive-unrolling.ll
[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/excessive-unrolling.ll:182:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m; CHECK-NEXT: [[TMP0:%.*]] = getelementptr inbounds [58 x double], ptr @b, i64 0, i64 [[INDEX]]
[0;1;32m ^
[0m[1m<stdin>:156:67: [0m[0;1;30mnote: [0m[1mscanning from here
[0m %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
[0;1;32m ^
[0m[1m<stdin>:156:67: [0m[0;1;30mnote: [0m[1mwith "INDEX" equal to "%index"
[0m %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
[0;1;32m ^
[0m[1m<stdin>:157:2: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m %0 = getelementptr inbounds nuw [58 x double], ptr @b, i64 0, i64 %index
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/excessive-unrolling.ll
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m; ModuleID = '/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/excessive-unrolling.ll' [0m
[0;1;30m 2: [0m[1m[0;1;46msource_filename = "/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/excessive-unrolling.ll" [0m
[0;1;30m 3: [0m[1m[0;1;46mtarget datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" [0m
[0;1;30m 4: [0m[1m[0;1;46mtarget triple = "x86_64-apple-macosx" [0m
[0;1;30m 5: [0m[1m[0;1;46m [0m
[0;1;30m 6: [0m[1m[0;1;46m at b = local_unnamed_addr global [58 x double] zeroinitializer, align 16 [0m
[0;1;30m 7: [0m[1m[0;1;46m at c = local_unnamed_addr global [58 x double] zeroinitializer, align 16 [0m
[0;1;30m 8: [0m[1m[0;1;46m at a = local_unnamed_addr global [58 x double] zeroinitializer, align 16 [0m
[0;1;30m 9: [0m[1m[0;1;46m [0m
[0;1;30m 10: [0m[1m[0;1;46m; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, argmem: none, inaccessiblemem: none) [0m
[0;1;30m 11: [0m[1m[0;1;46mdefine void [0m at test_known_trip_count([0;1;46m) local_unnamed_addr #0 { [0m
[0;1;32mlabel:13'0 ^~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32mlabel:13'1 ^~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 12: [0m[1m[0;1;46m[0mentry:[0;1;46m [0m
[0;1;32mnext:14 ^~~~~~
[0m[0;1;30m 13: [0m[1m[0;1;46m [0m%wide.load = load <2 x double>, ptr @b, align 16[0;1;46m [0m
[0;1;32mnext:15'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32mnext:15'1 ^~~~~~~~~~ captured var "WIDE_LOAD"
[0m[0;1;30m 14: [0m[1m[0;1;46m [0m%wide.load3 = load <2 x double>, ptr getelementptr inbounds nuw (i8, ptr @b, i64 16), align 16[0;1;46m [0m
[0;1;32mnext:16'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32mnext:16'1 ^~~~~~~~~~~ captured var "WIDE_LOAD3"
[0m[0;1;30m 15: [0m[1m[0;1;46m [0m%wide.load4 = load <2 x double>, ptr @c, align 16[0;1;46m [0m
...
```
</details>
https://github.com/llvm/llvm-project/pull/120460
More information about the cfe-commits
mailing list