[llvm] [ExtendLifetimes] Implement llvm.fake.use to extend variable lifetimes (PR #86149)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 11:56:12 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-ppc64le-linux-test-suite` running on `ppc64le-clang-test-suite` while building `llvm` at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/95/builds/3138

<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 :: CodeGen/MIR/X86/fake-use-tailcall.mir' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 25: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/llc -run-pass=codegenprepare -o - /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/llc -run-pass=codegenprepare -o - /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir:29:15: error: CHECK-NEXT: is not on the line after the previous match
# CHECK-NEXT: call{{.*}}fake.use(i32 %i)
              ^
<stdin>:23:9: note: 'next' match was here
 notail call void (...) @llvm.fake.use(i32 %i)
        ^
<stdin>:12:10: note: previous match ended here
 if.then: ; preds = %entry
         ^
<stdin>:13:1: note: non-matching line after previous match is here
 %call = tail call i32 (...) @f0()
^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir

-dump-input=help explains the following input dump.

Input was:
<<<<<<
         .
         .
         .
        18:  br label %if.end 
        19:   
        20:  if.end: ; preds = %if.else, %if.then 
        21:  %temp.0 = phi i32 [ %call, %if.then ], [ %call1, %if.else ] 
        22:  notail call void (...) @llvm.fake.use(i32 %temp.0) 
        23:  notail call void (...) @llvm.fake.use(i32 %i) 
next:29             !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
        24:  ret i32 %temp.0 
        25:  } 
        26:   
        27:  declare i32 @f0(...) local_unnamed_addr 
        28:   
         .
         .
         .
>>>>>>

--

...

```

</details>

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


More information about the llvm-commits mailing list