Commit Graph

70571 Commits

Author SHA1 Message Date
Bill Wendling
dbfa8045af Merging r128577
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@128579 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-30 21:44:24 +00:00
Bill Wendling
e2f380f127 --- Merging r127800 into '.':
U    test/CodeGen/X86/h-registers-1.ll



git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@128363 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-27 00:48:12 +00:00
Bill Wendling
db2629e109 Merge in fix for PR9561.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@128354 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-27 00:42:33 +00:00
Bill Wendling
59460aba2e * Change version to 2.9.
* Default to optimizations enabled.
* Default to assertions disabled.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@128269 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-25 07:56:32 +00:00
Bill Wendling
57b349390b --- Merging r127239 into '.':
U    test/Makefile
U    Makefile.rules
--- Merging r127240 into '.':
U    utils/llvm-lit/Makefile
--- Merging r127726 into '.':
U    lib/Support/raw_ostream.cpp
--- Merging r127730 into '.':
U    test/CodeGen/X86/dyn-stackalloc.ll



git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@128259 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-25 06:26:58 +00:00
Bill Wendling
3844109d1e --- Merging r127731 into '.':
U    test/CodeGen/X86/byval2.ll
U    test/CodeGen/X86/byval4.ll
U    test/CodeGen/X86/byval.ll
U    test/CodeGen/X86/byval3.ll
U    test/CodeGen/X86/byval5.ll
--- Merging r127732 into '.':
U    test/CodeGen/X86/stdarg.ll
U    test/CodeGen/X86/fold-mul-lohi.ll
U    test/CodeGen/X86/scalar-min-max-fill-operand.ll
U    test/CodeGen/X86/tailcallbyval64.ll
U    test/CodeGen/X86/stride-reuse.ll
U    test/CodeGen/X86/sse-align-3.ll
U    test/CodeGen/X86/sse-commute.ll
U    test/CodeGen/X86/stride-nine-with-base-reg.ll
U    test/CodeGen/X86/coalescer-commute2.ll
U    test/CodeGen/X86/sse-align-7.ll
U    test/CodeGen/X86/sse_reload_fold.ll
U    test/CodeGen/X86/sse-align-0.ll
--- Merging r127733 into '.':
U    test/CodeGen/X86/peep-vector-extract-concat.ll
U    test/CodeGen/X86/pmulld.ll
U    test/CodeGen/X86/widen_load-0.ll
U    test/CodeGen/X86/v2f32.ll
U    test/CodeGen/X86/apm.ll
U    test/CodeGen/X86/h-register-store.ll
U    test/CodeGen/X86/h-registers-0.ll
--- Merging r127734 into '.':
U    test/CodeGen/X86/2007-01-08-X86-64-Pointer.ll
U    test/CodeGen/X86/convert-2-addr-3-addr-inc64.ll
U    test/CodeGen/X86/avoid-lea-scale2.ll
U    test/CodeGen/X86/lea-3.ll
U    test/CodeGen/X86/vec_set-8.ll
U    test/CodeGen/X86/i64-mem-copy.ll
U    test/CodeGen/X86/x86-64-malloc.ll
U    test/CodeGen/X86/mmx-copy-gprs.ll
U    test/CodeGen/X86/vec_shuffle-17.ll
U    test/CodeGen/X86/2007-07-18-Vector-Extract.ll
--- Merging r127775 into '.':
U    test/CodeGen/X86/constant-pool-remat-0.ll
--- Merging r127872 into '.':
U    utils/lit/lit/TestingConfig.py
U    lib/Support/raw_ostream.cpp



git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@128258 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-25 06:22:54 +00:00
Bill Wendling
76c60c3241 --- Merging r128212 into '.':
U    lib/Transforms/Scalar/CodeGenPrepare.cpp
--- Merging r128217 into '.':
G    lib/Transforms/Scalar/CodeGenPrepare.cpp


git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@128223 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-24 18:07:13 +00:00
Bill Wendling
5bc870c8c3 --- Merging r128203 into '.':
U    lib/Target/ARM/ARMBaseInstrInfo.cpp



git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@128207 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-24 07:56:16 +00:00
Bill Wendling
81d1e0bcac --- Merging r127723 into '.':
U    lib/Support/Windows/Path.inc



