| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 269964
|
| |
|
|
| |
llvm-svn: 269963
|
| |
|
|
| |
llvm-svn: 269962
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
-fembed-bitcode was only checking for old style LTO flag (-flto) but not
considering the new -flto= style option. That makes clang output bitcode
embedded in bitcode object when using -flto= and -fembed-bitcode= together.
Now clang should output normal bitcode file when using LTO and ignores
-fembed-bitcode option.
Reviewers: joker.eph
Subscribers: joker.eph, cfe-commits
Differential Revision: http://reviews.llvm.org/D20374
llvm-svn: 269961
|
| |
|
|
| |
llvm-svn: 269957
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This is used to find nested classes. For a nested name foo::bar::qux we
will first look up foo::bar::qux, then foo::bar, then foo unless we find
a result. This is used to support nested classes which are not part of
the index but can only be used if the header for the parent context is
included.
Differential Revision: http://reviews.llvm.org/D20372
llvm-svn: 269956
|
| |
|
|
| |
llvm-svn: 269955
|
| |
|
|
| |
llvm-svn: 269954
|
| |
|
|
|
|
| |
This re-applies r269845, r269846, and r269850 with an included fix for a crash reported by zturner.
llvm-svn: 269953
|
| |
|
|
|
|
|
|
|
|
| |
The result of the test was C::D(), not D::D().
Reviewers: cfe-commits, klimek
Differential Revision: http://reviews.llvm.org/D20356
llvm-svn: 269952
|
| |
|
|
| |
llvm-svn: 269951
|
| |
|
|
|
|
|
| |
We can chain bcnt instructions together, so
any width popcnt is pretty fast.
llvm-svn: 269950
|
| |
|
|
|
|
|
|
|
|
|
|
| |
instructions"
with an additional fix to make RegAllocFast ignore undef physreg uses. It would
previously get confused about the "push %eax" instruction's use of eax. That
method for adjusting the stack pointer is used in X86FrameLowering::emitSPUpdate
as well, but since that runs after register-allocation, we didn't run into the
RegAllocFast issue before.
llvm-svn: 269949
|
| |
|
|
|
|
|
| |
For some reason an assert is now hit when a valid chain
is not returned, so return the entry chain.
llvm-svn: 269948
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
dlopen and dlclose interception are broken when RUNPATH is used:
https://llvm.org/bugs/show_bug.cgi?id=27790
Reviewers: kutuzov.viktor.84, samsonov, dvyukov, eugenis, kcc
Subscribers: kcc, filcab, kubabrecka, compnerd, llvm-commits
Differential Revision: http://reviews.llvm.org/D20333
llvm-svn: 269947
|
| |
|
|
|
|
|
| |
This just clang formats and cleans comments in an area I am about to
post a patch for review.
llvm-svn: 269946
|
| |
|
|
|
|
|
| |
If the second pointer in a multi-pointer instruction is
a constant, we can replace the type.
llvm-svn: 269945
|
| |
|
|
|
|
|
| |
Fix minor bugs and uses of undef which break when
pointer related optimization passes are run.
llvm-svn: 269944
|
| |
|
|
| |
llvm-svn: 269943
|
| |
|
|
| |
llvm-svn: 269941
|
| |
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D20101
llvm-svn: 269939
|
| |
|
|
|
|
|
|
|
|
|
| |
Use register class that does not include them when looking
for unallocated registers.
This is hit by the udiv v8i64 test in the opencl integer
conformance test, and takes a few seconds to compile in
a debug build so no test included.
llvm-svn: 269938
|
| |
|
|
| |
llvm-svn: 269937
|
| |
|
|
|
|
|
|
|
|
| |
Reviewers: alexfh, aaron.ballman
Subscribers: thakis, cfe-commits, klimek
Differential Revision: http://reviews.llvm.org/D20369
llvm-svn: 269936
|
| |
|
|
|
|
|
|
|
|
|
|
| |
definition of a function that is declared as =default in its class definition.
First part of PR27699.
Patch by Cristina Cristescu!
Reviewed by Richard Smith and me.
llvm-svn: 269935
|
| |
|
|
|
|
| |
Clang follow-up to r269933.
llvm-svn: 269934
|
| |
|
|
| |
llvm-svn: 269933
|
| |
|
|
| |
llvm-svn: 269932
|
| |
|
|
| |
llvm-svn: 269931
|
| |
|
|
|
|
|
| |
Don't expand divisions by constants if it would require multiple instructions.
The current assumption is that engines will perform the desired optimizations.
llvm-svn: 269930
|
| |
|
|
|
|
| |
clang/test/CodeGen/sse42-builtins.c
llvm-svn: 269929
|
| |
|
|
|
|
|
|
|
|
| |
Reviewers: alexfh, aaron.ballman
Subscribers: aaron.ballman, cfe-commits
Differential Revision: http://reviews.llvm.org/D20367
llvm-svn: 269928
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Summary: [clang-include-fixer] Added Vim integration for clang-include-fixer.
Reviewers: hokein, bkramer
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D20329
llvm-svn: 269927
|
| |
|
|
| |
llvm-svn: 269926
|
| |
|
|
| |
llvm-svn: 269925
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Summary: [clang-format] Make formatReplacements() also sort #includes.
Reviewers: bkramer, djasper
Subscribers: klimek, cfe-commits
Differential Revision: http://reviews.llvm.org/D20362
llvm-svn: 269924
|
| |
|
|
|
|
|
|
|
| |
This typically happens when the user didn't setup include paths correctly
and the fixer starts adding garbage includes. Avoid that. Disable the error
limit though, as we might hit that easily with missing includes and still
want to fix those cases.
llvm-svn: 269923
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
The ordering of registers in BinaryRRF instructions are wrong, and
affects the copysign instruction (CPSDR). This results in the wrong
magnitude and sign being set.
Author: zhanjunl
Reviewers: kbarton, uweigand
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D20308
llvm-svn: 269922
|
| |
|
|
| |
llvm-svn: 269921
|
| |
|
|
| |
llvm-svn: 269920
|
| |
|
|
| |
llvm-svn: 269919
|
| |
|
|
|
|
| |
buildbot.
llvm-svn: 269918
|
| |
|
|
|
|
|
|
|
|
| |
The previous patch (r269291) was reverted (commented out) because the patch caused leaks that
were detected by LSan and they broke some lit tests. The actual reason was that dlsym allocates
an error string buffer in TLS, and some LSan lit tests are intentionally not scanning TLS for
root pointers. This patch simply makes LSan ignore the allocation from dlsym, because it's
not interesting anyway.
llvm-svn: 269917
|
| |
|
|
|
|
|
|
|
|
| |
Reviewers: alexfh, aaron.ballman
Subscribers: aaron.ballman, klimek, cfe-commits
Differential Revision: http://reviews.llvm.org/D20360
llvm-svn: 269916
|
| |
|
|
| |
llvm-svn: 269915
|
| |
|
|
|
|
|
|
|
| |
MIPS32 Android defaults to FPXX ("-fpxx").
MIPS32R6 Android defaults to FP64A ("-mfp64 -mno-odd-spreg").
Differential Revision: http://reviews.llvm.org/D20345
llvm-svn: 269914
|
| |
|
|
|
|
|
| |
r269898 fixed the problem with HashBuckets but the same issue occurred with
AddressMap and ThunkMap too.
llvm-svn: 269913
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
MONITORX/MWAITX instructions provide similar capability to the MONITOR/MWAIT
pair while adding a timer function, such that another termination of the MWAITX
instruction occurs when the timer expires. The presence of the MONITORX and
MWAITX instructions is indicated by CPUID 8000_0001, ECX, bit 29.
The MONITORX and MWAITX instructions are intercepted by the same bits that
intercept MONITOR and MWAIT. MONITORX instruction establishes a range to be
monitored. MWAITX instruction causes the processor to stop instruction execution
and enter an implementation-dependent optimized state until occurrence of a
class of events.
Opcode of MONITORX instruction is "0F 01 FA". Opcode of MWAITX instruction is
"0F 01 FB". These opcode information is used in adding tests for the
disassembler.
These instructions are enabled for AMD's bdver4 architecture.
Patch by Ganesh Gopalasubramanian!
Reviewers: echristo, craig.topper, RKSimon
Subscribers: RKSimon, joker.eph, llvm-commits
Differential Revision: http://reviews.llvm.org/D19795
llvm-svn: 269911
|
| |
|
|
| |
llvm-svn: 269910
|
| |
|
|
|
|
|
|
|
|
|
|
| |
MC only needs to know if the output is PIC or not. It never has to
decide about creating GOTs and PLTs for example. The only thing that
MC itself uses this information for is expanding "macros" in sparc and
mips. The rest I am pretty sure could be moved to CodeGen.
This is a cleanup and isolates the code from future changes to
Reloc::Model.
llvm-svn: 269909
|