This is an archive of the discontinued LLVM Phabricator instance.

Add NaCl (a target where long double = double) to long double ABI test
ClosedPublic

Authored by dschuff on Aug 10 2015, 3:39 PM.

Details

Summary

A test was recently (r244468) added to cover long double calling convention
codegen, distinguishing between Android and GNU conventions (where long doubles
are fp128 and x86_fp80, respectively). Native Client is a target where long
doubles are the same as doubles. This change augments the test to cover
that case.

Diff Detail

Event Timeline

dschuff updated this revision to Diff 31740.Aug 10 2015, 3:39 PM
dschuff retitled this revision from to Add NaCl (a target where long double = double) to long double ABI test.
dschuff updated this object.
dschuff added reviewers: rnk, chh, majnemer, echristo.
dschuff added a subscriber: cfe-commits.

Should this test be renamed to x86_longdouble.c or some such instead of fp128?

rnk accepted this revision.Aug 10 2015, 3:44 PM
rnk edited edge metadata.

lgtm

Should this test be renamed to x86_longdouble.c or some such instead of fp128?

Yeah, x86_64-longdouble.c is probably better.

This revision is now accepted and ready to land.Aug 10 2015, 3:44 PM
dschuff updated this revision to Diff 31741.Aug 10 2015, 3:49 PM
dschuff edited edge metadata.
  • rename to x86_64-longdouble.c
This revision was automatically updated to reflect the committed changes.
chh edited edge metadata.Aug 10 2015, 4:03 PM

Please rebase the change to r244502 or newer, to run with -Asserts builds.
Thanks.

In D11921#221172, @chh wrote:

Please rebase the change to r244502 or newer, to run with -Asserts builds.

Did that; Not sure it's reflected on Phabricator, but I did check the diff.
Thanks!