-
Notifications
You must be signed in to change notification settings - Fork 14.9k
[Hexagon] Bugfix in VarArg lowering: Special case for musl #157564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
; RUN: llc -mtriple=hexagon-unknown-linux-musl < %s | FileCheck %s -check-prefix=MUSL | ||
; RUN: llc -mtriple=hexagon-unknown-none-elf < %s | FileCheck %s -check-prefix=NONMUSL | ||
Comment on lines
+1
to
+2
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Instead of (or in addition to?) this test, maybe we should add
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have looked into the vararg tests and did not immediately find |
||
|
||
; MUSL-NOT: memw | ||
; NONMUSL: memw | ||
|
||
declare i32 @f0(i32 %a0, ...) | ||
|
||
define i32 @f1(i32 %a0, i32 %a1) #0 { | ||
b1: | ||
%v7 = call i32 (i32, ...) @f0(i32 %a0, i32 %a1) | ||
ret i32 %v7 | ||
} | ||
|
||
attributes #0 = { nounwind } |
Uh oh!
There was an error while loading. Please reload this page.