summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/big-endian-formal-args.ll
Commit message (Collapse)AuthorAgeFilesLines
* PowerPC: Do not use llc -march in tests.Matthias Braun2017-08-011-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. This patch: - Removes -march if the .ll file already has a matching `target triple` directive or -mtriple argument. - In all other cases changes -march=ppc32/-march=ppc64 to -mtriple=ppc32--/-mtriple=ppc64-- See also the discussion in https://reviews.llvm.org/D35287 llvm-svn: 309754
* Adding -verify-machineinstrs option to PowerPC testsEhsan Amiri2016-08-031-1/+1
| | | | | | | | | | | Currently we have a number of tests that fail with -verify-machineinstrs. To detect this cases earlier we add the option to the testcases with the exception of tests that will currently fail with this option. PR 27456 keeps track of this failures. No code review, as discussed with Hal Finkel. llvm-svn: 277624
* Allow remat of LI on PPC.Hal Finkel2012-08-281-2/+2
| | | | | | | | | | | Allow load-immediates to be rematerialised in the register coalescer for PPC. This makes test/CodeGen/PowerPC/big-endian-formal-args.ll fail, because it relies on a register move getting emitted. The immediate load is equivalent, so change this test case. Patch by Tobias von Koch. llvm-svn: 162727
* adjust the instruction ordering in some PPC tests: changes due to postRA ↵Hal Finkel2011-12-021-1/+1
| | | | | | haz. rec. llvm-svn: 145678
* FileCheckize and break dependence on coalescing order.Jakob Stoklund Olesen2011-05-041-8/+6
| | | | llvm-svn: 130856
* Eliminate more uses of llvm-as and llvm-dis.Dan Gohman2009-09-091-4/+4
| | | | llvm-svn: 81293
* Add an explicit triple to the big-endian tests so that the assemblyDan Gohman2007-07-061-4/+8
| | | | | | output format is always consistent with what the greps are looking for. llvm-svn: 37943
* Add a parameter to getCopyToParts and getCopyFromParts to specify whetherDan Gohman2007-07-051-0/+11
endian swapping should be done, and update the code to use it. This fixes some register ordering issues on big-endian systems, such as PowerPC, introduced by the recent illegal by-val arguments changes. llvm-svn: 37921
OpenPOWER on IntegriCloud