| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
| |
Specifying a fixed triple is not possible because that target may not
even be compiler. Go for a simpler fix by using a _? regex for the
prefix.
llvm-svn: 253758
|
| |
|
|
| |
llvm-svn: 253757
|
| |
|
|
|
|
|
| |
I have plans to reuse this function in another script, so raising
this out of prepare_bindings allows this.
llvm-svn: 253755
|
| |
|
|
|
|
| |
Explicitely specify a target to avoid "_" prefixes on the names.
llvm-svn: 253741
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Add a -preserve-modules option to llvm-link that simulates LTO
clients that don't destroy modules as they are linked. This enables
reproduction of a recent bug introduced by a metadata linking change
that was only caught when the modules weren't destroyed before
writing bitcode (LTO on Windows).
See http://llvm.org/viewvc/llvm-project?view=revision&revision=253170
for more details on the original bug and the fix.
Confirmed the new test added here reproduces the failure using the new
option when I suppress the fix.
Reviewers: pcc
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D14818
llvm-svn: 253740
|
| |
|
|
| |
llvm-svn: 253739
|
| |
|
|
|
|
|
|
|
| |
Clang should not convert tokens to Unicode when preprocessing assembly
files.
Fixes PR25558.
llvm-svn: 253738
|
| |
|
|
| |
llvm-svn: 253737
|
| |
|
|
| |
llvm-svn: 253736
|
| |
|
|
|
|
| |
I hope this fixes our internal buildbots (rdar://23614130)
llvm-svn: 253735
|
| |
|
|
|
|
|
|
| |
Also adds SB API to save a core and tests that use it.
Differential Revision: http://reviews.llvm.org/D14793
llvm-svn: 253734
|
| |
|
|
| |
llvm-svn: 253733
|
| |
|
|
| |
llvm-svn: 253732
|
| |
|
|
| |
llvm-svn: 253731
|
| |
|
|
| |
llvm-svn: 253730
|
| |
|
|
|
|
|
|
| |
This test checks if we can print a backtrace from the death callback. On old
OS X versions, backtrace is not able to symbolicate the trace past the ASan
runtime because we build with -fomit-frame-pointer.
llvm-svn: 253729
|
| |
|
|
| |
llvm-svn: 253728
|
| |
|
|
| |
llvm-svn: 253727
|
| |
|
|
| |
llvm-svn: 253726
|
| |
|
|
| |
llvm-svn: 253725
|
| |
|
|
|
|
|
|
|
| |
pairs that use the same register to execute as a single instruction.
No Functional Change
Patch by Kyle Butt!
llvm-svn: 253724
|
| |
|
|
|
|
| |
Not all zero vectors are ConstantDataVector's.
llvm-svn: 253723
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Add and instructions immediately after loads that only have their low
bits used, assuming that the (and (load x) c) will be matched as a
extload and the ands/truncs fed by the extload will be removed by isel.
Reviewers: mcrosier, qcolombet, ab
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D14584
llvm-svn: 253722
|
| |
|
|
|
|
|
|
|
|
| |
This adds support for three types of argument specifications for bootstrap builds:
(1) Arguments prefixed with BOOTSTRAP_* will be passed through with the leading BOOTSTRAP_ removed.
(2) CLANG_BOOTSTRAP_PASSTHROUGH can specify a list of variables to be passed through as they are set.
(3) BOOTSTRAP_DEFAULT_PASSTHROUGH is a list of some default passthrough variables that are always passed through. Those variables include the version string and should only specify variables that are always expected to be the same between the stage1 and stage2
llvm-svn: 253721
|
| |
|
|
|
|
| |
When passing around CMake arguments as lists of arguments any arguments containing lists need to have their semi-colons escaped otherwise CMake will split the arguments in the middle.
llvm-svn: 253720
|
| |
|
|
|
|
| |
When passing around CMake arguments as lists of arguments any arguments containing lists need to have their semi-colons escaped otherwise CMake will split the arguments in the middle.
llvm-svn: 253719
|
| |
|
|
|
|
|
|
| |
The included test only checks for a compiler crash for now. Several people are
facing this issue, so we first resolve the crash, and will increase shrinkwrap's
coverage later in a follow-up patch.
llvm-svn: 253718
|
| |
|
|
| |
llvm-svn: 253717
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
coverage.
If a function was originally inlined but not actually hot at runtime,
its samples will not be counted inside the parent function. This throws
off the coverage calculation because it expects to find more used
records than it should.
Fixed by ignoring functions that will not be inlined into the parent.
Currently, this is inlined functions with 0 samples. In subsequent
patches, I'll change this to mean "cold" functions.
llvm-svn: 253716
|
| |
|
|
|
|
|
| |
These two relocations where the only missing step to get a dynamically
linked (with libc) "hello world" on FreeBSD.
llvm-svn: 253714
|
| |
|
|
| |
llvm-svn: 253713
|
| |
|
|
|
|
| |
Clang driver was fixed in r253707.
llvm-svn: 253712
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This change merges adjacent zero stores into a wider single store.
For example :
strh wzr, [x0]
strh wzr, [x0, #2]
becomes
str wzr, [x0]
This will fix PR25410.
llvm-svn: 253711
|
| |
|
|
| |
llvm-svn: 253710
|
| |
|
|
|
|
| |
We already support this in autoconf and it ships in Apple Clang.
llvm-svn: 253709
|
| |
|
|
|
|
|
|
|
|
| |
incorrect, as the chosen representative of the weak symbol may not live
with the code in question. Always indirect the access through the TOC
instead.
Patch by Kyle Butt!
llvm-svn: 253708
|
| |
|
|
|
|
|
| |
This allows us to construct Linux toolchains without a valid linker. This
is needed for example to build a CUDA device toolchain after r253385.
llvm-svn: 253707
|
| |
|
|
|
|
|
|
|
| |
This is similar to the earlier fix I did, r253702, expect that here it
is function names that are being searched for. If the function name
matches part of the directory name it can cause an apparent test
case failure.
llvm-svn: 253706
|
| |
|
|
| |
llvm-svn: 253705
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Summary: This reverts commit 70dca28976ee8137acce2cc203dd394f4d761276.
Reviewers: amccarth, zturner
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D14881
llvm-svn: 253704
|
| |
|
|
|
|
|
|
| |
There seems to be a problem in system header (stdint.h) of FreeBSD
where uint8_t nor uint16_t are defined. Explicitly define the key
types as done for FreeBSD i386.
llvm-svn: 253703
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Several (but not all) of the labels that are checked for in this test case
are checked as strings instead of labels. This can cause an apparent test
case failure if they are tested in an appropriately named directory.
For example, one of them that fails:
define zeroext i32 @test2(i32 %A.u, i32 %B.u) {
; A8: test2
; A8: uxtab r0, r0, r1
Output that causes it to fail:
. . .
.file "/home/seurer/llvm/llvm-test2/test/CodeGen/Thumb2/thumb2-uxt_rot.ll"
. . .
.globl test2
.align 1
.type test2,%function
.code 16 @ @test2
.thumb_func
test2:
.fnstart
The "A8: test2" matches on the directory name instead of the label.
llvm-svn: 253702
|
| |
|
|
|
|
| |
This should fix Windows buildbot breakage triggered by r253690.
llvm-svn: 253701
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Value profile enumerator change to match LLVM code
ProfData new member field name change to match LLVM code
ProfData member type change to match LLVM code
Do not use lower case for types that are internal to implementation (not exposed to APIs)
There is no functional change. This is a preparation patch to enable more code sharing
in follow up patches
Differential Revision: http://reviews.llvm.org/D14841
llvm-svn: 253700
|
| |
|
|
|
|
|
|
| |
Patch by Kamil Rytarowski
Differential Revision: http://reviews.llvm.org/D14876
llvm-svn: 253699
|
| |
|
|
| |
llvm-svn: 253698
|
| |
|
|
|
|
| |
the test yet
llvm-svn: 253697
|
| |
|
|
|
|
|
|
|
|
| |
This reverts r253661.
Turns out that the assignment is not redundant (despite the Clang static analyzer claiming the opposite).
The variable is being used by the lambda function AddUsersToWorklistIfCapturing().
llvm-svn: 253696
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This change refactors two aspects of InstrProfRecord:
1) Add a merge() method to InstrProfRecord (previously InstrProfWriter combineInstrProfRecords()) in order to better encapsulate this functionality and to make the InstrProfRecord and SampleRecord APIs more consistent.
2) Make InstrProfRecord mergeValueProfData() a private method since it is only ever called internally by merge().
Reviewers: dnovillo, bogner, davidxl
Subscribers: silvas, vsk, llvm-commits
Differential Revision: http://reviews.llvm.org/D14786
llvm-svn: 253695
|
| |
|
|
|
|
|
|
|
|
|
| |
Rather than storing BeforeInfo in the DenseMap by value, this stores a
unique_ptr to it, so that we can keep a pointer to it live across
subsequent DenseMap insertions.
This change also removes the unique_ptr wrapper around BeforeVect
because now we're indirecting at a higher level.
llvm-svn: 253694
|