| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 185210
|
| |
|
|
|
|
|
|
| |
Patch By: Alex Deucher
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
llvm-svn: 185209
|
| |
|
|
| |
llvm-svn: 185208
|
| |
|
|
| |
llvm-svn: 185207
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
On OpenBSD, the stack-smash protection transform uses "__guard_local"
and "__stack_smash_handler" instead of "__stack_chk_guard" and
"__stack_chk_fail". However, CodeGen/PowerPC/stack-protector.ll
doesn't specify a target OS, so on OpenBSD it fails.
Add -mtriple=ppc32-unknown-linux to make the test host-OS agnostic. While
there, convert to FileCheck.
Patch by Matthew Dempsky.
llvm-svn: 185206
|
| |
|
|
| |
llvm-svn: 185205
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Based on GCC's output for TLS variables (OP_constNu, x@dtpoff,
OP_lo_user), this implements debug info support for TLS in ELF. Verified
that this output is correct/sufficient on Linux (using gold - if you're
using binutils-ld, you'll need something with the fix for
http://sourceware.org/bugzilla/show_bug.cgi?id=15685 in it).
Support on non-ELF is sort of "arbitrary" at the moment - if Apple folks
want to discuss (or just go ahead & implement) how this should work in
MachO, etc, I'm open.
llvm-svn: 185203
|
| |
|
|
|
|
|
| |
This is a precursor to adding debug info support for TLS which requires
non-default relocations applied to TLS symbols.
llvm-svn: 185202
|
| |
|
|
|
|
|
|
|
| |
Under certain (evidently rare) circumstances, this code used to convert OR(a,
AND(x, y)) into OR(a, x). This was incorrect.
While there, I've added a comment to the code immediately above.
llvm-svn: 185201
|
| |
|
|
| |
llvm-svn: 185200
|
| |
|
|
|
|
|
| |
+ description for --use-analyzer option
+ managed size of columns of the 'options' table
llvm-svn: 185199
|
| |
|
|
|
|
| |
- should unbreak Windows builds
llvm-svn: 185198
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- warn users when -debug-ir is used with old JIT engine (only partial debug
info is available)
For example, to debug an IR file with GDB (that supports JIT registration), do:
$ gdb --args lli -use-mcjit -debug-ir testcase.ll
(gdb) break main
(gdb) run
<Process continues to lli main>
(gdb) continue
<Process continues to testcase.ll main()
(gdb) step
<Now stepping through the LLVM IR in testcase.ll>
llvm-svn: 185197
|
| |
|
|
|
|
| |
When makes a recursive call to , it passes true for the value of . This causes a beginning-of-line anchor (^) inside a lookahead assertion to match anywhere in the text. This fixes http://llvm.org/bugs/show_bug.cgi?id=11118
llvm-svn: 185196
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
defined atoms.
In order to support linking against DLL, the linker needs to create defined
atoms for jump tables and etc. Because such atoms are not read from a file,
they lack some information such as an ordinal. With this patch, COFFDefinedAtom
is split into two classes; one is the base class of all COFF defined atoms, and
another is a concrete class for atoms read from file. More classes inheriting
COFFBaseDefinedAtom will be added for jump tables and etc.
llvm-svn: 185195
|
| |
|
|
|
|
| |
- missed svn add...
llvm-svn: 185194
|
| |
|
|
|
|
|
|
| |
- Build debug metadata for 'bare' Modules using DIBuilder
- DebugIR can be constructed to generate an IR file (to be seen by a debugger)
or not in cases where the user already has an IR file on disk.
llvm-svn: 185193
|
| |
|
|
|
|
| |
invalid escape sequence. This fixes http://llvm.org/bugs/show_bug.cgi?id=16023
llvm-svn: 185192
|
| |
|
|
|
|
| |
is trying to do.
llvm-svn: 185191
|
| |
|
|
| |
llvm-svn: 185190
|
| |
|
|
| |
llvm-svn: 185189
|
| |
|
|
| |
llvm-svn: 185188
|
| |
|
|
| |
llvm-svn: 185187
|
| |
|
|
|
|
|
|
|
|
|
|
| |
should expand ATOMIC_CMP_SWAP nodes the same way that it does for ATOMIC_SWAP.
Since ATOMIC_LOADs on some targets (e.g. older ARM variants) get legalized to
ATOMIC_CMP_SWAPs, the missing case had been causing i64 atomic loads to crash
during isel.
<rdar://problem/14074644>
llvm-svn: 185186
|
| |
|
|
|
|
|
|
| |
- Use static functions instead of anonymous namespace.
- Appease the Doxygen lobby.
- Use 0-based induction variable.
llvm-svn: 185185
|
| |
|
|
|
|
|
|
|
|
|
| |
Allow a BlockFrequency to be divided by a non-zero BranchProbability
with saturating arithmetic. This will be used to compute the frequency
of a loop header given the probability of leaving the loop.
Our long division algorithm already saturates on overflow, so that was a
freebie.
llvm-svn: 185184
|
| |
|
|
|
|
| |
with new C++1y language rules. This silences -Wconstexpr-not-const warnings.
llvm-svn: 185181
|
| |
|
|
| |
llvm-svn: 185180
|
| |
|
|
|
|
| |
This makes it more consistent with the ZeroOrNegativeOneBooleanContent flag
llvm-svn: 185179
|
| |
|
|
| |
llvm-svn: 185178
|
| |
|
|
|
|
|
|
| |
Fix ABI handling for function
returning bool -- use st.param.b32 to return the value
and use ld.param.b32 in caller to load the return value.
llvm-svn: 185177
|
| |
|
|
| |
llvm-svn: 185176
|
| |
|
|
|
|
|
|
| |
instructions from their patterns
Test case is no breakage
llvm-svn: 185175
|
| |
|
|
|
|
| |
rather poor and we're better off just ignoring it and letting LLVM expand all i8 ops out to i16.
llvm-svn: 185174
|
| |
|
|
| |
llvm-svn: 185173
|
| |
|
|
|
|
| |
vector parameter loads
llvm-svn: 185172
|
| |
|
|
| |
llvm-svn: 185171
|
| |
|
|
|
|
|
|
|
|
| |
breakpoint site. We've already got a process,
and any breakpoints with section relative addresses won't resolve their load addresses so they will error out at that point.
<rdar://problem/13900130>
llvm-svn: 185170
|
| |
|
|
|
|
|
|
| |
This patch assigns paired GPRs for inline asm with
64-bit data on ARM. It's enabled for both ARM and Thumb to support modifiers
like %H, %Q, %R.
llvm-svn: 185169
|
| |
|
|
| |
llvm-svn: 185168
|
| |
|
|
|
|
| |
string. This completes the custom pointer support for the entire library.
llvm-svn: 185167
|
| |
|
|
|
|
|
|
|
| |
sys::fs::unique_file will now loop infinitely if provided with a file name
without '%' characters and the input file already exists. As a result, bugpoint
cannot use a fixed file name for the execution output (including the reference
output).
llvm-svn: 185166
|
| |
|
|
|
|
|
|
|
| |
I used the class to safely reset the state of the builder's debug location. I
think I have caught all places where we need to set the debug location to a new
one. Therefore, we can replace the class by a function that just sets the debug
location.
llvm-svn: 185165
|
| |
|
|
| |
llvm-svn: 185164
|
| |
|
|
|
|
| |
instead of python script
llvm-svn: 185163
|
| |
|
|
|
| |
Reviewed-by: Vincent Lejeune<vljn at ovi.com>
llvm-svn: 185162
|
| |
|
|
|
| |
Reviewed-by: Vincent Lejeune<vljn at ovi.com>
llvm-svn: 185161
|
| |
|
|
|
|
|
|
| |
v2:
- Remove functions left over from a previous rebase.
Reviewed-by: Vincent Lejeune<vljn at ovi.com>
llvm-svn: 185160
|
| |
|
|
| |
llvm-svn: 185159
|
| |
|
|
|
|
|
|
|
|
|
| |
We were generating intrinsics for NEON fixed-point conversions that didn't
exist (e.g. float -> i16). There are two cases to consider:
+ iN is smaller than float. In this case we can do the conversion but need an
extend or truncate as well.
+ iN is larger than float. In this case using the NEON conversion would be
incorrect so we don't perform any combining.
llvm-svn: 185158
|