| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
When estimating register pressure, don't count the induction variable mulitple
times. It is unlikely to be unrolled. This is currently disabled and hidden
behind a flag ("enable-ind-var-reg-heur").
llvm-svn: 200371
|
| |
|
|
| |
llvm-svn: 200370
|
| |
|
|
|
|
|
| |
We need to increase the memory and the filesize when we add a typeZeroFillQuick
atom.
llvm-svn: 200369
|
| |
|
|
|
|
| |
_GLOBAL_OFFSET_TABLE_ in sparcv9.
llvm-svn: 200368
|
| |
|
|
|
|
|
|
|
| |
This is a bit more convenient for some callers, but more importantly, it is
easier to implement correctly. Doing this removes the patching of already
printed data that was used for fastcall, fixing a crash with private fastcall
symbols.
llvm-svn: 200367
|
| |
|
|
|
|
| |
the VS2013 RTL
llvm-svn: 200366
|
| |
|
|
|
|
|
|
| |
When the scalar compare is between floating point and operands are
vector, we custom lower SELECT_CC to use NEON SIMD compare for
generating less instructions.
llvm-svn: 200365
|
| |
|
|
|
|
| |
(reviewed by Marshall Clow)
llvm-svn: 200364
|
| |
|
|
|
|
|
| |
We should suggest using /Tc or /Tp to set the input type, instead of
erroneously suggesting -x, which isn't a clang-cl flag.
llvm-svn: 200362
|
| |
|
|
| |
llvm-svn: 200361
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The default value of this attribute is PTHREAD_PROCESS_PRIVATE, so
there's no point in calling pthread_mutexattr_setpshared() to set
that.
See: http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_mutexattr_getpshared.html
This removes some ifdefs that tend to need to be extended for other
platforms (e.g. for NaCl).
Note that this call was in the first implementation of Mutex, added in
r22403, so it doesn't appear to have been added in response to a
performance problem.
Differential Revision: http://llvm-reviews.chandlerc.com/D2633
llvm-svn: 200360
|
| |
|
|
|
|
|
|
| |
grow into the following virtual base.
Differential Revision: http://llvm-reviews.chandlerc.com/D2560
llvm-svn: 200359
|
| |
|
|
|
|
|
|
|
| |
Use an RAII object Instead of inserting a call to
AsmLexer::setSkipSpace(true) in all error paths.
No functional change.
llvm-svn: 200358
|
| |
|
|
|
|
|
| |
This will be better with c++11, but right now file_magic converts to bool,
which makes the api really easy to misuse.
llvm-svn: 200357
|
| |
|
|
|
|
|
|
|
| |
cast into a boolean true value. This warning will catch code like:
if (@0) {}
if (@"foo") {}
llvm-svn: 200356
|
| |
|
|
|
|
| |
Oops. Don't do build tests on patches like that with --enable-targets=x86_64
llvm-svn: 200355
|
| |
|
|
|
|
|
|
|
|
| |
I assume that the name is file_type because it is the name of a c++11 type that
we will use once we convert, but at least our current implementation can look
like llvm code.
Thanks to David Blakie for the push.
llvm-svn: 200354
|
| |
|
|
| |
llvm-svn: 200353
|
| |
|
|
| |
llvm-svn: 200352
|
| |
|
|
|
|
|
| |
1. test that inlineasm works
2. test that relaxable instructions are re-encoded in the correct mode.
llvm-svn: 200351
|
| |
|
|
|
|
|
|
| |
The subtarget info is explicitly passed to the EncodeInstruction
method and we should use that subtarget info to influence any
encoding decisions.
llvm-svn: 200350
|
| |
|
|
| |
llvm-svn: 200349
|
| |
|
|
| |
llvm-svn: 200348
|
| |
|
|
|
|
|
|
|
|
|
| |
Needed to fix PR18303 to correctly re-encode the instruction if it
is relaxed.
We keep a copy of the MCSubtargetInfo to make sure that we are not
effected by future changes to the subtarget info coming from the
assembler (e.g. when parsing .code 16 directived).
llvm-svn: 200347
|
| |
|
|
|
|
|
|
| |
Add MCSubtargetInfo parameter
virtual void EmitInstToFragment(const MCInst &Inst, const MCSubtargetInfo &);
virtual void EmitInstToData(const MCInst &Inst, const MCSubtargetInfo &);
llvm-svn: 200346
|
| |
|
|
| |
llvm-svn: 200345
|
| |
|
|
|
|
|
| |
This makes sure that the ms-intrin.cpp test passes by providing
a mock setjmp.h as a test input.
llvm-svn: 200344
|
| |
|
|
| |
llvm-svn: 200343
|
| |
|
|
|
|
|
| |
was not being overridden in the category method implementation
resulting in bogus warning. // rdar://15919775
llvm-svn: 200342
|
| |
|
|
| |
llvm-svn: 200341
|
| |
|
|
|
|
| |
Reviewed at http://llvm-reviews.chandlerc.com/D2232
llvm-svn: 200340
|
| |
|
|
|
|
| |
instead of crashing. // rdar://15824769.
llvm-svn: 200338
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before:
ReturnType __attribute__((unused))
function(int i);
After:
ReturnType __attribute__((unused))
function(int i);
This fixes llvm.org/PR18632.
llvm-svn: 200337
|
| |
|
|
| |
llvm-svn: 200335
|
| |
|
|
| |
llvm-svn: 200333
|
| |
|
|
|
|
|
| |
As opposed to GCC/GAS the default ABI for Mips64 is n64.
Compatibility bit should be set if o32 ABI is used when targeting Mips64.
llvm-svn: 200332
|
| |
|
|
|
|
| |
Makes it easy to use BumpPtrAllocator to make a copy of StringRef strings.
llvm-svn: 200331
|
| |
|
|
| |
llvm-svn: 200328
|
| |
|
|
|
|
|
|
|
|
| |
Before:
optional int32 foo[ default = true, deprecated = true ];
After:
optional int32 foo[default = true, deprecated = true];
llvm-svn: 200327
|
| |
|
|
| |
llvm-svn: 200326
|
| |
|
|
|
|
|
|
| |
The code was missing the case for aggregate parameters and
hence was emitting them as .b0 type. Also fixed a couple
of comments.
llvm-svn: 200325
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This improves the fix committed at revision 199683 adding the
following new target specific combine rules:
1) fold (v4i32: vselect <0,0,-1,-1>, A, B) ->
(v4i32 (bitcast (movsd (v2i64 (bitcast A)), (v2i64 (bitcast B))) ))
2) fold (v4f32: vselect <0,0,-1,-1>, A, B) ->
(v4f32 (bitcast (movsd (v2f64 (bitcast A)), (v2f64 (bitcast B))) ))
3) fold (v4i32: vselect <-1,-1,0,0>, A, B) ->
(v4i32 (bitcast (movsd (v2i64 (bitcast B)), (v2i64 (bitcast A))) ))
4) fold (v4f32: vselect <-1,-1,0,0>, A, B) ->
(v4f32 (bitcast (movsd (v2i64 (bitcast B)), (v2i64 (bitcast A))) ))
llvm-svn: 200324
|
| |
|
|
| |
llvm-svn: 200323
|
| |
|
|
|
|
|
|
|
|
|
| |
When simplifycfg moves an instruction, it must drop metadata it doesn't know
is still valid with the preconditions changes. In particular, it must drop
the range and tbaa metadata.
The patch implements this with an utility function to drop all metadata not
in a white list.
llvm-svn: 200322
|
| |
|
|
|
|
|
|
| |
build, otherwise it gets built (at least in Visual Studio 2013).
Thanks to chapuni200000 for help with this in IRC!
llvm-svn: 200321
|
| |
|
|
|
|
|
|
|
| |
Mozilla and WebKit seem to use a space after @property (verified by
grepping their codebases) so we turn this on there as well.
Change by Christian Legnitto. Thank you!
llvm-svn: 200320
|
| |
|
|
|
|
| |
handling and thus should not be moved to common.
llvm-svn: 200319
|
| |
|
|
| |
llvm-svn: 200318
|
| |
|
|
|
|
|
|
| |
by Tim Northover. Written by Matt Thomas.
Differential Revision: http://llvm-reviews.chandlerc.com/D2631
llvm-svn: 200317
|
| |
|
|
|
|
|
|
|
| |
Express the strto* interceptors though macros. This removes a lot of
duplicate code and fixes a couple of copypasto bugs (where "res" was declared of
a different type than the actual return type). Also, add a few more interceptors
for strto*_l.
llvm-svn: 200316
|