This is an archive of the discontinued LLVM Phabricator instance.

[x86] Front-end part of MCU psABI support
ClosedPublic

Authored by andreybokhanko on Oct 30 2015, 8:41 AM.

Details

Summary

This patch implements front-end parts of MCU psABI (https://docs.google.com/viewer?a=v&pid=sites&srcid=ZGVmYXVsdGRvbWFpbnx4MzJhYml8Z3g6NzFhMGYzMjUzZDQzODllMw) support:

  1. "long double type is the same as double."
  2. "New predefined C/C++ pre-processor symbols: iamcu and iamcu__.

Diff Detail

Repository
rL LLVM

Event Timeline

andreybokhanko retitled this revision from to [x86] Front-end part of MCU psABI support.
andreybokhanko updated this object.
andreybokhanko added a subscriber: cfe-commits.
mkuper accepted this revision.Nov 1 2015, 1:40 AM
mkuper edited edge metadata.

LGTM

lib/Basic/Targets.cpp
2327 ↗(On Diff #38814)

Do you know if we should also change this to be 0?

This revision is now accepted and ready to land.Nov 1 2015, 1:40 AM
This revision was automatically updated to reflect the committed changes.

Michael,

Thanks for the review!

As for your comment, I will investigate and fix (if needed).

Andrey

lib/Basic/Targets.cpp
2327 ↗(On Diff #38814)

Good catch.

Let me investigate and change (if needed) in another patch.