Pete Cooper
856977cb15
DeadStoreElimination can now trim the size of a store if the end of the store is dead.
...
Currently checks alignment and killing stores on a power of 2 boundary as this is likely
to trim the size of the earlier store without breaking large vector stores into scalar ones.
Fixes <rdar://problem/10140300>
llvm-svn: 144239
2011-11-09 23:07:35 +00:00
Rafael Espindola
7e9e3a6c0c
Fix the signature of __sigsetjmp and sigsetjmp. Patch by Dimitry Andric.
...
llvm-svn: 144237
2011-11-09 22:46:10 +00:00
Nick Lewycky
47eebcfd66
Fix typo in comment.
...
llvm-svn: 144236
2011-11-09 22:45:04 +00:00
Tobias Grosser
19632d7814
Remove unused function declaration
...
llvm-svn: 144233
2011-11-09 22:35:19 +00:00
Tobias Grosser
f50fc50c80
Remove unused parameters from TempScop
...
llvm-svn: 144232
2011-11-09 22:35:15 +00:00
Tobias Grosser
e4e2f7b16e
TempScop: Rename SCEVAffFunc to IRAccess
...
The SCEVAffFunc is now only used to express memory accesses. Give it a proper
name and rework the class such that this is obvious.
llvm-svn: 144231
2011-11-09 22:35:09 +00:00
Tobias Grosser
499f0a48d8
Further remove now invalid SCEVAffFunc features.
...
This also removes the construction of MayAliasSets that became invalid when
removing the use of SCEVAffFunc.
llvm-svn: 144230
2011-11-09 22:35:05 +00:00
Tobias Grosser
6e9f25a5d5
Remove AffineSCEVIterator
...
We do not use it anymore. It was replaced by SCEVVisitors like the
SCEVValidator.
llvm-svn: 144229
2011-11-09 22:35:00 +00:00
Tobias Grosser
f317e3ac83
Do not check memory accesses additionally with isValidAffineFunction
...
This check was necessary because of the use AffineSCEVIterator in TempScopInfo.
As we removed this use recently it is not necessary any more.
llvm-svn: 144228
2011-11-09 22:34:53 +00:00
Tobias Grosser
866b8ae928
Remove more unused stuff from SCEVAffFunc
...
llvm-svn: 144227
2011-11-09 22:34:48 +00:00
Tobias Grosser
a601fbd682
Remove SCEVAffFunc from polly::Comparison
...
llvm-svn: 144226
2011-11-09 22:34:44 +00:00
Tobias Grosser
fb47d66a06
Remove unused code from SCEVAffFunc constructor
...
llvm-svn: 144224
2011-11-09 22:34:39 +00:00
Tobias Grosser
5683df4a23
Remove more of SCEVAffineFunc
...
llvm-svn: 144223
2011-11-09 22:34:34 +00:00
Tobias Grosser
63069c60cf
ScopInfo: Use getParamsInAffineExpr to get the BaseAddress
...
llvm-svn: 144222
2011-11-09 22:34:28 +00:00
Tobias Grosser
db87142b26
TempScop: Remove more of the buildAffineFunction
...
llvm-svn: 144221
2011-11-09 22:34:24 +00:00
Tobias Grosser
e6efa37e76
TempScopInfo: Remove unneeded construction of SCEVAffFunc
...
llvm-svn: 144220
2011-11-09 22:34:18 +00:00
Eli Friedman
53218b6fcc
Add check so we don't try to perform an impossible transformation. Fixes issue from PR11319.
...
llvm-svn: 144216
2011-11-09 22:25:12 +00:00
Chad Rosier
2f27fab6ed
The ARM LDRH/STRH instructions use a +/-imm8 encoding, not an imm12.
...
rdar://10418009
llvm-svn: 144213
2011-11-09 21:30:12 +00:00
Nadav Rotem
1938482bfa
AVX2: Add patterns for variable shift operations
...
llvm-svn: 144212
2011-11-09 21:22:13 +00:00
Devang Patel
2f70bcdb94
Remove unnecessary include.
...
llvm-svn: 144211
2011-11-09 21:11:02 +00:00
Devang Patel
71510f6fb3
Remove unnecessary include.
...
llvm-svn: 144210
2011-11-09 21:08:24 +00:00
Chad Rosier
c22f6518b2
Use REs to remove dependencies on the register allocation order.
...
llvm-svn: 144209
2011-11-09 20:06:13 +00:00
Bill Wendling
302d7ce0ab
Reformat the quote and tag the math stuff with <tt> tags.
...
llvm-svn: 144204
2011-11-09 19:33:56 +00:00
Sean Callanan
0730e9c992
Added a function to ClangASTSource to service
...
lookups for Objective-C methods by selector.
Right now all it does is print log information.
Also improved the logging for imported TagDecls
to indicate whether or not the definition for
the imported TagDecl is complete.
llvm-svn: 144203
2011-11-09 19:33:21 +00:00
Daniel Dunbar
5d9ae5ca23
llvm-config: Drop 'backend' pseudo-component. We don't support/qualify the CBE
...
enough to have this be useful.
llvm-svn: 144202
2011-11-09 19:23:15 +00:00
Daniel Dunbar
7b44212e3c
llvm-config-2: Switch to using real library dependency table.
...
- Also, fix a refacto that left extra "all" component in list (this is now
defined in the groups explicitly)
- Reapply of r143879 now that Make should see needed deps.
llvm-svn: 144201
2011-11-09 19:14:51 +00:00
Greg Clayton
ed3ae7005d
Cleanup some warnings.
...
llvm-svn: 144200
2011-11-09 19:04:58 +00:00
Jim Ingham
aea81795a6
"source list -n" should use eFunctionNameTypeAuto not eFunctionNameTypeBase for the name lookup.
...
llvm-svn: 144199
2011-11-09 19:02:04 +00:00
Eric Christopher
0c7c931dbf
Fix typo.
...
llvm-svn: 144198
2011-11-09 18:53:37 +00:00
Daniel Dunbar
83b700977e
build/Make: Fix some missing dependencies on the llvm-build generation step.
...
llvm-svn: 144197
2011-11-09 18:48:22 +00:00
Benjamin Kramer
966ed1b698
Add comments.
...
llvm-svn: 144194
2011-11-09 18:16:11 +00:00
Tobias Grosser
02aa9fe2bd
www: Fix install location of cloog in the installation guide.
...
llvm-svn: 144192
2011-11-09 17:44:03 +00:00
Fariborz Jahanian
e0e6505660
objc rewriter: use a more specific name for local variable used
...
in fast enumeration rewrite. // rdar://10415026
llvm-svn: 144191
2011-11-09 17:41:43 +00:00
John McCall
29928fc563
We don't add ExprWithCleanups to the CFG, and getSVal looks
...
through it, so we should look through it for the live-values
analysis as well.
llvm-svn: 144190
2011-11-09 17:10:36 +00:00
Douglas Gregor
7240a95282
Define some built-ins macros on mips32 platform, from Simon Atanasyan!
...
llvm-svn: 144189
2011-11-09 15:17:16 +00:00
Duncan Sands
635e4efca0
Speculatively revert commit 144124 (djg) in the hope that the 32 bit
...
dragonegg self-host buildbot will recover (it is complaining about object
files differing between different build stages). Original commit message:
Add a hack to the scheduler to disable pseudo-two-address dependencies in
basic blocks containing calls. This works around a problem in which
these artificial dependencies can get tied up in calling seqeunce
scheduling in a way that makes the graph unschedulable with the current
approach of using artificial physical register dependencies for calling
sequences. This fixes PR11314.
llvm-svn: 144188
2011-11-09 14:20:48 +00:00
Nadav Rotem
79135d844d
Add AVX2 support for vselect of v32i8
...
llvm-svn: 144187
2011-11-09 13:21:28 +00:00
Benjamin Kramer
6312682b46
Simplify code. No functionality change.
...
llvm-svn: 144186
2011-11-09 13:19:15 +00:00
Benjamin Kramer
3757be395e
Update test.
...
llvm-svn: 144185
2011-11-09 12:43:30 +00:00
Benjamin Kramer
148db36263
Take advantage of the zero byte in StringMap when emitting dwarf stringpool entries.
...
llvm-svn: 144184
2011-11-09 12:12:04 +00:00
Wojciech Matyjewicz
0c48772aaa
Minor fixes in Makefiles for the OCaml bindings:
...
1. Interface files (.mli) are installed before compiled interface
files (.cmi) to preserve timestamp relation.
2. install-meta should use $(OcamlDir) instead of $(ObjDir).
3. Declared some targets as .PHONY.
Patch by Christophe Raffalli.
llvm-svn: 144183
2011-11-09 12:00:39 +00:00
Craig Topper
f87a2bef51
Enable execution dependency fix pass for YMM registers when AVX2 is enabled. Add AVX2 logical operations to list of replaceable instructions.
...
llvm-svn: 144179
2011-11-09 09:37:21 +00:00
NAKAMURA Takumi
862130c61a
unittests/MultiJITTest.cpp: Tweak how to check symbol value for Win32 --enable-shared.
...
getPointerToNamedFunction might be indirect jump on Win32 --enable-shared.
FF 25 <disp32>: jmp *(pointer to IAT)
llvm-svn: 144178
2011-11-09 08:30:43 +00:00
Chandler Carruth
b4aabc88f7
Try to fix an issue on some hosts where the 'lib' in the builtin include
...
path is actually a multilib.
llvm-svn: 144177
2011-11-09 08:26:57 +00:00
Craig Topper
c9eb09d3b8
Add instruction selection for AVX2 integer comparisons.
...
llvm-svn: 144176
2011-11-09 08:06:13 +00:00
Jason Molenda
3dc8583c96
Remove the QAddressIsExecutable packet I added last night.
...
Add a more general purpose qMemoryRegionInfo packet which can
describe various attributes about a memory region. Currently it
will return the start address, size, and permissions (read, write,
executable) for the memory region. It may be possible to add
additional attributes in the future such as whether the region is
designated as stack memory or jitted code a la vmmap.
I still haven't implemented the lldb side of the code to use this
packet yet so there may be unexpected behavior - but the basic implementation looks
about right. I'll hook it up to lldb soon and fix any problems that crop up.
llvm-svn: 144175
2011-11-09 08:03:56 +00:00
Craig Topper
8c8a431057
Add AVX2 instruction lowering for add, sub, and mul.
...
llvm-svn: 144174
2011-11-09 07:28:55 +00:00
Nick Lewycky
0485d51a76
Don't forget to check FlagNW when determining whether an AddRecExpr will wrap
...
or not. Patch by Brendon Cahoon!
llvm-svn: 144173
2011-11-09 07:11:37 +00:00
Devang Patel
fa4520968b
Remove extra ';'
...
llvm-svn: 144172
2011-11-09 06:20:49 +00:00
David Blaikie
21bfbf8d7c
Fixing 80 col violations (& removing any trailing whitespace on files I was touching anyway)
...
llvm-svn: 144171
2011-11-09 06:07:30 +00:00