| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
This patche and a related llvm patch solve the problem of having to explicitly enable analysis when specifying a loop hint pragma to get the diagnostics. Passing AlwasyPrint as the pass name (see below) causes the front-end to print the diagnostic if the user has specified '-Rpass-analysis' without an '=<target-pass>’. Users of loop hints can pass that compiler option without having to specify the pass and they will get diagnostics for only those loops with loop hints.
llvm-svn: 244556
|
| |
|
|
|
|
| |
This patch and a relatec clang patch solve the problem of having to explicitly enable analysis when specifying a loop hint pragma to get the diagnostics. Passing AlwasyPrint as the pass name (see below) causes the front-end to print the diagnostic if the user has specified '-Rpass-analysis' without an '=<target-pass>’. Users of loop hints can pass that compiler option without having to specify the pass and they will get diagnostics for only those loops with loop hints.
llvm-svn: 244555
|
| |
|
|
| |
llvm-svn: 244554
|
| |
|
|
|
|
| |
LoopVectorizationLegality and LoopVectorizationCostModel.
llvm-svn: 244552
|
| |
|
|
|
|
|
|
|
|
| |
Summary: convertToHexString doesn't represent them correctly at this point in time. This is a follow-up to sunfish's suggestion in D11914.
Subscribers: llvm-commits, sunfish, jfb
Differential Revision: http://reviews.llvm.org/D11925
llvm-svn: 244551
|
| |
|
|
|
|
| |
Hints::allowVectorization().
llvm-svn: 244550
|
| |
|
|
|
|
|
|
| |
We will use this for ASan on Windows soon. When the ELF port of LLD
matures, we can add other sanitizer integration tests to make sure they
work with LLD.
llvm-svn: 244549
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This commit serializes the UsedPhysRegMask register mask from the machine
register information class. The mask is serialized as an inverted
'calleeSavedRegisters' mask to keep the output minimal.
This commit also allows the MIR parser to infer this mask from the register
mask operands if the machine function doesn't specify it.
Reviewers: Duncan P. N. Exon Smith
llvm-svn: 244548
|
| |
|
|
|
|
| |
module cache for this build.
llvm-svn: 244547
|
| |
|
|
|
|
|
| |
This fixes a minor error checking bug around calling
internal_read/write, and makes the code more portable for D11791.
llvm-svn: 244546
|
| |
|
|
| |
llvm-svn: 244545
|
| |
|
|
| |
llvm-svn: 244544
|
| |
|
|
|
|
| |
This checks that bork_directive occurs exactly twice in the test output.
llvm-svn: 244543
|
| |
|
|
| |
llvm-svn: 244542
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
NaCl is a platform where long double is the same as double.
Its mangling is spelled with "long double" but its ABI lowering is the same
as double.
Reviewers: rnk, chh
Subscribers: jfb, cfe-commits, dschuff
Differential Revision: http://reviews.llvm.org/D11922
llvm-svn: 244541
|
| |
|
|
|
|
| |
This was requested by Hal in D11205.
llvm-svn: 244540
|
| |
|
|
|
|
| |
corresponding include location (those specified on the command line).
llvm-svn: 244538
|
| |
|
|
| |
llvm-svn: 244537
|
| |
|
|
| |
llvm-svn: 244536
|
| |
|
|
| |
llvm-svn: 244535
|
| |
|
|
| |
llvm-svn: 244534
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Summary: These are needed to talk to llvm-symbolizer on Windows.
Reviewers: samsonov
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D11920
llvm-svn: 244533
|
| |
|
|
| |
llvm-svn: 244532
|
| |
|
|
| |
llvm-svn: 244531
|
| |
|
|
| |
llvm-svn: 244530
|
| |
|
|
| |
llvm-svn: 244529
|
| |
|
|
| |
llvm-svn: 244528
|
| |
|
|
| |
llvm-svn: 244527
|
| |
|
|
|
|
| |
Following one of the appended options will allow the loop to be vectorized. We do not include a command line option for modifying the pointer checking threshold because there is no clang-level interface for this currently.
llvm-svn: 244526
|
| |
|
|
| |
llvm-svn: 244525
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
A test was recently (r244468) added to cover long double calling convention
codegen, distinguishing between Android and GNU conventions (where long doubles
are fp128 and x86_fp80, respectively). Native Client is a target where long
doubles are the same as doubles. This change augments the test to cover
that case.
Also rename the test to test/codeGen/X86_64-longdouble.c
Differential Revision: http://reviews.llvm.org/D11921
llvm-svn: 244524
|
| |
|
|
|
|
| |
This patch moves checking the threshold of runtime pointer checks to the vectorization requirements (late diagnostics) and emits a diagnostic that infroms the user the loop would be vectorized if not for exceeding the pointer-check threshold. Clang will also append the options that can be used to allow vectorization.
llvm-svn: 244523
|
| |
|
|
|
|
|
|
| |
llvm-symbolizer will print parameter types. Split out from D11791.
NFC
llvm-svn: 244522
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
A virtual base class and derived class should only poison their
respective members upon destruction. In particular, trivial members should
be poisoned directly, non-trivial members should be poisoned by their
respective destructors, and references to non-trivial members should be
poisoned.
Reviewers: eugenis, kcc
Differential Revision: http://reviews.llvm.org/D11912
Test case avoids casting to access members
Run configurations to reflect expected runtime failure on assertions.
Simplified access to internal members.
Updated internal member structure of base.
Revised assert in main to verify successful poisoning after dtor.
Verify address of pointer is poisoned.
Fixed assert err.
Cleaned up test by removing extraneous prints, asserts.
llvm-svn: 244521
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
For now output using C99's hexadecimal floating-point representation.
This patch also cleans up how machine operands are printed: instead of special-casing per type of machine instruction, the code now handles operands generically.
Reviewers: sunfish
Subscribers: llvm-commits, jfb
Differential Revision: http://reviews.llvm.org/D11914
llvm-svn: 244520
|
| |
|
|
| |
llvm-svn: 244519
|
| |
|
|
| |
llvm-svn: 244518
|
| |
|
|
|
|
| |
cost-model related problems on arm-thumb and hexagon.
llvm-svn: 244517
|
| |
|
|
|
|
|
| |
Juergen pointed out that this variable is treated in a case
insensitive way.
llvm-svn: 244516
|
| |
|
|
|
|
| |
being instantiated, and that instantiation fails, fail our instantiation instead of crashing. Errors have already been emitted.
llvm-svn: 244515
|
| |
|
|
|
|
|
|
| |
- TestLldbGdbServer.py both clang & gcc, i386 and x86_64
- TestConstVariables.py gcc, i386 and x86_64
- 112 failures clang, i386
llvm-svn: 244514
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The PATCHPOINT instructions have a single optional defined register operand,
but the machine verifier can't verify the optional defined register operands.
This commit makes sure that the machine verifier won't report an error when a
PATCHPOINT instruction doesn't have its optional defined register operand.
This change will allow us to enable the machine verifier for the code
generation tests for the patchpoint intrinsics.
Reviewers: Juergen Ributzka
llvm-svn: 244513
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This makes it so that reports symbolized after the fact with
llvm-symbolizer are more similar to the ones we generate at runtime with
in-process dbghelp.
Reviewers: samsonov
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D11785
llvm-svn: 244512
|
| |
|
|
| |
llvm-svn: 244511
|
| |
|
|
|
|
|
| |
With this we finally have an ELFFile that is O(1) to construct. This is helpful
for programs like lld which have to do their own section walk.
llvm-svn: 244510
|
| |
|
|
| |
llvm-svn: 244509
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
frame setup instruction.
This commit ensures that the stack map lowering code in FastISel adds an
appropriate number of immediate operands to the frame setup instruction.
The previous code added just one immediate operand, which was fine for a target
like AArch64, but on X86 the ADJCALLSTACKDOWN64 instruction needs two explicit
operands. This caused the machine verifier to report an error when the old code
added just one.
Reviewers: Juergen Ributzka
Differential Revision: http://reviews.llvm.org/D11853
llvm-svn: 244508
|
| |
|
|
| |
llvm-svn: 244507
|
| |
|
|
| |
llvm-svn: 244506
|
| |
|
|
|
|
| |
problems on arm-thumb and hexagon.
llvm-svn: 244505
|