- Oct 17, 2011
-
-
Devang Patel authored
Radar 10281206. llvm-svn: 142202
-
Devang Patel authored
There is no reason to have simple IR level pass in lib/Target. llvm-svn: 142200
-
Hal Finkel authored
llvm-svn: 142194
-
Craig Topper authored
Don't use inline assembly in 64-bit Visual Studio. Unfortunately, this means that cpuid leaf 7 can't be queried on versions of Visual Studio earlier than VS 2008 SP1. Fixes PR11147. llvm-svn: 142177
-
Bill Wendling authored
llvm-svn: 142176
-
Hal Finkel authored
llvm-svn: 142171
-
Hal Finkel authored
llvm-svn: 142170
-
Chandler Carruth authored
profile metadata at the same time. Use it to preserve metadata attached to a branch when re-writing it in InstCombine. Add metadata to the canonicalize_branch InstCombine test, and check that it is tranformed correctly. Reviewed by Nick Lewycky! llvm-svn: 142168
-
Chandler Carruth authored
directly manipulates the weights inside of the BranchProbabilityInfo that is passed in. llvm-svn: 142163
-
Chandler Carruth authored
llvm-svn: 142162
-
- Oct 16, 2011
-
-
Nadav Rotem authored
Changed tests which assumed that vectors are legalized by widening them. llvm-svn: 142152
-
Nick Lewycky authored
on the memcpy call will pull up other unrelated stuff. Fixes PR11142. llvm-svn: 142150
-
Craig Topper authored
llvm-svn: 142141
-
Benjamin Kramer authored
While at it, merge some format strings. llvm-svn: 142140
-
Benjamin Kramer authored
llvm-svn: 142139
-
Benjamin Kramer authored
<stdin>:1:12: error: register %rax is only available in 64-bit mode incl %rax ^~~~ llvm-svn: 142137
-
Benjamin Kramer authored
X86AsmParser: Synthesize EndLoc for tokens out of StartLoc + Length and print ranges for invalid operands. <stdin>:1:4: error: invalid instruction mnemonic 'abc' abc incl %edi ^~~ llvm-svn: 142135
-
Benjamin Kramer authored
This reenables proper inline asm diagnostics in clang llvm-svn: 142132
-
Nadav Rotem authored
no pattern. llvm-svn: 142130
-
Craig Topper authored
llvm-svn: 142122
-
Craig Topper authored
Add X86 INVPCID instruction. Add 32/64-bit predicates to INVEPT, INVVPID, VMREAD, and VMWRITE to remove hack from X86RecognizableInstr. llvm-svn: 142117
-
Cameron Zwarich authored
These missing flags show up as errors when running -verify-coalescing on test-suite. llvm-svn: 142111
-
Cameron Zwarich authored
llvm-svn: 142110
-
Chris Lattner authored
llvm-svn: 142108
-
Chris Lattner authored
string, pass it around as an enum. llvm-svn: 142107
-
Chris Lattner authored
the X86 asmparser to produce ranges in the one case that was annoying me, for example: test.s:10:15: error: invalid operand for instruction movl 0(%rax), 0(%edx) ^~~~~~~ It should be straight-forward to enhance filecheck, tblgen, and/or the .ll parser to use ranges where appropriate if someone is interested. llvm-svn: 142106
-
Craig Topper authored
Add X86 BEXTR instruction. This instruction uses VEX.vvvv to encode Operand 3 instead of Operand 2 so needs special casing in the disassembler and code emitter. Ultimately, should pass this information from tablegen llvm-svn: 142105
-
Craig Topper authored
Add X86 feature detection support for BMI instructions. Added new cpuid function for accessing leafs with sub leafs specified in ECX. Also added code to keep track of the max cpuid level supported in both basic and extended leaves and qualified the existing cpuid calls and the new call to leaf 7. llvm-svn: 142089
-
- Oct 15, 2011
-
-
Craig Topper authored
Add support for X86 blsr, blsmsk, and blsi instructions. Required extra work because these are the first VEX encoded instructions to use the reg field as an opcode extension. llvm-svn: 142082
-
Nadav Rotem authored
The CELL backend cannot select patterns for vector trunc-store and shl on v2i64; CellSPU/shift_ops.ll fails when promoting elements. llvm-svn: 142081
-
Nadav Rotem authored
llvm-svn: 142080
-
Benjamin Kramer authored
llvm-svn: 142073
-
Duncan Sands authored
use can't be dominated, saving one domtree lookup. llvm-svn: 142066
-
Benjamin Kramer authored
Based on Horspool's simplified version of Boyer-Moore. We use a constant-sized table of uint8_ts to keep cache thrashing low, needles bigger than 255 bytes are uncommon anyways. The worst case is still O(n*m) but we do a lot better on the average case now. llvm-svn: 142061
-
Nadav Rotem authored
cases we need the second type-legalization pass in order to support all cases. llvm-svn: 142060
-
Andrew Trick authored
Just because we're dealing with a GEP doesn't mean we can assert the SCEV has a pointer type. The fix is simply to ignore the SCEV pointer type, which we really didn't need. Fixes PR11138 webkit crash. llvm-svn: 142058
-
NAKAMURA Takumi authored
It extremely breaks builds when optimization is enabled. Twine should not hold temporary objects. By the way, I might feel sad if I saw "i786-" "i1586-" or "iF86-". llvm-svn: 142055
-
Chad Rosier authored
from config.h, it discovers the triple based on the execution environment. Patch by Aaron Ballman <aaron@aaronballman.com> llvm-svn: 142046
-
NAKAMURA Takumi authored
Windows/Memory.inc: Support the ability to allocate memory "near" another block of memory on Win32. It has fixed FIXME. Thanks to Aaron Ballman! llvm-svn: 142039
-
Andrew Trick authored
I rewrote the algorithm a while back so it doesn't require map lookup, but neglected to change the data structure. This was caught by llvm-gcc self host, not because there's anything special about llvm-gcc, but because it is the only test for nondeterminism we currently have. Unit tests don't work well for everything; we should always try to have a nondeterminism stress test running. Fixes PR11133: llvm-gcc self host .o mismatch after enable-iv-rewrite=false llvm-svn: 142036
-