bolt/deps/llvm-18.1.8/llvm/test/Bitcode/upgrade-void-ret-attr-11.0.ll

15 lines
267 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; Check upgrade is removing the incompatible attributes on void return type.
; RUN: llvm-dis < %s.bc | FileCheck %s
; CHECK: define void @f()
define align 8 void @f() {
ret void
}
define void @g() {
; CHECK: call void @f()
call align 8 void @f();
ret void
}