[PATCH] D142444: [IPSCCP][FuncSpec] Fix compiler crash 60191.
Joseph Huber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 24 05:55:00 PST 2023
jhuber6 added a subscriber: arsenm.
jhuber6 added inline comments.
================
Comment at: llvm/test/Transforms/FunctionSpecialization/compiler-crash-60191.ll:1
+; RUN: opt -S -mtriple=amdgcn-amd-amdhsa --passes="default<O3>" < %s
+
----------------
labrinea wrote:
> nikic wrote:
> > Can you avoid the triple in the test?
> >
> > Also, is it possible to reduce the test such that it only requires running ipsccp, and not the whole opt pipeline?
> I couldn't get the compiler crash without the triple, or if I further reduced the test. I'll try harder. If I change the pass to "ipsccp<func-spec>" or just "ipsccp" (func-spec is implied by default) the test will still crash.
The fact that this crashes only on `amdgcn-amd-amdhsa` is weird, see https://godbolt.org/z/1h1fdPs4c. @arsenm, do you have any idea what it could be? It works fine with `nvptx64-nvidia-cuda` FWIW.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142444/new/
https://reviews.llvm.org/D142444
More information about the llvm-commits
mailing list