Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | X86: Do not use llc -march in tests. | Matthias Braun | 2017-08-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | `llc -march` is problematic because it only switches the target architecture, but leaves the operating system unchanged. This occasionally leads to indeterministic tests because the OS from LLVM_DEFAULT_TARGET_TRIPLE is used. However we can simply always use `llc -mtriple` instead. This changes all the tests to do this to avoid people using -march when they copy and paste parts of tests. See also the discussion in https://reviews.llvm.org/D35287 llvm-svn: 309774 | ||||
* | Cache the Function dependent subtarget on the MachineFunction. | Eric Christopher | 2015-03-21 | 1 | -0/+26 |
As preparation for removing the getSubtargetImpl() call from TargetMachine go ahead and flip the switch on caching the function dependent subtarget and remove the bare getSubtargetImpl call from the X86 port. As part of this add a few tests that show we can generate code and assemble on X86 based on features/cpu on the Function. llvm-svn: 232879 |