- May 30, 2012
-
-
David Blaikie authored
This broke in r144788 when the CodeGenOpt option was moved from everywhere else (specifically, from addPassesToEmitFile) to createTargetMachine. Since LTOCodeGenerator wasn't passing the 4th argument, when the 4th parameter became the 3rd, it silently continued to compile (int->bool conversion) but meant something completely different. This change preserves the existing (accidental) and previous (default) semantics of the addPassesToEmitFile and restores the previous/intended CodeGenOpt argument by passing it appropriately to createTargetMachine. (discovered by pending changes to -Wconversion to catch constant->bool conversions) llvm-svn: 157705
-
Benjamin Kramer authored
llvm-svn: 157704
-
Jakob Stoklund Olesen authored
It is better to address sub-registers directly by name instead of relying on their position in the sub-register list. llvm-svn: 157703
-
Jakob Stoklund Olesen authored
An empty list is not represented as a null pointer. Let TRI do its own shortcuts. llvm-svn: 157702
-
Benjamin Kramer authored
This also required making recursive simplifications until nothing changes or a hard limit (currently 3) is hit. With the simplification in place indvars can canonicalize loops of the form for (unsigned i = 0; i < a-b; ++i) into for (unsigned i = 0; i != a-b; ++i) which used to fail because SCEV created a weird umax expr for the backedge taken count. llvm-svn: 157701
-
Jim Grosbach authored
llvm-svn: 157700
-
Chris Lattner authored
it's pointed out that R11 can be used for magic things, and doing things just for 64-bit registers is silly. Just optimize 3 more. llvm-svn: 157699
-
Chris Lattner authored
integer registers. This is already supported by the fastcc convention, but it doesn't hurt to support it in the standard conventions as well. In cases where we can cheat at the calling convention, this allows us to avoid returning things through memory in more cases. llvm-svn: 157698
-
Fariborz Jahanian authored
and reported as PR12959. // rdar://11499742 llvm-svn: 157697
-
Chad Rosier authored
Patch by Jush Lu <jush.msn@gmail.com>. llvm-svn: 157696
-
Jakob Stoklund Olesen authored
Also add subclasses MCSubRegIterator, MCSuperRegIterator, and MCRegAliasIterator. These iterators provide an abstract interface to the MCRegisterInfo register lists so the internal representation can be changed without changing all clients. llvm-svn: 157695
-
Manuel Klimek authored
Adds missing header guards to Refactoring.h. llvm-svn: 157694
-
Alexander Potapenko authored
llvm-svn: 157693
-
Alexander Potapenko authored
instead of the first character of the value. llvm-svn: 157692
-
Alexander Potapenko authored
llvm-svn: 157691
-
Tobias Grosser authored
llvm-svn: 157690
-
Tobias Grosser authored
The "llvm.codegen" intrinsic patch is a patch to LLVM, which is used to generate code for embedded LLVM-IR strings. In Polly, we use it to generate ptx assembly text for GPGPU code generation. llvm-svn: 157689
-
Benjamin Kramer authored
llvm-svn: 157688
-
Alexander Kornienko authored
llvm-svn: 157687
-
Gabor Greif authored
supply a simple-minded testcase for r156813, to check whether the embedded montavista gcc toolchain is recognized llvm-svn: 157686
-
Benjamin Kramer authored
llvm-svn: 157685
-
Benjamin Kramer authored
llvm-svn: 157684
-
Kostya Serebryany authored
llvm-svn: 157683
-
Alexey Samsonov authored
Clang docs update: list command-line flags that control the size of generated debug information. Reviewed by chandlerc@ and echristo@. llvm-svn: 157681
-
Craig Topper authored
SSE4A should not imply LZCNT and POPCNT. FMA4 should imply SSE4A. Add missing break at the end of btver1 feature list. llvm-svn: 157680
-
Filipe Cabecinhas authored
llvm-svn: 157679
-
Filipe Cabecinhas authored
llvm-svn: 157678
-
Filipe Cabecinhas authored
llvm-svn: 157677
-
Craig Topper authored
llvm-svn: 157676
-
Craig Topper authored
llvm-svn: 157675
-
Daniel Jasper authored
llvm-svn: 157674
-
Andrew Trick authored
If integer overflow causes one of the terms to reach zero, that can force the entire expression to zero. Fixes PR12929: cast<Ty>() argument of incompatible type llvm-svn: 157673
-
Andrew Trick authored
No functionality. llvm-svn: 157672
-
Filipe Cabecinhas authored
llvm-svn: 157669
-
Jim Ingham authored
setting breakpoints. That's dangerous, since while we are setting a breakpoint, the target might hit the dyld load notification, and start removing modules from the list. This change adds a GetMutex accessor to the ModuleList class, and uses it whenever we are accessing the target's ModuleList (as returned by GetImages().) <rdar://problem/11552372> llvm-svn: 157668
-
Eric Christopher authored
llvm-svn: 157667
-
Richard Trieu authored
same value and were initialized with literals. Clang will warn on code like this: enum A { FIRST = 1, SECOND = 1 }; llvm-svn: 157666
-
Filipe Cabecinhas authored
llvm-svn: 157664
-
-
Evan Cheng authored
If-converter models predicated defs as read + write. The read should be marked as 'undef' since it may not already be live. This appeases -verify-machineinstrs. llvm-svn: 157662
-