LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 15025 - Target-independent tests should not specify a triple.
Summary: Target-independent tests should not specify a triple.
Status: NEW
Alias: None
Product: libraries
Classification: Unclassified
Component: Common Code Generator Code (show other bugs)
Version: trunk
Hardware: PC All
: P enhancement
Assignee: Unassigned LLVM Bugs
URL:
Keywords:
Depends on:
Blocks: 15026
  Show dependency tree
 
Reported: 2013-01-21 16:52 PST by Andrew Trick
Modified: 2020-09-22 08:14 PDT (History)
5 users (show)

See Also:
Fixed By Commit(s):


Attachments
List of supposedly target independent tests with a target triple. (34.07 KB, application/octet-stream)
2013-01-21 16:52 PST, Andrew Trick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Trick 2013-01-21 16:52:22 PST
Created attachment 9905 [details]
List of supposedly target independent tests with a target triple.

Lit tests that require a triple should be moved into a platform directory so that they will be skipped by compilers that don't include the necessary back end. Tests that don't require a triple should not specify one so that any compiler can run them with deterministic behavior.

The attached triple-tests.lst lists the test cases that require cleanup.
Comment 1 Andrew Trick 2013-01-21 17:00:46 PST
The challenge here is to ensure the original intent of the test is preserved. I can certainly try to cleanup LSR tests as a visit them, but there are a lot of violations. This looks like a long-term group effort to me.