- Jun 20, 2012
-
-
Bill Wendling authored
llvm-svn: 158764
-
Alexis Hunt authored
llvm-svn: 158763
-
Chad Rosier authored
llvm-svn: 158762
-
DeLesley Hutchins authored
attributes into the ThreadSafetyAttributes group, where the other warnings currently live. llvm-svn: 158761
-
Tanya Lattner authored
Add error checking for the static qualifier which is now allowed in certain situations for OpenCL 1.2. Use the CL version to turn on this feature. Added test case for 1.2 static storage class feature. llvm-svn: 158759
-
Chad Rosier authored
ensureAlignment() in MachineFunction). Also, drop setMaxAlignment() in favor of this new function. This creates a main entry point to setting MaxAlignment, which will be helpful for future work. No functionality change intended. llvm-svn: 158758
-
Lang Hames authored
This patch adds DAG combines to form FMAs from pairs of FADD + FMUL or FSUB + FMUL. The combines are performed when: (a) Either AllowExcessFPPrecision option (-enable-excess-fp-precision for llc) OR UnsafeFPMath option (-enable-unsafe-fp-math) are set, and (b) TargetLoweringInfo::isFMAFasterThanMulAndAdd(VT) is true for the type of the FADD/FSUB, and (c) The FMUL only has one user (the FADD/FSUB). If your target has fast FMA instructions you can make use of these combines by overriding TargetLoweringInfo::isFMAFasterThanMulAndAdd(VT) to return true for types supported by your FMA instruction, and adding patterns to match ISD::FMA to your FMA instructions. llvm-svn: 158757
-
Fariborz Jahanian authored
name as an existing ivar since this is common source of error when people remove @synthesize to take advantage of autosynthesis. // rdar://11671080 llvm-svn: 158756
-
Jakob Stoklund Olesen authored
llvm-svn: 158755
-
Chad Rosier authored
llvm-svn: 158754
-
Bill Wendling authored
llvm-svn: 158753
-
Bill Wendling authored
llvm-svn: 158752
-
Johnny Chen authored
Chnage VerifyWatchpointIDs() from a static function to a class function to be called from other source files. llvm-svn: 158751
-
Aaron Ballman authored
Reapplying the changes from r158717 as they were rolled back to avoid merge conflicts from a separate problematic patch. llvm-svn: 158750
-
- Jun 19, 2012
-
-
Jakob Stoklund Olesen authored
The original r158700 caused crashes in the gcc test suite, g++.abi/vtable3a.C among others. It also caused failures in the libc++ test suite. llvm-svn: 158749
-
Jakob Stoklund Olesen authored
The test was failing on Linux because of asm syntax differences. llvm-svn: 158748
-
Richard Smith authored
types to actually includes the value, rather than saying <uninitialized>. llvm-svn: 158745
-
David Blaikie authored
llvm-svn: 158744
-
Jakob Stoklund Olesen authored
The PPC::EXTSW instruction preserves the low 32 bits of its input, just like some of the x86 instructions. Use it to reduce register pressure when the low 32 bits have multiple uses. This requires a small change to PeepholeOptimizer since EXTSW takes a 64-bit input register. This is related to PR5997. llvm-svn: 158743
-
Jakob Stoklund Olesen authored
No functional change. llvm-svn: 158742
-
James Dennett authored
llvm-svn: 158741
-
James Dennett authored
llvm-svn: 158740
-
James Dennett authored
also being sufficiently conformant to LLVM's coding standards. llvm-svn: 158739
-
Fariborz Jahanian authored
initializer need be null initialized before initializer takes hold, just like any other initialized retainable object pointer. // rdar://11016025 llvm-svn: 158738
-
Johnny Chen authored
Test suite cleanup: use Python API to remove files as part of cleanup instead of running OS commands. llvm-svn: 158737
-
Ted Kremenek authored
llvm-svn: 158735
-
Chad Rosier authored
rdar://11684107 llvm-svn: 158734
-
Kaelyn Uhrain authored
llvm-svn: 158733
-
Meador Inge authored
r158085 added some logic to track predefined declarations. The main reason we had predefined declarations in the input was because the __builtin_va_list declarations were injected into the preprocessor input. As of r158592 we explicitly build the __builtin_va_list declarations. Therefore the predefined decl tracking is no longer needed. llvm-svn: 158732
-
Alexis Hunt authored
llvm-svn: 158731
-
Marshall Clow authored
llvm-svn: 158730
-
Chad Rosier authored
llvm-svn: 158729
-
Bill Wendling authored
llvm-svn: 158728
-
Chad Rosier authored
filed, but still missing the preprocessed source and associated run script. rdar://11684107 llvm-svn: 158727
-
Bill Wendling authored
llvm-svn: 158726
-
Chandler Carruth authored
StringMap suffered from the same bug as DenseMap: when you explicitly construct it with a small number of buckets, you can arrange for the tombstone-based growth path to be followed when the number of buckets was less than '8'. In that case, even with a full map, it would compare '0' as not less than '0', and refuse to grow the table, leading to inf-loops trying to find an empty bucket on the next insertion. The fix is very simple: use '<=' as the comparison. The same fix was applied to DenseMap as well during its recent refactoring. Thanks to Alex Bolz for the great report and test case. =] llvm-svn: 158725
-
Chandler Carruth authored
GoogleTest already prints errors with all the information about which test case contained the error. llvm-svn: 158724
-
Benjamin Kramer authored
Should silence warnings when compiling the X86 disassembler. llvm-svn: 158723
-
Jan Wen Voung authored
The condition code didn't actually matter for arm "b" instructions, unlike "bl". It should just use the R_ARM_JUMP24 reloc. llvm-svn: 158722
-
Hal Finkel authored
For processors with the G5-like instruction-grouping scheme, this helps avoid early group termination due to a write-after-write dependency within the group. It should also help on pipelined embedded cores. On POWER7, over the test suite, this gives an average 0.5% speedup. The largest speedups are: SingleSource/Benchmarks/Stanford/Quicksort - 33% MultiSource/Applications/d/make_dparser - 21% MultiSource/Benchmarks/FreeBench/analyzer/analyzer - 12% MultiSource/Benchmarks/MiBench/telecomm-FFT/telecomm-fft - 12% Largest slowdowns: SingleSource/Benchmarks/Stanford/Bubblesort - 23% MultiSource/Benchmarks/Prolangs-C++/city/city - 21% MultiSource/Benchmarks/BitBench/uuencode/uuencode - 16% MultiSource/Benchmarks/mediabench/mpeg2/mpeg2dec/mpeg2decode - 13% llvm-svn: 158719
-