Jakob Stoklund Olesen
8a120b10bd
Simplify TGParser::ProcessForEachDefs.
...
Use static type checking.
llvm-svn: 157430
2012-05-24 22:17:33 +00:00
Andrew Trick
79d3eecbb4
misched: Trace regpressure.
...
llvm-svn: 157429
2012-05-24 22:11:14 +00:00
Andrew Trick
a8ad5f7c7b
misched: Give each ReadyQ a unique ID
...
llvm-svn: 157428
2012-05-24 22:11:12 +00:00
Andrew Trick
61f1a278b8
misched: Added ScoreboardHazardRecognizer.
...
The Hazard checker implements in-order contraints, or interlocked
resources. Ready instructions with hazards do not enter the available
queue and are not visible to other heuristics.
The major code change is the addition of SchedBoundary to encapsulate
the state at the top or bottom of the schedule, including both a
pending and available queue.
The scheduler now counts cycles in sync with the hazard checker. These
are minimum cycle counts based on known hazards.
Targets with no itinerary (x86_64) currently remain at cycle 0. To fix
this, we need to provide some maximum issue width for all targets. We
also need to add the concept of expected latency vs. minimum latency.
llvm-svn: 157427
2012-05-24 22:11:09 +00:00
Andrew Trick
ca47335461
misched: Release bottom roots in reverse order.
...
llvm-svn: 157426
2012-05-24 22:11:05 +00:00
Andrew Trick
dd375dd34a
misched: rename ReadyQ class
...
llvm-svn: 157425
2012-05-24 22:11:03 +00:00
Andrew Trick
f378617773
misched: copy comments so compareRPDelta is readable by itself.
...
llvm-svn: 157424
2012-05-24 22:11:01 +00:00
Andrew Trick
d5326aea81
regpressure: Added RegisterPressure::dump
...
llvm-svn: 157423
2012-05-24 22:10:59 +00:00
Andrew Trick
b2c172e20a
regpressure: physreg livein/out fix
...
llvm-svn: 157422
2012-05-24 22:10:57 +00:00
David Blaikie
c575c80c3b
Fix for CHECK-NOT misspelling.
...
Patch by Nicklas Bo Jensen.
llvm-svn: 157421
2012-05-24 22:08:29 +00:00
Eli Friedman
f798f65ccc
Implement the C++11 discarded value expression rules for volatile lvalues. <rdar://problem/10790820>.
...
llvm-svn: 157420
2012-05-24 22:04:19 +00:00
Justin Holewinski
c05323dd5c
Un-XFAIL CodeGen/builtins-nvptx.c now that the proper changes have
...
landed in LLVM core
llvm-svn: 157418
2012-05-24 21:39:33 +00:00
Justin Holewinski
907f7606f2
Remove the PTX back-end and all of its artifacts (triple, etc.)
...
This back-end was deprecated in favor of the NVPTX back-end.
NV_CONTRIB
llvm-svn: 157417
2012-05-24 21:38:21 +00:00
Owen Anderson
921082b883
Teach tblgen's set theory "sequence" operator to support an optional stride operand.
...
llvm-svn: 157416
2012-05-24 21:37:08 +00:00
Chad Rosier
fd7469c947
Typo. Patch by Nicklas Bo Jensen <nbjensen@gmail.com>.
...
llvm-svn: 157415
2012-05-24 21:17:47 +00:00
Eli Friedman
f92f6454ef
A minor tweak to the new volatile lvalue warning: don't warn on "(void)x", where "x" refers to a local variable. This should silence a useless warning in compiler-rt and other places.
...
llvm-svn: 157414
2012-05-24 21:05:41 +00:00
John McCall
d65dbd8e6a
XFAIL this test, which does not pass on trunk since the grand
...
renaming in r157403.
llvm-svn: 157413
2012-05-24 20:58:21 +00:00
Ted Kremenek
8fb6723e3a
Set svn:keywords property to Id
...
llvm-svn: 157412
2012-05-24 20:16:00 +00:00
Ted Kremenek
e1e89370f0
New & improved man page attached, now with standard license added.
...
Plus, a patch for scan-build.
* mdoc corrections
* slightly more compact output
* same license as scan-build
* DESCRIPTION describes
* Default checkers corrected & explained
* Authors credited
The patch adds support for --help-checkers. It just lists the default
checkers by recursively invoking "scan-build -h" and looking for the
magic '+' signs.
Patch by James Lowden!
llvm-svn: 157411
2012-05-24 20:13:47 +00:00
Akira Hatanaka
a649cc75b3
Turn on mips16 pseudo op when compiling for mips16.
...
Expand test case for this.
Patch by Reed Kotler.
llvm-svn: 157410
2012-05-24 18:37:43 +00:00
Akira Hatanaka
df98a7a34d
Enable Mips16 compiler to compile a null program.
...
First code from the Mips16 compiler. Includes trivial test program.
Patch by Reed Kotler.
llvm-svn: 157408
2012-05-24 18:32:33 +00:00
Fariborz Jahanian
246f519a51
objective-c: Fixes a corner case and interesting bug.
...
Where diagnostic about unfound property is not
issued in the context where a setter is looked up
in situation in which name and property name differ
in their first letter case. // rdar://11363363
llvm-svn: 157407
2012-05-24 18:29:41 +00:00
Meador Inge
6fef6e6466
Adding back a right parenthesis that was dropped in r157388.
...
llvm-svn: 157406
2012-05-24 18:16:39 +00:00
Johnny Chen
a0d4b5da35
Fix missing Resources/Python directory for macosx build.
...
llvm-svn: 157405
2012-05-24 18:14:18 +00:00
Argyrios Kyrtzidis
bb2be0dca3
[objcmt] Add test case for r157395.
...
llvm-svn: 157404
2012-05-24 17:49:22 +00:00
Justin Holewinski
83e9668133
Replace PTX back-end with NVPTX back-end in all places where Clang cares
...
NV_CONTRIB
llvm-svn: 157403
2012-05-24 17:43:12 +00:00
Anna Zaks
6b7b7e66d1
[analyzer] Minor cleanup to checkers' help text.
...
llvm-svn: 157402
2012-05-24 17:31:59 +00:00
Anna Zaks
d0867105f4
[analyzer] Treat cast of array to reference in the same way as array to
...
pointer.
Fixes one of the crashes reported in PR12874.
llvm-svn: 157401
2012-05-24 17:31:57 +00:00
Anna Zaks
cb4c483dbe
[analyzer] Fix typo. Thanks Jordy.
...
llvm-svn: 157400
2012-05-24 17:31:54 +00:00
Manuel Klimek
24c4805b3b
Adds menu sidebar to the docs.
...
llvm-svn: 157399
2012-05-24 17:16:23 +00:00
David Blaikie
4fd12a6abc
Silence Clang's -Wlogical-op-parentheses warning.
...
I'm not sure it's really worth expressing this as a range rather than 3 specific equalities, but it doesn't seem fundamentally wrong either.
llvm-svn: 157398
2012-05-24 17:11:00 +00:00
Manuel Klimek
b76810fa94
Updates the tooling docs with the links to the tutorials and
...
adds the menu include.
llvm-svn: 157397
2012-05-24 17:09:10 +00:00
Manuel Klimek
3115e3d171
Adds a tutorial for how to write clang plugins.
...
llvm-svn: 157396
2012-05-24 17:07:18 +00:00
Argyrios Kyrtzidis
b482260748
[objcmt] Warn when modern objc migrator does not convert a NSNumber message because it requires a cast.
...
rdar://11525138
llvm-svn: 157395
2012-05-24 16:48:23 +00:00
Fariborz Jahanian
870265636c
objc: change option to be -Wobjc-interface-ivars
...
llvm-svn: 157394
2012-05-24 16:19:51 +00:00
Tobias Grosser
6b31d170a4
Add half support to LLVM (for OpenCL)
...
Submitted by: Anton Lokhmotov <Anton.Lokhmotov@arm.com>
Approved by: o Anton Korobeynikov
o Micah Villmow
o David Neto
llvm-svn: 157393
2012-05-24 15:59:06 +00:00
Dmitry Vyukov
d1b9521e48
tsan: compilation of tests with newest clang
...
llvm-svn: 157392
2012-05-24 14:55:12 +00:00
Dmitry Vyukov
30c32a8819
tsan: fix compilation with newest clang
...
llvm-svn: 157391
2012-05-24 14:50:33 +00:00
Meador Inge
4d80ce90f2
Testing commit access
...
llvm-svn: 157389
2012-05-24 14:20:13 +00:00
Dmitry Vyukov
7fb7330469
asan/tsan: weak interceptors
...
The idea isthat asan/tsan can survive if user intercepts the same functions. At the same time user has an ability to call back into asan/tsan runtime. See the following tests for examples:
asan/output_tests/interception_failure_test-linux.cc
asan/output_tests/interception_test-linux.cc
asan/output_tests/interception_malloc_test-linux.cc
llvm-svn: 157388
2012-05-24 13:54:31 +00:00
Manuel Klimek
9ffebff74c
Apply review comment from Jordan Rose.
...
llvm-svn: 157387
2012-05-24 12:46:43 +00:00
Stepan Dyatkovskiy
183d18aa5a
PR1255 related changes (case ranges):
...
LowerSwitch::Clusterify : main functinality was replaced with CRSBuilder::optimize, so big part of Clusterify's code was reduced.
test/Transform/LowerSwitch/feature.ll - this test was refactored: grep + count was replaced with FileCheck usage.
llvm-svn: 157384
2012-05-24 09:33:20 +00:00
Dmitry Vyukov
65c21a5e6d
tsan: add a flag to control RunningOnValgrind() return value
...
llvm-svn: 157383
2012-05-24 09:24:45 +00:00
Patrik Hägglund
26dcb95dfc
Fix -Wcovered-switch-default warning.
...
llvm-svn: 157381
2012-05-24 07:51:46 +00:00
Craig Topper
bdf39a46a3
Convert assert(0) to llvm_unreachable.
...
llvm-svn: 157380
2012-05-24 07:02:50 +00:00
Bill Wendling
2495bca543
Remove 3.1 release notes to get ready for current development cycle.
...
llvm-svn: 157379
2012-05-24 06:42:56 +00:00
Bill Wendling
6081fa19c5
Remove old release notes. Ready them for additions from current development
...
cycle.
llvm-svn: 157378
2012-05-24 06:38:09 +00:00
Craig Topper
9520719b9b
Mark some static arrays as const.
...
llvm-svn: 157377
2012-05-24 06:35:32 +00:00
Craig Topper
273b0d7be5
Use uint16_t to store registers in static tables. Matches other tables.
...
llvm-svn: 157375
2012-05-24 06:09:56 +00:00
Craig Topper
be064d0136
Use uint16_t to store register number in static tables to match other tables.
...
llvm-svn: 157374
2012-05-24 05:55:47 +00:00