git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@128202 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-24 06:17:12 +00:00
Bill Wendling
c9acfcd22c PR9505:
--- Merging r127858 into '.':
U    tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp



git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@128201 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-24 06:12:07 +00:00
Bill Wendling
962a797052 --- Merging r127981 into '.':
U    include/llvm/Target/TargetLowering.h
U    lib/Target/X86/X86ISelLowering.cpp
U    lib/Target/X86/X86ISelLowering.h
U    lib/Target/ARM/ARMISelLowering.h
U    lib/Target/ARM/ARMISelLowering.cpp
U    lib/Transforms/Scalar/CodeGenPrepare.cpp
--- Merging r128194 into '.':
G    lib/Transforms/Scalar/CodeGenPrepare.cpp
--- Merging r128196 into '.':
G    lib/Transforms/Scalar/CodeGenPrepare.cpp
--- Merging r128197 into '.':
A    test/CodeGen/X86/tailcall-returndup-void.ll
G    lib/Transforms/Scalar/CodeGenPrepare.cpp



git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@128200 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-24 06:00:53 +00:00
Bill Wendling
450fcbb230 --- Merging r127871 into '.':
U    lib/Support/APFloat.cpp



git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@128174 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-23 22:06:16 +00:00
Bill Wendling
1a4b44e2bd --- Merging r128100 into '.':
U    lib/Target/ARM/ARMFastISel.cpp



git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@128101 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-22 19:45:56 +00:00
Bill Wendling
17678da4db Fix Win64 va_arg.
--- Merging r127328 into '.':
U    test/CodeGen/X86/win64_vararg.ll
U    lib/Target/X86/X86ISelLowering.cpp



git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@128044 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-22 00:19:46 +00:00
Bill Wendling
fcce259185 For PR9500.
--- Merging r128041 into '.':
U    test/CodeGen/X86/fast-isel-gep.ll
U    lib/Target/X86/X86FastISel.cpp



git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@128042 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-22 00:16:16 +00:00
Bill Wendling
7520d84941 --- Merging r127780 into '.':
U    test/MC/ELF/tls-i386.s
U    lib/MC/MCELFStreamer.cpp



git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@128032 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-21 22:49:24 +00:00
Bill Wendling
1b858c8e37 For PR2928
--- Merging r127325 into '.':
U    Makefile.rules



git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@127689 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-15 20:00:14 +00:00
Bill Wendling
307c2f5199 For PR9480:
--- Merging r127241 into '.':
U    lib/Support/regcomp.c



git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@127631 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-14 23:06:23 +00:00
Bill Wendling
fc3b6f3a4d --- Merging r127464 into '.':
U    test/Transforms/InstCombine/select.ll
U    lib/Transforms/InstCombine/InstCombineSelect.cpp



git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@127609 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-14 20:06:27 +00:00
Oscar Fuentes
494b8934d0 Remove toy code from cmake script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@127567 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-13 16:10:40 +00:00
Eric Christopher
acc448ebfe Merge r127441 from mainline.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@127443 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-11 01:10:05 +00:00
Eric Christopher
5705843fd1 Merge r127263 from mainline, fixes PR9427 for 2.9.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@127437 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-11 00:11:06 +00:00
Eric Christopher
73dc78f1e7 Merge r127298 from mainline.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@127435 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-10 23:58:13 +00:00
Bill Wendling
7a8ed97dfb For PR9438:
--- Merging r127350 into '.':
D    test/CodeGen/X86/2009-03-11-CoalescerBug.ll

--- Merging r127351 into '.':
A    test/CodeGen/X86/2011-03-09-Physreg-Coalescing.ll
U    test/CodeGen/X86/fold-pcmpeqd-2.ll
U    lib/CodeGen/SimpleRegisterCoalescing.cpp



git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@127384 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-10 01:09:20 +00:00
Oscar Fuentes
ec2be4d866 CMake: fix handling of engine' link components.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@127361 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-09 21:21:29 +00:00
Bill Wendling
f4352fe847 --- Reverse-merging r126896 into '.':
D    test/FrontendC/2011-03-02-UnionInitializer.c



git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@127276 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-08 21:44:29 +00:00
Bill Wendling
b59f9773f6 Merge r127264:
Fix the build for MSVC 9 whose upper_bound() wants to compare elements in the
sorted array.

