This is an archive of the discontinued LLVM Phabricator instance.

[DebugInfo] Relax test case for long double constants.
ClosedPublic

Authored by dgross on Dec 8 2016, 1:10 PM.

Details

Summary

D27549 (partial fix for PR26619) emits a constant value in the debug
metadata for a floating-point static const that does not exceed 64
bits in size. The regression test accompanying that fix assumes that
a long double exceeds 64 bits in size and hence does not get a
constant value in the debug metadata. However, for some targets --
such as "--target=hexagon-unknown-elf" -- a long double does not
exceed 64 bits in size, and hence the test fails.

As a temporary fix, modify the regression test to no longer inspect
the debug metadata for a long double.

Diff Detail

Repository
rL LLVM

Event Timeline

dgross updated this revision to Diff 80815.Dec 8 2016, 1:10 PM
dgross retitled this revision from to [DebugInfo] Relax test case for long double constants..
dgross updated this object.
dgross added reviewers: cfe-commits, probinson.
pirama accepted this revision.Dec 8 2016, 1:24 PM
pirama added a reviewer: pirama.
This revision is now accepted and ready to land.Dec 8 2016, 1:24 PM
This revision was automatically updated to reflect the committed changes.