summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/call-imm.ll
Commit message (Collapse)AuthorAgeFilesLines
* X86: Do not use llc -march in tests.Matthias Braun2017-08-021-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
* X86: Disable IsLegalToCallImmediateAddr for Win32David Majnemer2014-03-281-0/+2
| | | | | | | | | | WinCOFF cannot form PC relative relocations to support absolute MCValues. We should reenable this once WinCOFF supports emission of IMAGE_REL_I386_REL32 relocations. This fixes PR19272. llvm-svn: 205058
* Rewrite X86 codegen regression test with FileCheckMichael Liao2013-04-301-4/+9
| | | | llvm-svn: 180776
* Convert all tests using TCL-style quoting to use shell-style quoting.Chandler Carruth2012-07-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | This was done through the aid of a terrible Perl creation. I will not paste any of the horrors here. Suffice to say, it require multiple staged rounds of replacements, state carried between, and a few nested-construct-parsing hacks that I'm not proud of. It happens, by luck, to be able to deal with all the TCL-quoting patterns in evidence in the LLVM test suite. If anyone is maintaining large out-of-tree test trees, feel free to poke me and I'll send you the steps I used to convert things, as well as answer any painful questions etc. IRC works best for this type of thing I find. Once converted, switch the LLVM lit config to use ShTests the same as Clang. In addition to being able to delete large amounts of Python code from 'lit', this will also simplify the entire test suite and some of lit's architecture. Finally, the test suite runs 33% faster on Linux now. ;] For my 16-hardware-thread (2x 4-core xeon e5520): 36s -> 24s llvm-svn: 159525
* call-imm.ll test case regex fix. Patch by Dimitry Andric!Stuart Hastings2010-08-041-1/+1
| | | | llvm-svn: 110199
* Correct some bogus target triples.Duncan Sands2010-05-071-2/+2
| | | | llvm-svn: 103265
* Eliminate more uses of llvm-as and llvm-dis.Dan Gohman2009-09-081-4/+4
| | | | llvm-svn: 81290
* Fix test on non-darwin hosts.Evan Cheng2009-05-201-1/+1
| | | | llvm-svn: 72161
* Try again. Allow call to immediate address for ELF or when in static ↵Evan Cheng2009-05-201-1/+2
| | | | | | relocation mode. llvm-svn: 72160
* Cannot use immediate as call absolute target in PIC mode.Evan Cheng2009-05-201-0/+2
| | | | llvm-svn: 72154
* Disable the "call to immediate" optimization on x86-64. It isChris Lattner2009-03-181-3/+7
| | | | | | | | | | | not safe in general because the immediate could be an arbitrary value that does not fit in a 32-bit pcrel displacement. Conservatively fall back to loading the value into a register and calling through it. We still do the optzn on X86-32. llvm-svn: 67142
* Add this test back.Evan Cheng2009-03-121-0/+11
| | | | llvm-svn: 66838
* Revert r66024. The JIT encoding for CALLpcrel32 is wrong -- see PR3773, and theDan Gohman2009-03-111-9/+0
| | | | | | assembly text output uses an indirect call ("call *") instead of a direct call. llvm-svn: 66735
* Fix PR3666: isel calls to constant addresses.Evan Cheng2009-03-041-0/+9
llvm-svn: 66024
OpenPOWER on IntegriCloud