Bob Wilson [Wed, 29 Sep 2010 17:54:10 +0000 (17:54 +0000)]
Increase ARM APCS preferred alignment for i64 and f64 from 32 bits to 64 bits.
LDM/STM instructions can run one cycle faster on some ARM processors if the
memory address is 64-bit aligned. Radar
8489376.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115047
91177308-0d34-0410-b5e6-
96231b3b80d8
Jason W Kim [Wed, 29 Sep 2010 17:39:29 +0000 (17:39 +0000)]
Undoing test commit blank space.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115045
91177308-0d34-0410-b5e6-
96231b3b80d8
Jason W Kim [Wed, 29 Sep 2010 17:33:42 +0000 (17:33 +0000)]
Test commit -
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115044
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Grosbach [Wed, 29 Sep 2010 17:32:29 +0000 (17:32 +0000)]
Add braces for legibility.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115043
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Wed, 29 Sep 2010 15:59:37 +0000 (15:59 +0000)]
lit: Fix a subtle resource usage bug when executing tests using the internal
shell runner.
We would inadvertently end up holding on to handles to the temporary files
longer than we should have been. On Win32, where open handles lock some file
operations, this caused problems in tests which would try to move temporary
files around (as Clang does by default now).
Many thanks to Francois Pichet for the excellent detective work on this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115040
91177308-0d34-0410-b5e6-
96231b3b80d8
Oscar Fuentes [Wed, 29 Sep 2010 15:28:55 +0000 (15:28 +0000)]
Export LLVM_ALL_TARGETS in LLVM.cmake. It is used by LLVMConfig.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115039
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Grosbach [Wed, 29 Sep 2010 15:23:40 +0000 (15:23 +0000)]
One Printer to rule them all, One Printer to find them,
One Printer to lower them all and in the back end bind them.
(Remove option to use the old non-MC asm printer.)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115038
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Wed, 29 Sep 2010 14:52:01 +0000 (14:52 +0000)]
Move "local commons" to the end of .bss to match the gnu as behavior.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115037
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Wed, 29 Sep 2010 14:40:49 +0000 (14:40 +0000)]
Add a test that I forgot to add with a previous commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115036
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Wed, 29 Sep 2010 10:45:43 +0000 (10:45 +0000)]
do not compare actual branch labels; this may fix llvm-gcc-x86_64-darwin10-cross-mingw32 buildbot too
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115034
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Wed, 29 Sep 2010 10:12:08 +0000 (10:12 +0000)]
improve heuristics to find the 'and' corresponding to 'tst' to also catch opportunities on thumb2
added some doxygen on the way
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115033
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 29 Sep 2010 07:25:03 +0000 (07:25 +0000)]
add some random notes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115032
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 29 Sep 2010 05:34:42 +0000 (05:34 +0000)]
merge all the llvm-gcc pieces together. Recommend that people try dragonegg if they care about fortran performance.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115031
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 29 Sep 2010 05:30:03 +0000 (05:30 +0000)]
prepare for new content.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115030
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 29 Sep 2010 05:05:03 +0000 (05:05 +0000)]
fix rdar://
8490728 - llvm-mc rejects gpr64 form of 'movmskpd'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115029
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 29 Sep 2010 04:55:40 +0000 (04:55 +0000)]
add assembler support for the cvtsd2sil/cvtsd2siq mnemonics, rdar://
8456382
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115027
91177308-0d34-0410-b5e6-
96231b3b80d8
Michael J. Spencer [Wed, 29 Sep 2010 03:59:25 +0000 (03:59 +0000)]
MC-COFF: Fix test. IMAGE_SYM_CLASS_LABEL should never have been emitted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115024
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 29 Sep 2010 03:43:43 +0000 (03:43 +0000)]
make the x86 mccode emitter emit the 0x67 and 0x66 prefix bytes in the same
order as cctools for diffability.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115022
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 29 Sep 2010 03:33:25 +0000 (03:33 +0000)]
implement support for 32-bit address operands in 64-bit mode, which
are defined to emit the 0x67 prefix byte. rdar://
8482675
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115021
91177308-0d34-0410-b5e6-
96231b3b80d8
Michael J. Spencer [Wed, 29 Sep 2010 03:13:41 +0000 (03:13 +0000)]
MC-COFF: Fix symbol storage class for globals
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115020
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 29 Sep 2010 02:57:56 +0000 (02:57 +0000)]
add basic avx support to the disassembler, also teach it about ssmem/sdmem
operands.
With this done, we can remove the _Int suffixes from the round instructions
without the disassembler blowing up. This allows the assembler to support
them, implementing rdar://
8456376 - llvm-mc rejects 'roundss'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115019
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 29 Sep 2010 02:36:32 +0000 (02:36 +0000)]
add asmparser support for cvttpd2dq by removing some Int_ prefixes.
Clean up cvttps2dq by removing some redundant implementations of the
same instruction. rdar://
8456382
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115018
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 29 Sep 2010 02:24:57 +0000 (02:24 +0000)]
implement rdar://
8456382 - cvtsd2si support, by removing some Int_ prefixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115017
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 29 Sep 2010 01:50:45 +0000 (01:50 +0000)]
implement rdar://
8456378 and PR7557 - support for the fstsw,
an instruction that requires a WHOLE NEW wonderful kind of alias.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115015
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 29 Sep 2010 01:42:58 +0000 (01:42 +0000)]
change the protocol TargetAsmPArser::MatchInstruction method to take an
MCStreamer to emit into instead of an MCInst to fill in. This allows the
matcher extra flexibility and is more convenient.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115014
91177308-0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Wed, 29 Sep 2010 01:14:47 +0000 (01:14 +0000)]
Rework comparison handling to set a register on true/false. This avoids
problems with phi-nodes in blocks that have hard and not virtual registers.
Accordingly update branch handling to compensate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115013
91177308-0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Wed, 29 Sep 2010 00:50:57 +0000 (00:50 +0000)]
Remove unnecessary set ahead of time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115011
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 29 Sep 2010 00:49:25 +0000 (00:49 +0000)]
Separate itinerary classes for mvn from mov; for tst / teq from cmp / cmn.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115010
91177308-0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Wed, 29 Sep 2010 00:49:09 +0000 (00:49 +0000)]
Remove assert, add comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115009
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 29 Sep 2010 00:27:46 +0000 (00:27 +0000)]
Assign bitwise binary instructions different itinerary classes from ALU instructions such as add / sub.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115008
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 28 Sep 2010 23:50:49 +0000 (23:50 +0000)]
Add support to model pipeline bypass / forwarding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115005
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Tue, 28 Sep 2010 23:24:18 +0000 (23:24 +0000)]
And remove r114997's test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115003
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Tue, 28 Sep 2010 23:11:55 +0000 (23:11 +0000)]
Revert r114997. It was causing a failure on darwin10-selfhost.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115002
91177308-0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Tue, 28 Sep 2010 22:47:54 +0000 (22:47 +0000)]
32-bit constant ints only for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115001
91177308-0d34-0410-b5e6-
96231b3b80d8
Oscar Fuentes [Tue, 28 Sep 2010 22:39:14 +0000 (22:39 +0000)]
Removed a bunch of unnecessary target_link_libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114999
91177308-0d34-0410-b5e6-
96231b3b80d8
Oscar Fuentes [Tue, 28 Sep 2010 22:38:39 +0000 (22:38 +0000)]
Simplified LLVMConfig.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114998
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Tue, 28 Sep 2010 22:36:56 +0000 (22:36 +0000)]
Fix a FIXME. _foo.eh symbols are currently always exported so that the linker
knows about them. This is not necessary on 10.6 and later.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114997
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Tue, 28 Sep 2010 22:07:19 +0000 (22:07 +0000)]
When an MDNode changes to become identical to another MDNode,
delete the MDNode that changed, rather than the other MDNode.
This is less work, because it doesn't require the changed node
to be re-inserted into the uniquing map and it doesn't require
the is-function-local flag to be recomputed. Also, it avoids
trouble when the existing node is part of a complicated
data structure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114996
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Tue, 28 Sep 2010 21:57:50 +0000 (21:57 +0000)]
Add a subtarget hook for reporting the misprediction penalty. Use this to provide more precise
cost modeling for if-conversion. Now if only we had a way to estimate the misprediction probability.
Adjsut CodeGen/ARM/ifcvt10.ll. The pipeline on Cortex-A8 is long enough that it is still profitable
to predicate an ldm, but the shorter pipeline on Cortex-A9 makes it unprofitable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114995
91177308-0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Tue, 28 Sep 2010 21:55:34 +0000 (21:55 +0000)]
Integer materialization needed the same thinko change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114994
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Tue, 28 Sep 2010 21:40:26 +0000 (21:40 +0000)]
Resolve this GCC warning:
ARMTargetMachine.cpp:53: error: control reaches end of non-void function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114992
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Tue, 28 Sep 2010 21:39:26 +0000 (21:39 +0000)]
User proper libcall names & condcodes while compiling for ARM EABI.
Patch by Evzen Muller!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114991
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Tue, 28 Sep 2010 21:02:55 +0000 (21:02 +0000)]
Scope a varible inside an if statement, to make it clear that
it's not used afterwards.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114986
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Tue, 28 Sep 2010 20:42:15 +0000 (20:42 +0000)]
Give the if-converter access to MachineLoopInfo, and use it to generate plausible branch prediction
estimates.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114981
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Tue, 28 Sep 2010 18:54:43 +0000 (18:54 +0000)]
Fix spelling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114974
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Tue, 28 Sep 2010 18:32:13 +0000 (18:32 +0000)]
Part one of switching to using a more sane heuristic for determining if-conversion profitability.
Rather than having arbitrary cutoffs, actually try to cost model the conversion.
For now, the constants are tuned to more or less match our existing behavior, but these will be
changed to reflect realistic values as this work proceeds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114973
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Tue, 28 Sep 2010 18:18:36 +0000 (18:18 +0000)]
Make ConstantRange::makeICmpRegion handle all the edge cases properly. This
also fixes PR8250.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114972
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Tue, 28 Sep 2010 18:08:20 +0000 (18:08 +0000)]
Provide an interface to let FEs anchor debug info for types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114969
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Grosbach [Tue, 28 Sep 2010 17:10:36 +0000 (17:10 +0000)]
Add target triple info to these tests to make the results comparable when
hosted on different platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114965
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Grosbach [Tue, 28 Sep 2010 17:05:56 +0000 (17:05 +0000)]
Factor out dbg_value comment printing and teach MC asm printing to use it.
This should make the arm-linux self-host buildbot happy again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114964
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Tue, 28 Sep 2010 16:19:11 +0000 (16:19 +0000)]
On elf, undefined symbols can start with .L.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114958
91177308-0d34-0410-b5e6-
96231b3b80d8
Oscar Fuentes [Tue, 28 Sep 2010 14:24:47 +0000 (14:24 +0000)]
Use the canonical library name for library PIC16Passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114953
91177308-0d34-0410-b5e6-
96231b3b80d8
Oscar Fuentes [Tue, 28 Sep 2010 14:02:45 +0000 (14:02 +0000)]
Added library LLVMPIC16passes to CMake build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114952
91177308-0d34-0410-b5e6-
96231b3b80d8
Oscar Fuentes [Tue, 28 Sep 2010 14:02:36 +0000 (14:02 +0000)]
Added PTX target to the CMake build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114951
91177308-0d34-0410-b5e6-
96231b3b80d8
Oscar Fuentes [Tue, 28 Sep 2010 11:48:19 +0000 (11:48 +0000)]
Add ARM Disassembler to the CMake build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114949
91177308-0d34-0410-b5e6-
96231b3b80d8
Che-Liang Chiou [Tue, 28 Sep 2010 10:06:53 +0000 (10:06 +0000)]
Remove trailing spaces of MipsMachineFunction.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114948
91177308-0d34-0410-b5e6-
96231b3b80d8
Che-Liang Chiou [Tue, 28 Sep 2010 09:55:24 +0000 (09:55 +0000)]
Remove trailing spaces of MipsTargetObjectFile.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114947
91177308-0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Tue, 28 Sep 2010 04:18:29 +0000 (04:18 +0000)]
80-col fixups.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114943
91177308-0d34-0410-b5e6-
96231b3b80d8
Bob Wilson [Tue, 28 Sep 2010 04:09:35 +0000 (04:09 +0000)]
Add a command line option "-arm-strict-align" to disallow unaligned memory
accesses for ARM targets that would otherwise allow it. Radar
8465431.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114941
91177308-0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Tue, 28 Sep 2010 01:21:42 +0000 (01:21 +0000)]
Rework builtin handling and call setup. The builtin handling
now takes a libcall operand, sets up the arguments correctly and
handles stack adjustments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114934
91177308-0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Tue, 28 Sep 2010 00:35:33 +0000 (00:35 +0000)]
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114931
91177308-0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Tue, 28 Sep 2010 00:35:09 +0000 (00:35 +0000)]
Fix fp constant loads to have a destination register.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114930
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Mon, 27 Sep 2010 23:15:27 +0000 (23:15 +0000)]
Remove dead argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114920
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Mon, 27 Sep 2010 22:58:54 +0000 (22:58 +0000)]
Weight loop unrolling counts by nesting depth. Unrolling deeply nested loops tends to cause high
register pressure and thus excess spills, which we don't currently recover from well. This should
be re-evaluated in the future if our ability to generate good spills/splits improves.
Partial fix for <rdar://problem/
7635585>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114919
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Grosbach [Mon, 27 Sep 2010 22:28:11 +0000 (22:28 +0000)]
Enable the MC-ized ARM asm printer. Passing all local tests, so it's time to
enable it for real. Leaving the CL option in place to it's easy to disable it
again if (when) testers find something I've missed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114915
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Mon, 27 Sep 2010 22:04:54 +0000 (22:04 +0000)]
Write relocations in the end of the file. This matches what gas does and
makes files easier to diff.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114898
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Grosbach [Mon, 27 Sep 2010 21:47:04 +0000 (21:47 +0000)]
ARM-mode eh.sjlj.longjmp MC lowering
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114896
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Mon, 27 Sep 2010 21:40:27 +0000 (21:40 +0000)]
Make sure .text doesn't produce extra alignment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114895
91177308-0d34-0410-b5e6-
96231b3b80d8
Jakob Stoklund Olesen [Mon, 27 Sep 2010 21:29:20 +0000 (21:29 +0000)]
Don't try to constant fold libm functions with non-finite arguments.
Usually we wouldn't do this anyway because llvm_fenv_testexcept would return an
exception, but we have seen some cases where neither errno nor fenv detect an
exception on arm-linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114893
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Grosbach [Mon, 27 Sep 2010 21:28:44 +0000 (21:28 +0000)]
Enable the MC-ized ARM asm printer. Passing all local tests, so it's time to
enable it for real. Leaving the CL option in place to it's easy to disable it
again if (when) testers find something I've missed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114892
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Mon, 27 Sep 2010 21:23:02 +0000 (21:23 +0000)]
Factor symbol value computation into a function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114891
91177308-0d34-0410-b5e6-
96231b3b80d8
Michael J. Spencer [Mon, 27 Sep 2010 21:17:39 +0000 (21:17 +0000)]
MC-COFF: Fix signed/unsigned comparison.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114888
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 27 Sep 2010 21:17:15 +0000 (21:17 +0000)]
reapply developer policy changes after discussion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114886
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Mon, 27 Sep 2010 20:17:45 +0000 (20:17 +0000)]
Add a new scope type "LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN" for the
"linker_private_weak_auto_def" linkage type for LTO.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114868
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Mon, 27 Sep 2010 20:12:58 +0000 (20:12 +0000)]
Hard to imagine there are still people using inferior compilers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114862
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Mon, 27 Sep 2010 20:12:52 +0000 (20:12 +0000)]
MC/AsmParser: Handle exponents in floating point literals.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114861
91177308-0d34-0410-b5e6-
96231b3b80d8
Jakob Stoklund Olesen [Mon, 27 Sep 2010 18:43:48 +0000 (18:43 +0000)]
Revert "Disable codegen prepare critical edge splitting. Machine instruction passes now"
This reverts revision 114633. It was breaking llvm-gcc-i386-linux-selfhost.
It seems there is a downstream bug that is exposed by
-cgp-critical-edge-splitting=0. When that bug is fixed, this patch can go back
in.
Note that the changes to tailcallfp2.ll are not reverted. They were good are
required.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114859
91177308-0d34-0410-b5e6-
96231b3b80d8
Jakob Stoklund Olesen [Mon, 27 Sep 2010 18:43:43 +0000 (18:43 +0000)]
Explicitly disable CGP critical edge splitting for this test so it won't break
by reenabling it temporarily.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114858
91177308-0d34-0410-b5e6-
96231b3b80d8
Jakob Stoklund Olesen [Mon, 27 Sep 2010 18:43:40 +0000 (18:43 +0000)]
Don't depend on basic block numbering.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114857
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Mon, 27 Sep 2010 18:31:37 +0000 (18:31 +0000)]
Odd additional stub framework for the ARM MC ELF emission.
llc now recognizes the "intent" to support MC/obj emission for ARM, but
given that they are all stubs, it asserts on --filetype=obj --march=arm
Patch by Jason Kim.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114856
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Mon, 27 Sep 2010 18:13:03 +0000 (18:13 +0000)]
Remove unused argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114852
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Mon, 27 Sep 2010 18:05:19 +0000 (18:05 +0000)]
The "linker_private_weak*" linkages should set the LTO_SYMBOL_DEFINITION_WEAK
during LTO.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114850
91177308-0d34-0410-b5e6-
96231b3b80d8
Benjamin Kramer [Mon, 27 Sep 2010 17:42:11 +0000 (17:42 +0000)]
Push twines deeper into SourceMgr's error handling methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114847
91177308-0d34-0410-b5e6-
96231b3b80d8
Dale Johannesen [Mon, 27 Sep 2010 17:29:47 +0000 (17:29 +0000)]
MMX parameters aren't handled here yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114844
91177308-0d34-0410-b5e6-
96231b3b80d8
Dale Johannesen [Mon, 27 Sep 2010 17:29:14 +0000 (17:29 +0000)]
Don't try to make a vector of x86mmx; this won't work,
and asserts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114843
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 27 Sep 2010 16:59:51 +0000 (16:59 +0000)]
writeGraph doesn't need its ShortNames argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114842
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 27 Sep 2010 16:58:21 +0000 (16:58 +0000)]
Delete an unused function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114841
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 27 Sep 2010 16:54:49 +0000 (16:54 +0000)]
Delete an unused declaration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114839
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 27 Sep 2010 16:54:13 +0000 (16:54 +0000)]
Don't construct a redundant GraphWriter object.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114838
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 27 Sep 2010 16:44:11 +0000 (16:44 +0000)]
Factor out code from the standalone WriteGraph function into a helper
function on GraphWriter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114837
91177308-0d34-0410-b5e6-
96231b3b80d8
Douglas Gregor [Mon, 27 Sep 2010 16:40:43 +0000 (16:40 +0000)]
Remove reference to nonexistent test in CMake makefile for unit tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114835
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 27 Sep 2010 16:33:31 +0000 (16:33 +0000)]
Constify properlyDominates in the same manner as dominates.
Add constified overloads for findNearestCommonDominator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114834
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 27 Sep 2010 16:28:34 +0000 (16:28 +0000)]
Add support for viewing graphviz graphs with xdot.py.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114832
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 27 Sep 2010 15:50:08 +0000 (15:50 +0000)]
Move ValueMapTest from ADT to VMCore so that ADT doesn't need
to link in "core".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114831
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 27 Sep 2010 15:48:37 +0000 (15:48 +0000)]
Add an all() method to BitVector, for testing whether all bits are set.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114830
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 27 Sep 2010 15:34:19 +0000 (15:34 +0000)]
Remove WriteGraph's Name argument, which it didn't use, and
rename writeHeader's Name argument to Title, to be consistent
with WriteGraph.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114829
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 27 Sep 2010 15:15:44 +0000 (15:15 +0000)]
Make this code 65-bit clean.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114828
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 27 Sep 2010 14:44:14 +0000 (14:44 +0000)]
Fix indentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114827
91177308-0d34-0410-b5e6-
96231b3b80d8
Oscar Fuentes [Mon, 27 Sep 2010 13:49:41 +0000 (13:49 +0000)]
Removed remnant target library dependencies from LLVMLibDeps.cmake
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114826
91177308-0d34-0410-b5e6-
96231b3b80d8
Oscar Fuentes [Mon, 27 Sep 2010 13:33:17 +0000 (13:33 +0000)]
Updated LLVMLibDeps.cmake
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114825
91177308-0d34-0410-b5e6-
96231b3b80d8