Patch by Olaf Krzikalla!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@127273 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-08 21:40:31 +00:00
Bill Wendling
3043cf95b1 Don't show commands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@127226 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-08 08:57:10 +00:00
Bill Wendling
c57491aa8e Creating LLVM 2.9 release branch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@127210 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-08 02:56:50 +00:00
Bill Wendling
591432136c A few more tests for instruction encodings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127209 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-08 02:51:48 +00:00
Eric Christopher
7c2cdb1c05 Turn on list-ilp scheduling by default on x86 and x86-64, fix up
testcases accordingly. Some are currently xfailed and will be filed
as bugs to be fixed or understood.

Performance results:

roughly neutral on SPEC
some micro benchmarks in the llvm suite are up between 100 and 150%, only
a pair of regressions that are due to be investigated

john-the-ripper saw:
10% improvement in traditional DES
8% improvement in BSDI DES
59% improvement in FreeBSD MD5
67% improvement in OpenBSD Blowfish
14% improvement in LM DES

Small compile time impact.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127208 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-08 02:42:25 +00:00
Andrew Trick
0bf56c821c Further improvements to pre-RA-sched=list-ilp.
This change uses the MaxReorderWindow for both height and depth, which
tends to limit the negative effects of high register pressure.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127203 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-08 01:51:56 +00:00
Bob Wilson
79f56c9618 Fix a compiler crash where a Glue value had multiple uses. Radar 9049552.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127198 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-08 01:17:20 +00:00
Bob Wilson
1b772f9962 Fix comment typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127197 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-08 01:17:16 +00:00
Bill Wendling
3116dce338 Rename the narrow shift right immediate operands to "shr_imm*" operands. Also
expand the testing of the narrowing shift right instructions.

No functionality change.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127193 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-07 23:38:41 +00:00
Jakob Stoklund Olesen
0d8ccaa5c8 Let shrinkToUses optionally return a list of now dead machine instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127192 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-07 23:29:10 +00:00
Eric Christopher
d756eceb83 Typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127186 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-07 22:48:16 +00:00
Devang Patel
cd77a50e63 Preserve line no. info.
Radar 9097659


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127182 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-07 22:43:45 +00:00
Jakob Stoklund Olesen
1973b3e254 Make the UselessRegs argument optional in the LiveRangeEdit constructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127181 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-07 22:42:16 +00:00
Cameron Zwarich
be2119e8e2 Move getRegPressureLimit() from TargetLoweringInfo to TargetRegisterInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127175 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-07 21:56:36 +00:00
Rafael Espindola
e390b3245f Add test for r127138.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127172 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-07 21:28:14 +00:00
Duncan Sands
e54f64899f Often GCC can see that NumBuckets is zero here, resulting in a warning
about possibly swapped memset parameters.  Avoid the warning.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127170 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-07 19:38:38 +00:00
Jim Grosbach
42daf912e0 Tidy up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127169 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-07 19:28:43 +00:00
Jakob Stoklund Olesen
a9d5c2715b Handle the special case of registers begin redefined by early-clobber defs.
In this case, the value need to be available at the load index instead of the
normal use index.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127167 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-07 18:56:16 +00:00
Owen Anderson
6154f6c929 Use the correct LHS type when determining the legalization of a shift's RHS type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127163 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-07 18:29:47 +00:00
Justin Holewinski
a6428a401b ptx: Fix calling convention printing in AsmWriter.cpp
This allows LLVM IR using ptx_kernel or ptx_device calling
conventions to be properly printed when emitted in text form.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127157 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-07 14:32:30 +00:00
Duncan Sands
dea3a5e202 Clarify that the result of an srem is only guaranteed to have the same sign as the
left-hand-side if the result is non-zero.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127156 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-07 09:12:24 +00:00
Bill Wendling
e7e9a60df6 Don't keep the log files around. Just pipe to a log file instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127155 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-07 07:37:37 +00:00
Bill Wendling
f16fe9ef55 Fix tagging name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127154 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-07 07:37:12 +00:00
Argyrios Kyrtzidis
a36be82664 Try fixing mingw build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127153 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-07 05:35:01 +00:00