- Jun 30, 2012
-
-
Benjamin Kramer authored
llvm-svn: 159481
-
Rafael Espindola authored
a reduced testcase, but this fixes pr13209. llvm-svn: 159479
-
Nuno Lopes authored
llvm-svn: 159471
-
Manman Ren authored
Use getUniqueVRegDef. Replace a loop with existing interfaces: modifiesRegister and readsRegister. Factor out code into inline functions and simplify the code. llvm-svn: 159470
-
- Jun 29, 2012
-
-
Manman Ren authored
instructions with two register operands. llvm-svn: 159465
-
Jakob Stoklund Olesen authored
When a local virtual register is made global, make sure to clear any existing kill flags. llvm-svn: 159461
-
Jakob Stoklund Olesen authored
This would previously get reported as the misleading "Virtual register def doesn't dominate all uses." llvm-svn: 159460
-
Benjamin Kramer authored
This happens when codegenprepare is invoked via opt. llvm-svn: 159457
-
Manman Ren authored
This comes in handy during peephole optimization. llvm-svn: 159453
-
Duncan Sands authored
really happening. No intended functionality change. llvm-svn: 159451
-
Nuno Lopes authored
RefreshCallGraph: ignore 'invoke intrinsic'. IntrinsicInst doesnt not recognize invoke, and shouldnt at this point, since the rest of LLVM codebase doesnt expect invoke of intrinsics llvm-svn: 159441
-
Nuno Lopes authored
ignore 'invoke new' in isInstructionTriviallyDead, since most callers are not ready to handle invokes. instcombine will take care of this. llvm-svn: 159440
-
Alexey Samsonov authored
llvm-svn: 159433
-
Duncan Sands authored
the optimizers producing a multiply expression with more multiplications than the original (!). llvm-svn: 159426
-
Chandler Carruth authored
This was always part of the VMCore library out of necessity -- it deals entirely in the IR. The .cpp file in fact was already part of the VMCore library. This is just a mechanical move. I've tried to go through and re-apply the coding standard's preferred header sort, but at 40-ish files, I may have gotten some wrong. Please let me know if so. I'll be committing the corresponding updates to Clang and Polly, and Duncan has DragonEgg. Thanks to Bill and Eric for giving the green light for this bit of cleanup. llvm-svn: 159421
-
Bill Wendling authored
llvm-svn: 159417
-
Bill Wendling authored
llvm-svn: 159416
-
Bill Wendling authored
(a.k.a. MDNodes). The module doesn't belong in Analysis. Move it to the VMCore instead. llvm-svn: 159414
-
Andrew Trick authored
This reverts commit r159406. I noticed a performance regression so I'll back out for now. llvm-svn: 159411
-
Rafael Espindola authored
Before this patch in pic 32 bit code we would add the global base register and not load from that address. This is a really old bug, but before the introduction of the tls attributes we would never select initial exec for pic code. llvm-svn: 159409
-
Andrew Trick authored
llvm-svn: 159408
-
Andrew Trick authored
llvm-svn: 159407
-
Andrew Trick authored
The TargetInstrInfo::getNumMicroOps API does not change, but soon it will be used by MachineScheduler. Now each subtarget can specify the number of micro-ops per itinerary class. For ARM, this is currently always dynamic (-1), because it is used for load/store multiple which depends on the number of register operands. Zero is now a valid number of micro-ops. This can be used for nop pseudo-instructions or instructions that the hardware can squash during dispatch. llvm-svn: 159406
-
Manman Ren authored
Corrected type for index of llvm.x86.avx2.gather.d.pd.256 from 256-bit to 128-bit. Corrected types for src|dst|mask of llvm.x86.avx2.gather.q.ps.256 from 256-bit to 128-bit. Support the following intrinsics: llvm.x86.avx2.gather.d.q, llvm.x86.avx2.gather.q.q llvm.x86.avx2.gather.d.q.256, llvm.x86.avx2.gather.q.q.256 llvm.x86.avx2.gather.d.d, llvm.x86.avx2.gather.q.d llvm.x86.avx2.gather.d.d.256, llvm.x86.avx2.gather.q.d.256 llvm-svn: 159402
-
Chandler Carruth authored
Clang has been getting along fine without this for quite some time. llvm-svn: 159400
-
Chandler Carruth authored
only used in the Clang tree, but it seems reasonable to support. llvm-svn: 159399
-
Nick Lewycky authored
the assert reported in PR13228! llvm-svn: 159393
-
Nuno Lopes authored
While at it, merge 2 tests and FileCheckize them llvm-svn: 159388
-
Nuno Lopes authored
llvm-svn: 159385
-
Nuno Lopes authored
llvm-svn: 159384
-
Nuno Lopes authored
add a new @llvm.donothing intrinsic that, well, does nothing, and teach CodeGen to ignore calls to it llvm-svn: 159383
-
- Jun 28, 2012
-
-
Jim Grosbach authored
Teach vector legalization how to honor Promote for int to float conversions. The code checking whether to promote the operation knew to look at the operand, but the actual promotion code didn't. This fixes that. The operand is promoted up via [zs]ext. rdar://11762659 llvm-svn: 159378
-
Jack Carter authored
the comment per code review feedback. llvm-svn: 159376
-
Eric Christopher authored
llvm-svn: 159374
-
Bill Wendling authored
llvm-svn: 159372
-
Benjamin Kramer authored
This way the generated GCC builtin to LLVM intrinsic converter actually works. llvm-svn: 159370
-
Benjamin Kramer authored
llvm-svn: 159367
-
Simon Atanasyan authored
This patch was reviewed in the llvm-commits list by Jim Grosbach. llvm-svn: 159364
-
Nuno Lopes authored
- recognize C++ new(std::nothrow) friends - ignore ExtractElement and ExtractValue instructions in size/offset analysis (all easy cases are probably folded away before we get here) - also recognize realloc as noalias llvm-svn: 159356
-
Nuno Lopes authored
make LazyValueInfo analyze the default case of switch statements (we know that in the default branch the value cannot be any of the switch cases) llvm-svn: 159353
-