- Apr 30, 2012
-
-
Eli Bendersky authored
- Add comments - Change field names to be more reasonable - Fix indentation and naming to conform to coding conventions - Remove unnecessary includes / replace them by forward declatations llvm-svn: 155815
-
Bill Wendling authored
llvm-svn: 155813
-
Craig Topper authored
llvm-svn: 155811
-
Pete Cooper authored
Copied all the VEX prefix encoding code from X86MCCodeEmitter to the x86 JIT emitter. Needs some major refactoring as these two code emitters are almost identical llvm-svn: 155810
-
Rafael Espindola authored
inputs. llvm-svn: 155809
-
David Blaikie authored
filter_decl_iterator had a weird mismatch where both op* and op-> returned T* making it difficult to generalize this filtering behavior into a reusable library of any kind. This change errs on the side of value, making op-> return T* and op* return T&. (reviewed by Richard Smith) llvm-svn: 155808
-
David Blaikie authored
This ought to fix PR11926, a crash when when running Clang built with GCC 4.7 llvm-svn: 155805
-
Richard Smith authored
g++4.7, which reuses stack space allocated for temporaries. CFGElement::getAs returns a suitably-cast version of 'this'. Patch by Markus Trippelsdorf! No test: this code has the same observable behavior as the old code when built with most compilers, and the tests were already failing when built with a compiler for which this produced a broken binary. llvm-svn: 155803
-
- Apr 29, 2012
-
-
Jakub Staszak authored
llvm-svn: 155800
-
Craig Topper authored
llvm-svn: 155799
-
Craig Topper authored
llvm-svn: 155798
-
Kalle Raiskila authored
llvm-svn: 155797
-
Benjamin Kramer authored
llvm-svn: 155795
-
Eli Bendersky authored
llvm-svn: 155793
-
Eli Bendersky authored
if !ForceInterpreteri). It has no effect (apart from a memory leak...) llvm-svn: 155792
-
Benjamin Kramer authored
llvm-svn: 155791
-
Eli Bendersky authored
llvm-svn: 155790
-
Richard Smith authored
type. But a glvalue can be reinterpret_cast to either flavor of reference. llvm-svn: 155789
-
Richard Smith authored
victim. Don't crash if we have a delay-parsed exception specification for a class member which is invalid in a way which precludes building a FunctionDecl. llvm-svn: 155788
-
Craig Topper authored
llvm-svn: 155787
-
Craig Topper authored
llvm-svn: 155786
-
Craig Topper authored
Mark the default cases of MVT::getVectorElementType and MVT:getVectorNumElements as unreachable to reduce code size. llvm-svn: 155785
-
Richard Smith authored
diagnostic, add a test for this paragraph, and tighten up the diagnostic wording a little. llvm-svn: 155784
-
- Apr 28, 2012
-
-
Jakob Stoklund Olesen authored
We don't compute spill weights until after coalescing anyway. llvm-svn: 155766
-
Jakob Stoklund Olesen authored
llvm-svn: 155765
-
Julien Lerouge authored
i32 __builtin_annotation(i32, string); Applying it to i64 (e.g., long long) generates the following IR. trunc i64 {{.*}} to i32 call i32 @llvm.annotation.i32 zext i32 {{.*}} to i64 The redundant truncation and extension make the result difficult to use. This patch makes __builtin_annotation() generic. type __builtin_annotation(type, string); For the i64 example, it simplifies the generated IR to: call i64 @llvm.annotation.i64 Patch by Xi Wang! llvm-svn: 155764
-
Howard Hinnant authored
llvm-svn: 155763
-
Chris Lattner authored
t.c:3:9: error: expected expression if (x)) { ^ .. which isn't even true - a statement or expression is fine. After: t.c:3:9: error: extraneous ')' after condition, expected a statement if (x)) { ^ This is the second part of PR12595 llvm-svn: 155762
-
Benjamin Kramer authored
This way we can enable the POD-like class optimization for a lot more classes, saving ~120k of code in clang/i386/Release+Asserts when selfhosting. llvm-svn: 155761
-
Benjamin Kramer authored
llvm-svn: 155760
-
Chris Lattner authored
us to improve this diagnostic (telling us to insert another ")": t.c:2:19: error: expected ';' at end of declaration int x = 4+(5-12)); ^ ; to: t.c:2:19: error: extraneous ')' before ';' int x = 4+(5-12)); ^ ...telling us to remove the ")". This is PR12595. There are more uses of ExpectAndConsumeSemi that could be switched over, but I don't hit them on a daily basis :) llvm-svn: 155759
-
Benjamin Kramer authored
llvm-svn: 155758
-
Benjamin Kramer authored
llvm-svn: 155757
-
Benjamin Kramer authored
Rename isPODType (using the C++98 rules) into isCXX98PODType and make isPODType decide which one to use based on LangOptions. - -Wc++98-compat depends on the c++98 definition - Now __is_pod returns the right thing in c++11 and c++98 mode - All changes to the type traits test are validated against g++ 4.7 llvm-svn: 155756
-
Benjamin Kramer authored
This is just papering over a major bug in isPODType, real fix coming up soon. llvm-svn: 155755
-
Benjamin Kramer authored
Keep the old definition for C++98 so we don't break tr1::is_pod. llvm-svn: 155754
-
Jakob Stoklund Olesen authored
The code could search past the end of the basic block when there was already a constant pool entry after the block. Test case with giant basic block in SingleSource/UnitTests/Vector/constpool.c llvm-svn: 155753
-
Jordy Rose authored
[analyzer] Remove references to idx::TranslationUnit. Index is dead, cross-TU inlining never panned out. llvm-svn: 155751
-
Sean Callanan authored
disallowing reads over 1KiB in total size unless the user explicitly allows them. llvm-svn: 155750
-
Andrew Trick authored
This time, also fix the caller of AddGlue to properly handle incomplete chains. AddGlue had failure modes, but shamefully hid them from its caller. It's luck ran out. Fixes rdar://11314175: BuildSchedUnits assert. llvm-svn: 155749
-