- Sep 30, 2011
-
-
Akira Hatanaka authored
Patch by Reed Kotler at Mips Technologies. llvm-svn: 140878
-
Benjamin Kramer authored
This time the warning found an actual bug, we don't want to handle force_align_arg_pointer differently than __force_align_arg_pointer__. llvm-svn: 140877
-
-
Jim Grosbach authored
llvm-svn: 140875
-
Andrew Trick authored
llvm-svn: 140874
-
Andrew Trick authored
llvm-svn: 140873
-
Akira Hatanaka authored
llvm-svn: 140872
-
Eli Friedman authored
llvm-svn: 140871
-
Akira Hatanaka authored
llvm-svn: 140870
-
Jim Grosbach authored
InstCombine was incorrectly considering the conversion of the constant zero to be unsafe. We want to transform: define float @bar(float %x) nounwind readnone optsize ssp { %conv = fpext float %x to double %cmp = fcmp olt double %conv, 0.000000e+00 %conv1 = zext i1 %cmp to i32 %conv2 = sitofp i32 %conv1 to float ret float %conv2 } Into: define float @bar(float %x) nounwind readnone optsize ssp { %cmp = fcmp olt float %x, 0.000000e+00 ; <---- This %conv1 = zext i1 %cmp to i32 %conv2 = sitofp i32 %conv1 to float ret float %conv2 } rdar://10215914 llvm-svn: 140869
-
Bill Wendling authored
llvm-svn: 140868
-
Fariborz Jahanian authored
pointer to this struct must go through the none ivar writer barrier. llvm-svn: 140867
-
Eli Friedman authored
llvm-svn: 140866
-
Jim Grosbach authored
llvm-svn: 140865
-
Argyrios Kyrtzidis authored
Patch by Paolo Capriotti! llvm-svn: 140864
-
Jim Grosbach authored
This matches clang, so default options in llc and friends are now closer to clang's defaults. llvm-svn: 140863
-
Akira Hatanaka authored
llvm-svn: 140862
-
Jim Grosbach authored
Remove an assert that was expecting only the relevant 16bit portion for the fixup being handled. Also kill some dead code in the T2 portion. rdar://9653509 llvm-svn: 140861
-
Akira Hatanaka authored
llvm-svn: 140860
-
Jakob Stoklund Olesen authored
Thanks to Alexandru Dura and Jonas Paulsson for finding it. llvm-svn: 140859
-
Duncan Sands authored
is a catch-all landingpad clause. llvm-svn: 140858
-
Howard Hinnant authored
llvm-svn: 140857
-
Danil Malyshev authored
llvm-svn: 140856
-
Justin Holewinski authored
llvm-svn: 140855
-
Justin Holewinski authored
Also take this opportunity to clean up the rounding mode pass. llvm-svn: 140854
-
David Chisnall authored
Remove the conditional that avoided passing the Objective-C runtime specification flags to cc1. This fixes PR10369 (__builtin_NSStringMakeConstantString() selecting the wrong runtime in C / C++ code and crashing, although it doesn't fix the problem that instantiating the Mac runtime for non-Darwin targets was crashing.) llvm-svn: 140853
-
Duncan Sands authored
catch or repeated filter clauses. Teach instcombine a bunch of tricks for simplifying landingpad clauses. Currently the code only recognizes the GNU C++ and Ada personality functions, but that doesn't stop it doing a bunch of "generic" transforms which are hopefully fine for any real-world personality function. If these "generic" transforms turn out not to be generic, they can always be conditioned on the personality function. Probably someone should add the ObjC++ personality function. I didn't as I don't know anything about it. llvm-svn: 140852
-
Torok Edwin authored
llvm-svn: 140851
-
Torok Edwin authored
thanks to Duncan. llvm-svn: 140850
-
Justin Holewinski authored
us to manually provide Pat<> definitions for all FP instruction patterns. llvm-svn: 140849
-
Torok Edwin authored
This helps with porting code from 2.9 to 3.0 as TargetSelect.h changed location, and if you include the old one by accident you will trigger this assert. llvm-svn: 140848
-
Sebastian Redl authored
Fix a bug in the token caching for inline constructors in C++11, and improve error recovery in both dialects. This should fix the GCC test suite failures as well. llvm-svn: 140847
-
John McCall authored
CoreFoundation object-transfer properties audited, and add a #pragma to cause them to be automatically applied to functions in a particular span of code. This has to be implemented largely in the preprocessor because of the requirement that the region be entirely contained in a single file; that's hard to impose from the parser without registering for a ton of callbacks. llvm-svn: 140846
-
Greg Clayton authored
llvm-svn: 140845
-
Ted Kremenek authored
Fix crash when analyzing C++ code involving constant enums and switch statements (<rdar://problem/10202899>). llvm-svn: 140844
-
Greg Clayton authored
llvm-svn: 140843
-
rdar://problem/10212450Greg Clayton authored
Don't parse function types all the time, only parse them lazily. llvm-svn: 140842
-
Akira Hatanaka authored
llvm-svn: 140841
-
Anna Zaks authored
[analyzer] Fix a bug in RetainReleaseChecker diagnostics. It gives more precise error message on the modified test case (and prevents duplicate diagnostics when we purge at block granularity). llvm-svn: 140840
-
Akira Hatanaka authored
immediate. llvm-svn: 140839
-