- Oct 30, 2012
-
-
Bill Wendling authored
llvm-svn: 167029
-
- Oct 29, 2012
-
-
Ulrich Weigand authored
checks to avoid performing compile-time arithmetic on PPCDoubleDouble. Now that APFloat supports arithmetic on PPCDoubleDouble, those checks are no longer needed, and we can treat the type like any other. llvm-svn: 166958
-
Jakob Stoklund Olesen authored
Partial copies can show up even when CoalescerPair.isPartial() returns false. For example: %vreg24:dsub_0<def> = COPY %vreg31:dsub_0; QPR:%vreg24,%vreg31 Such a partial-partial copy is not good enough for the transformation adjustCopiesBackFrom() needs to do. llvm-svn: 166944
-
Duncan Sands authored
wrapper returns a vector of integers when passed a vector of pointers) by having getIntPtrType itself return a vector of integers in this case. Outside of this wrapper, I didn't find anywhere in the codebase that was relying on the old behaviour for vectors of pointers, so give this a whirl through the buildbots. llvm-svn: 166939
-
Preston Gurd authored
incorrect instruction sequence due to it not being aware that an inline assembly instruction may reference memory. This patch fixes the problem by causing the scheduler to always assume that any inline assembly code instruction could access memory. This is necessary because the internal representation of the inline instruction does not include any information about memory accesses. This should fix PR13504. llvm-svn: 166929
-
Lang Hames authored
llvm-svn: 166910
-
- Oct 27, 2012
-
-
Jakob Stoklund Olesen authored
This fixes PR14194. llvm-svn: 166880
-
Jakob Stoklund Olesen authored
No functional change. llvm-svn: 166829
-
Jakob Stoklund Olesen authored
Don't pass it around everywhere as a function argument. llvm-svn: 166828
-
Jakob Stoklund Olesen authored
Don't pass it everywhere as an argument. llvm-svn: 166820
-
- Oct 26, 2012
-
-
Jakob Stoklund Olesen authored
No functional change. llvm-svn: 166814
-
Jakob Stoklund Olesen authored
The new coalescer can already do all of this, so there is no need to duplicate the efforts. llvm-svn: 166813
-
Akira Hatanaka authored
llvm-svn: 166784
-
Nicolas Geoffray authored
llvm-svn: 166763
-
Nick Lewycky authored
llvm-svn: 166750
-
- Oct 25, 2012
-
-
Jakob Stoklund Olesen authored
llvm-svn: 166646
-
- Oct 24, 2012
-
-
Micah Villmow authored
llvm-svn: 166607
-
Micah Villmow authored
Back out r166591, not sure why this made it through since I cancelled the command. Bleh, sorry about this! llvm-svn: 166596
-
Micah Villmow authored
llvm-svn: 166591
-
Micah Villmow authored
This checkin also adds in some tests that utilize these paths and updates some of the clients. llvm-svn: 166578
-
Michael Liao authored
- If more than 1 elemennts are defined and target supports the vectorized conversion, use the vectorized one instead to reduce the strength on conversion operation. llvm-svn: 166546
-
Jakub Staszak authored
llvm-svn: 166531
-
Michael Liao authored
llvm-svn: 166519
-
- Oct 23, 2012
-
-
Nadav Rotem authored
Make the indirect branch optimization deterministic. No functionality change. Patch by Daniel Reynaud. llvm-svn: 166501
-
Richard Smith authored
every TU where it's implicitly instantiated, even if there's an implicit instantiation for the same types available in another TU. llvm-svn: 166470
-
- Oct 21, 2012
-
-
Jakob Stoklund Olesen authored
Reported by Vincent Lejeune using an out-of-tree target. llvm-svn: 166398
-
- Oct 20, 2012
-
-
Benjamin Kramer authored
llvm-svn: 166376
-
Shuxin Yang authored
(The change at Clang side was committed in r166345) 2. Cosmetic change in order to conform to coding standards. llvm-svn: 166350
-
- Oct 19, 2012
-
-
Nadav Rotem authored
llvm-svn: 166340
-
radar://8426430Shuxin Yang authored
which is supposed to consistently raise SIGTRAP across all systems. In contrast, __builtin_trap() behave differently on different systems. e.g. it raises SIGTRAP on ARM, and SIGILL on X86. The purpose of __builtin_debugtrap() is to consistently provide "trap" functionality, in the mean time preserve the compatibility with on gcc on __builtin_trap(). The X86 backend is already able to handle debugtrap(). This patch is to: 1) make front-end recognize "__builtin_debugtrap()" (emboddied in the one-line change to Clang). 2) In DAG legalization phase, by default, "debugtrap" will be replaced with "trap", which make the __builtin_debugtrap() "available" to all existing ports without the hassle of changing their code. 3) If trap-function is specified (via -trap-func=xyz to llc), both __builtin_debugtrap() and __builtin_trap() will be expanded into the function call of the specified trap function. This behavior may need change in the future. The provided testing-case is to make sure 2) and 3) are working for ARM port, and we already have a testing case for x86. llvm-svn: 166300
-
Nadav Rotem authored
llvm-svn: 166264
-
Michael Liao authored
llvm-svn: 166260
-
- Oct 18, 2012
-
-
Sebastian Pop authored
When merging stack slots, if StackColoring::remapInstructions gets a value back from GetUnderlyingObject that it does not know about or is not itself a stack slot, clear the memory operand in case it aliases the merged slot. This prevents the introduction of incorrect aliasing information. Author: Matthew Curtis <mcurtis@codeaurora.org> llvm-svn: 166216
-
Sebastian Pop authored
This more accurately reflects what is actually being stored in the field. No functionality change intended. Author: Matthew Curtis <mcurtis@codeaurora.org> llvm-svn: 166215
-
Nadav Rotem authored
In SimplifySelectOps we pulled two loads through a select node despite the fact that one was dependent on the other. rdar://12513091 llvm-svn: 166196
-
Bob Wilson authored
The TargetTransform changes are breaking LTO bootstraps of clang. I am working with Nadav to figure out the problem, but I am reverting it for now to get our buildbots working. This reverts svn commits: 165665 165669 165670 165786 165787 165997 and I have also reverted clang svn 165741 llvm-svn: 166168
-
Michael Liao authored
- Folding (trunc (concat ... X )) to (concat ... (trunc X) ...) is valid when '...' are all 'undef's. - r166125 relies on this transformation. llvm-svn: 166155
-
Michael Liao authored
- In general, it's unsafe for this transformation. llvm-svn: 166135
-
- Oct 17, 2012
-
-
Michael Liao authored
- If the extracted vector has the same type of all vectored being concatenated together, it should be simplified directly into v_i, where i is the index of the element being extracted. llvm-svn: 166125
-
Jakob Stoklund Olesen authored
This is a more compact, less redundant representation, and it avoids scanning long lists of aliases for ARM D-registers, for example. llvm-svn: 166124
-