Johannes Doerfert
ffd222f2d6
Propagate the DetectionContext to the SCoP [NFC]
...
The SCoP now holds a reference to the ScopDetection::DetectionContext
which allows to simplify the type of various methods and remove code.
llvm-svn: 270053
2016-05-19 12:34:57 +00:00
Johannes Doerfert
60dd9e1346
Compute the MaxLoopDepth during domain construction [NFC]
...
llvm-svn: 270052
2016-05-19 12:33:14 +00:00
Johannes Doerfert
f5841a66af
Remove leftover debug output [NFC]
...
llvm-svn: 270051
2016-05-19 12:32:54 +00:00
Johannes Doerfert
6dc3616195
Remove unsused methodes [NFC]
...
llvm-svn: 270050
2016-05-19 12:31:16 +00:00
Artem Tamazov
8ce1f7177b
[AMDGPU][llvm-mc] Fixes to support buffer atomics.
...
Fixes for MUBUF_Atomic instructions to make operand list valid:
- For RTN insns, make a copy of $vdata_in operand as $vdata.
- Do not add operand for GLC, it is hardcoded and comes as a token.
Workaround to avoid adding multiple default optional operands.
Tests added.
Differential Revision: http://reviews.llvm.org/D20257
llvm-svn: 270049
2016-05-19 12:22:39 +00:00
Zoran Jovanovic
5f94cedeb5
ps][microMIPS] Add R_MICROMIPS_PC21_S1 relocation
...
Differential Revision: http://reviews.llvm.org/D15526
llvm-svn: 270048
2016-05-19 12:20:40 +00:00
Michael Zuckerman
178113e8cc
[Clang][AVX512][intrinsics] continue completing missing set intrinsics
...
Differential Revision: http://reviews.llvm.org/D20160
llvm-svn: 270047
2016-05-19 12:07:49 +00:00
Simon Pilgrim
47825fad71
[X86][SSE2] Added _mm_move_* tests
...
llvm-svn: 270046
2016-05-19 11:59:57 +00:00
Benjamin Kramer
04666a2d5d
[include-fixer] Remove obsolete windows hack.
...
llvm-svn: 270045
2016-05-19 11:39:56 +00:00
Kuba Brecka
4087675948
Revert r270038 ("Change preprocessor `#if` to regular `if` for CAN_SANITIZE_LEAKS")
...
llvm-svn: 270044
2016-05-19 11:21:34 +00:00
Simon Pilgrim
97728dfb39
[X86][SSE2] Added _mm_move_* tests
...
llvm-svn: 270043
2016-05-19 11:18:49 +00:00
Simon Pilgrim
cddcd2bd45
[X86][SSE2] Added _mm_cast* and _mm_set* tests
...
llvm-svn: 270042
2016-05-19 11:03:48 +00:00
Simon Pilgrim
01809e0506
[X86][SSE2] Added _mm_cast* and _mm_set* tests
...
llvm-svn: 270041
2016-05-19 10:58:54 +00:00
Tamas Berghammer
87530300cd
Fix build after rL270009
...
llvm-svn: 270040
2016-05-19 10:53:10 +00:00
Benjamin Kramer
b872733851
[Sema] Allow an external sema source to handle delayed typo corrections.
...
This probably isn't perfectly perfect but allows correcting function calls
again.
llvm-svn: 270039
2016-05-19 10:46:10 +00:00
Kuba Brecka
b5cb227b98
[asan] Change preprocessor `#if` to regular `if` for CAN_SANITIZE_LEAKS
...
llvm-svn: 270038
2016-05-19 10:43:51 +00:00
Daniel Sanders
2f2ab5102c
[mips][mips16] Fix ZERO is not a CPU16Regs register error from the machine verifier.
...
Summary: Partially fixes PR27458
Reviewers: sdardis
Subscribers: dsanders, llvm-commits, sdardis
Differential Revision: http://reviews.llvm.org/D20330
llvm-svn: 270037
2016-05-19 10:42:14 +00:00
Andrey Turetskiy
45b22a4aff
[X86] Enable RRL part of the LEA optimization pass for -O2.
...
Enable "Remove Redundant LEAs" part of the LEA optimization pass for -O2.
This gives 6.4% performance improve on Broadwell on nnet benchmark from Coremark-pro.
There is no significant effect on other benchmarks (Geekbench, Spec2000, Spec2006).
Differential Revision: http://reviews.llvm.org/D19659
llvm-svn: 270036
2016-05-19 10:18:29 +00:00
Simon Pilgrim
3f64bb9618
[X86][SSE2] Sync with llvm/test/CodeGen/X86/sse2-intrinsics-fast-isel.ll
...
llvm-svn: 270034
2016-05-19 09:52:59 +00:00
Alexander Kornienko
a20bab46cd
[clang-tidy] Fix/add style guide links.
...
Thanks to Tim Halloran for the initial patch (http://reviews.llvm.org/D15089 )!
llvm-svn: 270033
2016-05-19 09:31:30 +00:00
Alexander Kornienko
77c8b2ed9f
[clang-tidy] Fix doc titles.
...
llvm-svn: 270032
2016-05-19 09:29:46 +00:00
Eric Liu
702cfd1b2b
[include-fixer] Sort headers after inserting new headers.
...
Summary: [include-fixer] Sort headers after inserting new headers.
Reviewers: bkramer
Subscribers: klimek, djasper, hokein, cfe-commits
Differential Revision: http://reviews.llvm.org/D20370
llvm-svn: 270031
2016-05-19 08:21:09 +00:00
Zlatko Buljan
e663e34e79
[mips][microMIPS] Implement BC1EQZC, BC1NEZC, BC2EQZC and BC2NEZC instructions
...
Differential Revision: http://reviews.llvm.org/D18352
llvm-svn: 270030
2016-05-19 07:31:28 +00:00
Daniel Jasper
5dbcd3bd07
clang-format: [JS] Fix spacing in destructuring assignments.
...
Before:
const[a, b, c] = [1, 2, 3];
After:
const [a, b, c] = [1, 2, 3];
llvm-svn: 270029
2016-05-19 07:18:07 +00:00
Daniel Jasper
451544ab57
clang-format: Fix incorrect indentation in last line of macro definition
...
Before:
#define MACRO(a) \
if (a) { \
f(); \
} else \
g()
After:
#define MACRO(a) \
if (a) { \
f(); \
} else \
g()
llvm-svn: 270028
2016-05-19 06:30:48 +00:00
Daniel Jasper
e2fab13313
clang-format: Fix enumerator case ranges.
...
Before:
case a... b: break;
After:
case a ... b: break;
llvm-svn: 270027
2016-05-19 06:19:17 +00:00
Craig Topper
19e04b6430
[X86] Generalize and combine some similar type constraints and node types. No changes to the isel table size so the separation wasn't buying us anything.
...
llvm-svn: 270026
2016-05-19 06:13:58 +00:00
Craig Topper
9152f5fcdf
[X86] Simplify some type constraints by removing parts that were already implied.
...
llvm-svn: 270025
2016-05-19 06:13:48 +00:00
Saleem Abdulrasool
bb19a13c0b
second pass over removal of Mutex and Condition
...
llvm-svn: 270024
2016-05-19 05:13:57 +00:00
Peter Collingbourne
fe12d0e3e5
CodeGen: Make the global-merge pass independently testable, and add a test.
...
llvm-svn: 270023
2016-05-19 04:38:56 +00:00
Vedant Kumar
3afe657030
Reapply^3 "[ProfileData] (compiler-rt) Use Error in InstrProf and Coverage, NFC"
...
Sync up with "(llvm) Use Error in InstrProf and Coverage".
llvm-svn: 270022
2016-05-19 03:55:20 +00:00
Vedant Kumar
fa2d595541
Reapply^3 "[ProfileData] (clang) Use Error in InstrProf and Coverage, NFC"
...
Sync up with "(llvm) Use Error in InstrProf and Coverage".
llvm-svn: 270021
2016-05-19 03:54:54 +00:00
Vedant Kumar
9152fd17e9
Retry^3 "[ProfileData] (llvm) Use Error in InstrProf and Coverage, NFC"
...
Transition InstrProf and Coverage over to the stricter Error/Expected
interface.
Changes since the initial commit:
- Fix error message printing in llvm-profdata.
- Check errors in loadTestingFormat() + annotateAllFunctions().
- Defer error handling in InstrProfIterator to InstrProfReader.
- Remove the base ProfError class to work around an MSVC ICE.
Differential Revision: http://reviews.llvm.org/D19901
llvm-svn: 270020
2016-05-19 03:54:45 +00:00
Sanjoy Das
b784ed36c0
[GuardWidening] Use getEquivalentICmp to fold constant compares
...
`ConstantRange::getEquivalentICmp` is more general, and better
factored.
llvm-svn: 270019
2016-05-19 03:53:17 +00:00
Sanjoy Das
590614c1e1
[ConstantRange] Add an getEquivalentICmp helper
...
Currently only its unit test uses it, but this will be used in a later
change to simplify some logic in the GuardWidening pass.
llvm-svn: 270018
2016-05-19 03:53:06 +00:00
Dan Gohman
41133a3e96
[WebAssembly] Update WebAssembly target for r269988.
...
llvm-svn: 270017
2016-05-19 03:00:05 +00:00
Faisal Vali
683b074209
Fix PR27601 by reverting [r267453] - Refactor traversal of bases in deduction of template parameters from base
...
This reversal is being done with r267453's author's (i.e. Richard Smith's) permission.
This fixes https://llvm.org/bugs/show_bug.cgi?id=27601
Also, per Richard's request the examples from the bug report have been added to our test suite.
llvm-svn: 270016
2016-05-19 02:28:21 +00:00
Jason Molenda
1fec404da0
Check that __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ is defined
...
before comparing the value of it.
<rdar://problem/26333564>
llvm-svn: 270015
2016-05-19 02:16:41 +00:00
Jim Ingham
906d91e762
Fix error propagation from the Z0 packet in gdb-remote breakpoint setting.
...
The error was not getting propagated to the caller, so the higher layers thought the breakpoint
was successfully set & resolved.
I added a testcase, but it assumes 0x0 is not a valid place to set a breakpoint. On most systems
that is true, but if it isn't true of your system, either find another good place and add it to the
test, or x-fail the test.
<rdar://problem/26345962>
llvm-svn: 270014
2016-05-19 02:13:44 +00:00
Craig Topper
4fcff19ff5
[X86] Remove some type constraint classes and use already existing stricter classes.
...
llvm-svn: 270013
2016-05-19 02:05:58 +00:00
Craig Topper
7ee092a268
[AVX512] Strengthen type constraints for VFIXUPIMM patterns and combine the type constraints for vector and scalar.
...
llvm-svn: 270012
2016-05-19 02:05:55 +00:00
Dan Gohman
537bc9b9f5
[WebAssembly] Make several CHECK lines less fragile using regexes and CHECK-DAG.
...
llvm-svn: 270011
2016-05-19 01:52:56 +00:00
Richard Smith
484f13aeb1
Revert accidentally-committed test for PR27558 (which currently fails...)
...
llvm-svn: 270010
2016-05-19 01:41:52 +00:00
Richard Smith
301bc21fd0
Make Sema::getPrintingPolicy less ridiculously expensive. This used to perform
...
an identifier table lookup, *and* copy the LangOptions (including various
std::vector<std::string>s). Twice. We call this function once each time we start
parsing a declaration specifier sequence, and once for each call to Sema::Diag.
This reduces the compile time for a sample .c file from the linux kernel by 20%.
llvm-svn: 270009
2016-05-19 01:39:10 +00:00
Eugene Zelenko
f981ec4582
Fix some Clang-tidy modernize-use-bool-literals and Include What You Use warnings in examples; other minor fixes.
...
Differential revision: http://reviews.llvm.org/D20397
llvm-svn: 270008
2016-05-19 01:08:04 +00:00
Sanjay Patel
b2bcd95aab
reduce indentation; NFCI
...
llvm-svn: 270007
2016-05-19 00:33:07 +00:00
Rafael Espindola
fc91edb062
Fix a funny Dvorak typo.
...
llvm-svn: 270006
2016-05-19 00:16:09 +00:00
Sean Silva
aa705eccbe
Fix typo.
...
llvm-svn: 270005
2016-05-19 00:12:02 +00:00
Enrico Granata
109dd2e2a2
Fix an issue where debugserver would not properly vend OS version information on iOS devices
...
The __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED macro is only defined on OS X, so the check as written compiled the code out for iOS
The right thing to do is compile the code out for older OSX versions, but leave iOS alone
rdar://26333564
llvm-svn: 270004
2016-05-18 23:59:24 +00:00
Chad Rosier
e006202a4d
[AArch64] Push comment into function. NFC.
...
llvm-svn: 270003
2016-05-18 23:51:17 +00:00