- Jan 06, 2012
-
-
Dan Gohman authored
present in the bottom of the CFG triangle, as the transformation isn't ever valuable if the branch can't be eliminated. Also, unify some heuristics between SimplifyCFG's multiple if-converters, for consistency. This fixes rdar://10627242. llvm-svn: 147630
-
Eli Friedman authored
PR11705, part 2: globalopt shouldn't put inttoptr/ptrtoint operations into global initializers if there's an implied extension or truncation. llvm-svn: 147625
-
Rafael Espindola authored
System V Application Binary Interface. This lets us use -fvisibility-inlines-hidden with LTO. Fixes PR11697. llvm-svn: 147624
-
- Jan 05, 2012
-
-
Dan Gohman authored
code can incorrectly move the load across a store. This never happens in practice today, but only because the current heuristics accidentally preclude it. llvm-svn: 147623
-
Benjamin Kramer authored
llvm-svn: 147618
-
Nick Lewycky authored
Eliminate the dead test for it on each loop iteration. No functionality change. llvm-svn: 147616
-
Rafael Espindola authored
llvm-svn: 147615
-
Danil Malyshev authored
A small re-factored JIT/MCJIT::getPointerToNamedFunction(), so it could be called with the base class. llvm-svn: 147610
-
Sebastian Pop authored
llvm-svn: 147608
-
Chris Lattner authored
Patch by Stepan Dyatkovskiy! llvm-svn: 147607
-
Chandler Carruth authored
llvm-svn: 147605
-
Chandler Carruth authored
a combined-away node and the result of the combine isn't substantially smaller than the input, it's just canonicalized. This is the first part of a significant (7%) performance gain for Snappy's hot decompression loop. llvm-svn: 147604
-
Chandler Carruth authored
llvm-svn: 147603
-
Craig Topper authored
llvm-svn: 147602
-
Victor Umansky authored
Peephole optimization of ptest-conditioned branch in X86 arch. Performs instruction combining of sequences generated by ptestz/ptestc intrinsics to ptest+jcc pair for SSE and AVX. Testing: passed 'make check' including LIT tests for all sequences being handled (both SSE and AVX) Reviewers: Evan Cheng, David Blaikie, Bruno Lopes, Elena Demikhovsky, Chad Rosier, Anton Korobeynikov llvm-svn: 147601
-
Eli Bendersky authored
llvm-svn: 147600
-
Andrew Trick authored
Minor postra scheduler cleanup. It could result in more precise antidependence latency on ARM in exceedingly rare cases. llvm-svn: 147594
-
Bill Wendling authored
This small bit of ASM code is sufficient to do what the old algorithm did: movq %rax, %xmm0 punpckldq (c0), %xmm0 // c0: (uint4){ 0x43300000U, 0x45300000U, 0U, 0U } subpd (c1), %xmm0 // c1: (double2){ 0x1.0p52, 0x1.0p52 * 0x1.0p32 } #ifdef __SSE3__ haddpd %xmm0, %xmm0 #else pshufd $0x4e, %xmm0, %xmm1 addpd %xmm1, %xmm0 #endif It's arguably faster. One caveat, the 'haddpd' instruction isn't very fast on all processors. <rdar://problem/7719814> llvm-svn: 147593
-
Andrew Trick authored
llvm-svn: 147585
-
Devang Patel authored
llvm-svn: 147583
-
Benjamin Kramer authored
llvm-svn: 147580
-
Jakob Stoklund Olesen authored
Now that canRealignStack() understands frozen reserved registers, it is safe to use it for aligned spill instructions. It will only return true if the registers reserved at the beginning of register allocation allow for dynamic stack realignment. <rdar://problem/10625436> llvm-svn: 147579
-
Jakob Stoklund Olesen authored
Once register allocation has started the reserved registers are frozen. Fix the ARM canRealignStack() hook to respect the frozen register state. Now the hook returns false if register allocation was started with frame pointer elimination enabled. It also returns false if register allocation started without a reserved base pointer, and stack realignment would require a base pointer. This bug was breaking oggenc on armv6. No test case, an upcoming patch will use this functionality to realign the stack for spill slots when possible. llvm-svn: 147578
-
Jakob Stoklund Olesen authored
The register allocators don't currently support adding reserved registers while they are running. Extend the MRI API to keep track of the set of reserved registers when register allocation started. Target hooks like hasFP() and needsStackRealignment() can look at this set to avoid reserving more registers during register allocation. llvm-svn: 147577
-
Dan Gohman authored
Values, rather than just Instructions, since it's interesting for ConstantExprs too. llvm-svn: 147560
-
- Jan 04, 2012
-
-
Benjamin Kramer authored
llvm-svn: 147553
-
Benjamin Kramer authored
llvm-svn: 147550
-
Benjamin Kramer authored
llvm-svn: 147546
-
Benjamin Kramer authored
Using DenseMap iterators isn't free as they have to check for empty buckets. Dominator queries are common so this gives a minor speedup. llvm-svn: 147544
-
Sebastian Pop authored
Get back getHostTriple. For JIT compilation, use the host triple instead of the default target: this fixes some JIT testcases that used to fail when the compiler has been configured as a cross compiler. llvm-svn: 147542
-
Akira Hatanaka authored
llvm-svn: 147541
-
Nick Lewycky authored
llvm-svn: 147529
-
Nick Lewycky authored
nsw bits on them. llvm-svn: 147528
-
Craig Topper authored
Allow vector shuffle normalizing to use concat vector even if the sources are commuted in the shuffle mask. llvm-svn: 147527
-
Craig Topper authored
llvm-svn: 147525
-
NAKAMURA Takumi authored
llvm-svn: 147521
-
Akira Hatanaka authored
llvm-svn: 147519
-
Akira Hatanaka authored
versions derive from them. - JALR64 is not needed since N64 does not emit jal. - Add template parameter to BranchLink that sets the rt field. - Fix the set of temporary registers for O32 and N64. llvm-svn: 147518
-
Akira Hatanaka authored
is Mips64. llvm-svn: 147516
-
Evan Cheng authored
llvm-svn: 147513
-