- May 01, 2012
-
-
Manman Ren authored
This patch will optimize the following cases on X86 (a > b) ? (a-b) : 0 (a >= b) ? (a-b) : 0 (b < a) ? (a-b) : 0 (b <= a) ? (a-b) : 0 FROM movl %edi, %ecx subl %esi, %ecx cmpl %edi, %esi movl $0, %eax cmovll %ecx, %eax TO xorl %eax, %eax subl %esi, %edi cmovll %eax, %edi movl %edi, %eax rdar: 10734411 llvm-svn: 155919
-
Howard Hinnant authored
Greatly scale back ambitions of emulating move semantics in C++03 mode. It was causing more problems than it solved. This fixes http://llvm.org/bugs/show_bug.cgi?id=12704. llvm-svn: 155918
-
Alexey Samsonov authored
X86: Use StackRegister instead of FrameRegister in getFrameIndexReference (to generate debug info for local variables) if stack needs realignment llvm-svn: 155917
-
James Molloy authored
Unify Options.td and CC1Options.td, in a first step towards unifying the serialization logic in Frontend and Driver. Reviewed by Eric, Doug and Chandler, and here: http://llvm.org/reviews/r/7/ llvm-svn: 155916
-
Benjamin Kramer authored
llvm-svn: 155915
-
Benjamin Kramer authored
llvm-svn: 155914
-
NAKAMURA Takumi authored
clang/test/CodeGenCXX: Fix two tests, destructors.cpp and microsoft-abi-array-cookies.cpp, for -Asserts. llvm-svn: 155913
-
Jay Foad authored
llvm-svn: 155912
-
NAKAMURA Takumi authored
clang/test/Rewriter: Remove XFAIL and add -U__declspec to other 9 tests. mingw32 tends to define built-in __declspec. llvm-svn: 155911
-
NAKAMURA Takumi authored
clang/test/Rewriter/rewrite-modern-extern-c-func-decl.mm: Remove XFAIL and add -U__declspec. mingw32 tends to define built-in __declspec. llvm-svn: 155910
-
Benjamin Kramer authored
llvm-svn: 155909
-
Eli Bendersky authored
- Improved parameter names for clarity - Added comments - emitCommonSymbols should return void because its return value is not being used anywhere - Attempt to reduce the usage of the RelocationValueRef type. Restricts it for a single goal and may serve as a step for eventual removal. llvm-svn: 155908
-
Benjamin Kramer authored
llvm-svn: 155907
-
John McCall authored
to force the emission of vtordisps. llvm-svn: 155906
-
John McCall authored
working knowledge of the Microsoft ABI. Based on a patch by Dmitry Sokolov. llvm-svn: 155905
-
Abramo Bagnara authored
llvm-svn: 155904
-
Bill Wendling authored
The TargetPassManager's default constructor wants to initialize the PassManager to 'null'. But it's illegal to bind a null reference to a null l-value. Make the ivar a pointer instead. PR12468 llvm-svn: 155902
-
Craig Topper authored
llvm-svn: 155900
-
Craig Topper authored
llvm-svn: 155899
-
Eli Bendersky authored
- There's no point having a different type for the local and global symbol tables. - Renamed SymbolTable to GlobalSymbolTable to clarify the intention - Improved const correctness where relevant llvm-svn: 155898
-
Craig Topper authored
llvm-svn: 155897
-
Craig Topper authored
llvm-svn: 155896
-
Eli Bendersky authored
Added an example of MCJIT-based debugging. llvm-svn: 155895
-
John McCall authored
and only consider using __cxa_atexit in the Itanium logic. The default logic is to use atexit(). Emit "guarded" initializers in Microsoft mode unconditionally. This is definitely not correct, but it's closer to correct than just not emitting the initializer. Based on a patch by Timur Iskhodzhanov! llvm-svn: 155894
-
David Blaikie authored
I broke this in r155838 by not actually instantiating non-dependent default arg expressions. The motivation for that change was to avoid producing duplicate conversion warnings for such default args (we produce them once when we parse the template - there's no need to produce them at each instantiation) but without actually instantiating the default arg, things break in weird ways. Technically, I think we could still get the right diagnostic experience without the bugs if we instantiated the non-dependent args (for non-dependent params only) immediately, rather than lazily. But I'm not sure if such a refactoring/ change would be desirable so here's the conservative fix for now. llvm-svn: 155893
-
Ted Kremenek authored
Place several uncovered warnings under warning flags, and tweak diagnostic output including the term "gc" (in lowercase). llvm-svn: 155892
-
Craig Topper authored
llvm-svn: 155891
-
Craig Topper authored
Remove HasSSE2 from AES and CLMUL predicates. It's now implied by the HasAES and HasCLMUL predicates. llvm-svn: 155890
-
John McCall authored
llvm-svn: 155889
-
Craig Topper authored
llvm-svn: 155888
-
Ted Kremenek authored
Teach RetainCountchecker about IORegistryEntrySearchCFProperty returning retained objects. I know there is an SDK enhancement request for this to have the cf_returns_retained annotation, so this is just a stop gap. llvm-svn: 155887
-
John McCall authored
what I'm going to treat as basically universal properties of array-cookie code. Implement MS array cookies on top of that. Based on a patch by Timur Iskhodzhanov! llvm-svn: 155886
-
Craig Topper authored
llvm-svn: 155885
-
Nick Lewycky authored
has no exit blocks. Fixes PR12706! llvm-svn: 155884
-
David Blaikie authored
Review by Doug Gregor. llvm-svn: 155880
-
John McCall authored
type-source information for its parameters. Don't crash when mangling them in the MS C++ ABI. Patch by Timur Iskhodzhanov! llvm-svn: 155879
-
Douglas Gregor authored
llvm-svn: 155878
-
Douglas Gregor authored
llvm-svn: 155877
-
Douglas Gregor authored
diagnostic, from Eitan Adler! llvm-svn: 155876
-
Douglas Gregor authored
llvm-svn: 155875
-