enzyme pass drops noinline attribute.
Open
- Dominant language
- LLVM
- Stars
- 1.7k
- Forks
- 188
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 26
Description
https://fwd.gymni.ch/ft8pz0
The call to `__enzyme_autodiff` has a callsite debug metadata saying noinline.
This get's dropped by enzyme, so the final call is inlineable.
Now we get the following error:
```
inlinable function call in a function with debug info must have a !dbg location
call void @diffegpt2_forward(ptr %0, ptr %1, ptr %2, ptr %3, ptr %4, i64 4, i64 64, ptr %5, ptr %6)
LLVM ERROR: Broken module found, compilation aborted!
```
I have another compilation pipeline which doesn't encounter this issue, but generally, should Enzyme drop this info?
Contributor guide
Assessment
This issue has not been assessed yet.