llvm: never_tail implies never_inline, so set noinline in this case too.
This commit is contained in:
@@ -5191,8 +5191,8 @@ pub const FuncGen = struct {
|
||||
}
|
||||
|
||||
switch (modifier) {
|
||||
.auto, .never_tail, .always_tail => {},
|
||||
.never_inline => try attributes.addFnAttr(.@"noinline", &o.builder),
|
||||
.auto, .always_tail => {},
|
||||
.never_tail, .never_inline => try attributes.addFnAttr(.@"noinline", &o.builder),
|
||||
.async_kw, .no_async, .always_inline, .compile_time => unreachable,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user