Issue 150817
Summary [FunctionAttrs] Failure to infer nounwind for function nounwind inline asm
Labels ipo, missed-optimization
Assignees
Reporter nikic
    https://llvm.godbolt.org/z/GbhjKE6Ex
```llvm
; RUN: opt -S -passes=function-attrs < %s
define void @test() {
  call void asm "", ""() nounwind
  ret void
}
```
For some reason `nounwind` does not get inferred, even though the inline asm call is nounwind.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to