Hemant Kulkarni
d680379f0b
Added program header emission
...
llvm-svn: 168195
2012-11-16 20:51:32 +00:00
Craig Topper
ed756c5fc8
Remove conditions from 'else if' that were guaranteed by preceding 'if'.
...
llvm-svn: 168191
2012-11-16 20:01:39 +00:00
Will Schmidt
9544fc7dd8
ReleaseNotes.html updates reflecting PPC64 Elf Linux efforts and progress.
...
llvm-svn: 168189
2012-11-16 19:46:35 +00:00
Duncan Sands
c41076c07c
InstructionSimplify should be able to simplify A+B==B+A to 'true'
...
but wasn't due to the same logic bug that caused PR14361.
llvm-svn: 168186
2012-11-16 19:41:26 +00:00
Joe Abbey
cceda898b8
Using const cast to alleviate a warning.
...
A PR is being filed to address some code issues here.
llvm-svn: 168185
2012-11-16 19:38:42 +00:00
Craig Topper
3669de4c97
Factor out the final FADD that's common to multiple code paths in the visitLog* functions.
...
llvm-svn: 168183
2012-11-16 19:08:44 +00:00
Chris Lattner
54129458e8
move irrelevant attribution.
...
llvm-svn: 168182
2012-11-16 18:58:23 +00:00
Duncan Sands
1d3acddf0e
Fix PR14361: wrong simplification of A+B==B+A. You may think that the old logic
...
replaced by this patch is equivalent to the new logic, but you'd be wrong, and
that's exactly where the bug was. There's a similar bug in instsimplify which
manifests itself as instsimplify failing to simplify this, rather than doing it
wrong, see next commit.
llvm-svn: 168181
2012-11-16 18:55:49 +00:00
Andrew Kaylor
98f57cacae
Adding new tests to test lli's pseudo-remote feature (-remote-mcjit).
...
llvm-svn: 168180
2012-11-16 18:51:59 +00:00
Craig Topper
c78249356d
Finally add myself to the credits.
...
llvm-svn: 168178
2012-11-16 18:44:36 +00:00
Hans Wennborg
7b8af0ea05
SimplifyCFG: Don't assume non-null ScalarTargetTransformInfo.
...
Patch by Pekka Jääskeläinen!
llvm-svn: 168176
2012-11-16 18:22:08 +00:00
Benjamin Kramer
1c6dd74d6f
Work around a layering violation from Target to CodeGen.
...
Technically this is still a layering violation but it's header-only which makes
it less harmful. No functionality change.
llvm-svn: 168173
2012-11-16 17:32:33 +00:00
NAKAMURA Takumi
0ff86ac8a6
llvm/test/CodeGen/X86/hipe-cc*.ll: Add explicit -mcpu, or they don't expect to pass on Atom.
...
llvm-svn: 168171
2012-11-16 16:07:37 +00:00
Duncan Sands
d71b4e4568
Add the Erlang/HiPE calling convention, patch by Yiannis Tsiouris.
...
llvm-svn: 168166
2012-11-16 12:36:39 +00:00
Chandler Carruth
38f0bb5161
Update credits file regarding SROA work... Also include my other primary
...
email address for completeness.
llvm-svn: 168165
2012-11-16 11:45:08 +00:00
Chandler Carruth
20cd2b402f
Add myself as the code owner for a bunch of stuff.
...
Notably, I'm reviewing this stuff already, and this makes it clear I'm
on the hook for it.
I'm relying on Eric Christopher and Michael Spencer to help with Support
when there are platform specific issues, but Chris wants a single point
of contact, and I'm happy with that.
llvm-svn: 168164
2012-11-16 11:43:01 +00:00
Amara Emerson
1594fbd07e
Add MCJIT test case for running global constructors.
...
llvm-svn: 168149
2012-11-16 11:17:00 +00:00
Amara Emerson
c958bf30b9
Add R_ARM_TARGET1 relocation to MCJIT and ensure that the runtime dyld reads
...
all symbols during object loading, not just global ones.
This fixes JIT execution of code using llvm.global_ctors with internal
linkage constructors.
llvm-svn: 168148
2012-11-16 11:11:59 +00:00
Hans Wennborg
18aa124075
Constant::IsThreadDependent(): Use dyn_cast<Constant> instead of cast
...
It turns out that the operands of a Constant are not always themselves
Constant. For example, one of the operands of BlockAddress is
BasicBlock, which is not a Constant.
This should fix the dragonegg-x86_64-linux-gcc-4.6-test build which
broke in r168037.
llvm-svn: 168147
2012-11-16 10:33:25 +00:00
Alexey Samsonov
a1694c1aaf
[DebugInfo] Generate address ranges for compile units even if .debug_aranges is present: it is often the case that .debug_aranges section contains ranges only for a small subset of compile units. Test cases will be added in separate commits.
...
llvm-svn: 168144
2012-11-16 08:36:25 +00:00
Craig Topper
ae89426f07
Factor some common code to reduce compile size.
...
llvm-svn: 168143
2012-11-16 07:48:23 +00:00
Nadav Rotem
0565b5a279
LoopVectorize: Division reductions generate incorrect code. Remove the part of the code that deals with divs.
...
Thanks to Paul Redmond for catching this while reviewing the code.
llvm-svn: 168142
2012-11-16 06:51:17 +00:00
Craig Topper
70601ba6f9
Use roundps/pd for llvm.ceil, llvm.trunc, llvm.rint, and llvm.nearbyint of vector types.
...
llvm-svn: 168141
2012-11-16 06:37:56 +00:00
Craig Topper
26b9580d87
Fix typo in a comment.
...
llvm-svn: 168138
2012-11-16 06:10:48 +00:00
Akira Hatanaka
907f5f0ca7
[mips] Fix delay slot filler so that instructions with register operand $1 are
...
allowed in branch delay slot.
llvm-svn: 168131
2012-11-16 02:39:34 +00:00
Michael Ilseman
234ba6f2cd
Remove trailing whitespace
...
llvm-svn: 168121
2012-11-16 00:58:59 +00:00
Andrew Kaylor
a342cb9613
Interface changes to allow RuntimeDyld memory managers to set memory permissions after an object has been loaded.
...
llvm-svn: 168114
2012-11-15 23:50:01 +00:00
Eli Bendersky
dcc7949065
Add some tests for the FileCheck utility.
...
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20121112/156007.html
llvm-svn: 168113
2012-11-15 23:42:51 +00:00
Galina Kistanova
0608cd8bd4
Added myself as owner of LLVM Buildbot.
...
llvm-svn: 168111
2012-11-15 23:16:47 +00:00
Eric Christopher
aa6df454df
Clarify.
...
llvm-svn: 168110
2012-11-15 22:57:22 +00:00
Owen Anderson
aebfacb008
Claim ownership of everyone's favorite part of the backend.
...
llvm-svn: 168109
2012-11-15 22:56:42 +00:00
Eli Friedman
e6385e61b5
Mark FP_ROUND for converting NEON v2f64 to v2f32 as expand. Add a missing
...
case to vector legalization so this actually works.
Patch by Pete Couperus. Fixes PR12540.
llvm-svn: 168107
2012-11-15 22:44:27 +00:00
Eric Christopher
4bb9c6c3b1
More ownership, no one likes these things anyways.
...
llvm-svn: 168104
2012-11-15 22:41:56 +00:00
Michael Ilseman
26ee2b8477
Remove trailing whitespace
...
llvm-svn: 168103
2012-11-15 22:34:00 +00:00
Nadav Rotem
7a697bc8dc
Update the code ownership.
...
llvm-svn: 168102
2012-11-15 22:26:51 +00:00
Jyotsna Verma
095d4fe02b
Fix typo.
...
llvm-svn: 168091
2012-11-15 21:21:01 +00:00
Akira Hatanaka
3bc1beb696
[mips] Add predicate HasFPIdx for floating-point indexed load instruction
...
support and use it in place of HasMips32r2Or64.
llvm-svn: 168089
2012-11-15 21:17:13 +00:00
Joel Jones
8fe56e00ed
Add description of how to build docs
...
llvm-svn: 168088
2012-11-15 21:15:08 +00:00
Adhemerval Zanella
bdface5699
PowerPC: Lowering floor intrinsic for Altivec
...
This patch lowers the llvm.floor, llvm.ceil, llvm.trunc, and
llvm.nearbyint to Altivec instruction when using 4 single-precision
float vectors.
llvm-svn: 168086
2012-11-15 20:56:03 +00:00
Daniel Dunbar
61d59f2959
PathV2: Fix a possible infinite loop.
...
- The code could infinite loop trying to create unique files, if the directory
containing the unique file exists, but open() calls on non-existent files in
the path return ENOENT. This is true on the /dev/fd filesystem, for example.
- Will add a clang side test case for this.
llvm-svn: 168081
2012-11-15 20:24:52 +00:00
Akira Hatanaka
5fdeac3268
Add assertions in MipsLongBranch which check the size of basic blocks.
...
llvm-svn: 168078
2012-11-15 20:05:11 +00:00
Jakub Staszak
f34e4fa7a6
Return 0 instead of false.
...
llvm-svn: 168076
2012-11-15 19:40:29 +00:00
Ulrich Weigand
dcee8ce8ed
Use std::stable_sort instead of std::sort when sorting stack slots
...
to guarantee deterministic code generation.
llvm-svn: 168074
2012-11-15 19:33:30 +00:00
Evan Cheng
4921017afd
Clarify my code ownership
...
llvm-svn: 168073
2012-11-15 19:31:48 +00:00
Sergei Larin
973a44bf7d
Add myself as owner of VLIW Instruction Scheduling and Packetization.
...
llvm-svn: 168072
2012-11-15 19:24:19 +00:00
Anton Korobeynikov
38990beed8
Add ARM EABI to my list of responsibilities.
...
Update the email address (old works too, but less reliable) while there
llvm-svn: 168065
2012-11-15 19:10:23 +00:00
Jakub Staszak
11d1aee6a2
Simplify code.
...
llvm-svn: 168064
2012-11-15 19:05:23 +00:00
Andrew Trick
7656f6dbf7
misspell
...
llvm-svn: 168058
2012-11-15 18:40:31 +00:00
Andrew Trick
90f5029118
whitespace
...
llvm-svn: 168057
2012-11-15 18:40:29 +00:00
Chad Rosier
2463f67c49
[reg scavenger] Fix the isUsed/isAliasUsed functions so as to not report a false
...
positive.
In this particular case, R6 was being spilled by the register scavenger when it
was in fact dead. The isUsed function reported R6 as used because the R6_R7
alias was reserved (due to the fact that we've reserved R7 as the FP). The
solution is to only check if the original register (i.e., R6) isReserved and
not the aliases. The aliases are only checked to make sure they're available.
The test case is derived from one of the nightly tester benchmarks and is rather
intractable and difficult to reproduce, so I haven't included it.
rdar://12592448
llvm-svn: 168054
2012-11-15 18:13:20 +00:00