[llvm-bugs] [Bug 49803] New: `X86 FP Stackifier` pass fails with "Stack empty??" when `llvm.experimental.stackmap` is present
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Apr 1 02:13:22 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=49803
Bug ID: 49803
Summary: `X86 FP Stackifier` pass fails with "Stack empty??"
when `llvm.experimental.stackmap` is present
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: elia.f.geretto at gmail.com
CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
llvm-dev at redking.me.uk, pengfei.wang at intel.com,
spatel+llvm at rotateright.com
Created attachment 24712
--> https://bugs.llvm.org/attachment.cgi?id=24712&action=edit
Minimized reproducer
The following function makes the `X86 FP Stackifier` pass fail with the "Stack
empty??" message. The issue is reproducible on LLVM 11.1 and `main`.
```
define void @fp_func(x86_fp80 %fp_arg) #0 {
entry:
call void (i64, i32, ...) @llvm.experimental.stackmap(i64 0, i32 0)
call void (x86_fp80) @fp_extern_func(x86_fp80 %fp_arg)
ret void
}
```
The issue can be reproduced with the (minimized) bitcode file attached using
the following command:
`llc -O1 fp_test.bc`
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210401/7f3e5b4f/attachment.html>
More information about the llvm-bugs
mailing list