- Feb 21, 2013
-
-
Shankar Easwaran authored
llvm-svn: 175636
-
Bill Schmidt authored
The PPC backend doesn't handle these correctly. This patch uses logic similar to that in the X86 and ARM backends to track these arguments properly. llvm-svn: 175635
-
Jyotsna Verma authored
Add HexagonMCInst class which adds various Hexagon VLIW annotations. In addition, this class also includes some APIs related to the constant extenders. llvm-svn: 175634
-
- Feb 20, 2013
-
-
NAKAMURA Takumi authored
Sorry, I didn't cover +Asserts, by accident. :( llvm-svn: 175633
-
Bill Schmidt authored
During lowering of a BUILD_VECTOR, we look for opportunities to use a vector splat. When the splatted value fits in 5 signed bits, a single splat does the job. When it doesn't fit in 5 bits but does fit in 6, and is an even value, we can splat on half the value and add the result to itself. This last optimization hasn't been working recently because of improved constant folding. To circumvent this, create a pseudo VADD_SPLAT that can be expanded during instruction selection. llvm-svn: 175632
-
Alexander Potapenko authored
[ASan] Delete asan/dynamic dir and temporarily move the interposers declarations to asan_intercepted_functions.h Now that we have only one dependency on asan_intercepted_functions.h, we can unite that code with the interceptors declarations in asan_interceptors.cc and get rid of asan_intercepted_functions.h llvm-svn: 175631
-
Manuel Klimek authored
Now correctly indents (again): a = a + "a" "a" "a"; llvm-svn: 175630 -
Alexander Potapenko authored
llvm-svn: 175629
-
Manuel Klimek authored
We now indent the following correctly: 1. some + "literal" /* comment */ "literal"; 2. breaking string literals after which we have another string literal. llvm-svn: 175628 -
NAKAMURA Takumi authored
llvm-svn: 175627
-
NAKAMURA Takumi authored
llvm-svn: 175626
-
Kostya Serebryany authored
llvm-svn: 175625
-
Edwin Vane authored
* Fixed a comment typo * Changed 'autogen' to 'generated-tests' * Made the clean target not fail if the 'generated-tests' directory doesn't already exist. llvm-svn: 175624
-
Kostya Serebryany authored
llvm-svn: 175623
-
Alexey Samsonov authored
llvm-svn: 175622
-
Benjamin Kramer authored
llvm-svn: 175621
-
Daniel Jasper authored
If the code author decides to put empty lines anywhere into the code we should treat them equally, i.e. reduce them to the configured MaxEmptyLinesToKeep. With this change, we e.g. keep the newline in: SomeType ST = { // First value a, // Second value b }; llvm-svn: 175620 -
Elena Demikhovsky authored
sext <4 x i1> to <4 x i64> sext <4 x i8> to <4 x i64> sext <4 x i16> to <4 x i64> I'm running Combine on SIGN_EXTEND_IN_REG and revert SEXT patterns: (sext_in_reg (v4i64 anyext (v4i32 x )), ExtraVT) -> (v4i64 sext (v4i32 sext_in_reg (v4i32 x , ExtraVT))) The sext_in_reg (v4i32 x) may be lowered to shl+sar operations. The "sar" does not exist on 64-bit operation, so lowering sext_in_reg (v4i64 x) has no vector solution. I also added a cost of this operations to the AVX costs table. llvm-svn: 175619
-
Kostya Serebryany authored
llvm-svn: 175618
-
Kostya Serebryany authored
llvm-svn: 175617
-
Logan Chien authored
It is possible that frame pointer is not found in the callee saved info, thus FramePtrSpillFI may be incorrect if we don't check the result of hasFP(MF). Besides, if we enable the stack coloring algorithm, there will be an assertion to ensure the slot is live. But in the test case, %var1 is not live in the prologue of the function, and we will get the assertion failure. Note: There is similar code in ARMFrameLowering.cpp. llvm-svn: 175616
-
Evgeniy Stepanov authored
llvm-svn: 175615
-
Kostya Serebryany authored
llvm-svn: 175614
-
Manuel Klimek authored
An alternative strategy to calculating the break on demand when hitting a token that would need to be broken would be to put all possible breaks inside the token into the optimizer. Currently only supports breaking at spaces; more break points to come. llvm-svn: 175613
-
Bill Wendling authored
llvm-svn: 175610
-
Bill Wendling authored
llvm-svn: 175609
-
David Blaikie authored
llvm-svn: 175608
-
David Blaikie authored
llvm-svn: 175607
-
Bill Wendling authored
function attributes. llvm-svn: 175606
-
Bill Wendling authored
This makes the LLVM assembly look better. E.g.: define void @foo() #0 { ret void } attributes #0 = { nounwind noinline ssp } llvm-svn: 175605 -
Cameron Zwarich authored
common transformations. This includes updating repairIntervalsInRange() to handle more cases. llvm-svn: 175604
-
Cameron Zwarich authored
correct value is needed in every iteration of the loop for updating LiveIntervals. llvm-svn: 175603
-
Cameron Zwarich authored
llvm-svn: 175602
-
Cameron Zwarich authored
and removing instructions. The implementation seems more complicated than it needs to be, but I couldn't find something simpler that dealt with all of the corner cases. Also add a call to repairIndexesInRange() from repairIntervalsInRange(). llvm-svn: 175601
-
Cameron Zwarich authored
llvm-svn: 175600
-
Cameron Zwarich authored
assertions in the register allocator when running 'make check' without LiveVariables. llvm-svn: 175599
-
Cameron Zwarich authored
after the two-address pass. The remaining problems in 'make check' are occurring later. llvm-svn: 175598
-
Cameron Zwarich authored
llvm-svn: 175597
-
Cameron Zwarich authored
llvm-svn: 175596
-
David Blaikie authored
Code review feedback on r175580 from Jordan Rose. llvm-svn: 175595
-