-
Notifications
You must be signed in to change notification settings - Fork 15.4k
[IR] Add a test for f128 libm libcall lowering (NFC)
#148308
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
Conversation
4e92f6d to
b81e4dc
Compare
b81e4dc to
4fc2b26
Compare
`f128` intrinsic functions from libm sometimes lower to `long double` library calls when they instead need to be `f128` versions. Add a generic test demonstrating current behavior.
4fc2b26 to
7e51c6b
Compare
|
@nikic would you mind also reviewing this or requesting somebody reasonable? |
| ; f128 long double. They should be passing with CHECK-F128 rather than | ||
| ; CHECK-USELD. | ||
|
|
||
| ; RUN: %if aarch64-registered-target %{ llc < %s -mtriple=aarch64-unknown-linux-gnu -verify-machineinstrs | FileCheck %s --check-prefixes=CHECK-ALL,CHECK-USELD %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please drop -verify-machineinstrs everywhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated. What does this actually do? Many tests seem to use it, which is where I got it from
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It forces expensive verification outside EXPENSIVE_CHECKS builds. Should not be enabled unless you are specifically fixing an issue that triggers machine verifier errors.
f128intrinsic functions from libm sometimes lower tolong doublelibrary calls when they instead need to bef128versions. Add a generic test demonstrating current behavior.