- Aug 28, 2014
-
-
Todd Fiala authored
See http://reviews.llvm.org/D4381. Change by Paul Osmialowski. llvm-svn: 216668
-
Sid Manning authored
Reviewers: adasgupt, jverma, sidneym Differential Revision: http://reviews.llvm.org/D5025 llvm-svn: 216667
-
Aaron Ballman authored
llvm-svn: 216666
-
Timur Iskhodzhanov authored
llvm-svn: 216665
-
NAKAMURA Takumi authored
llvm-svn: 216664
-
Timur Iskhodzhanov authored
[ASan/Win] Add the -Zl flag to avoid /DEFAULTLIB:libcmt directive in the asan_win_uar_thunk object file This directive results in 'symbol already defined' when linking DLLs that use -MD llvm-svn: 216663
-
Oliver Stannard authored
The current default abi when no environment is given is "apcs-gnu", which is obsolete. This patch changes the default to "aapcs". "aapcs" has both hard- and soft-float variants, so the -mhard-float, -msoft-float and -mfloat-abi= options now all behave as expected when no environment is specified in the triple. While writing this I also noticed that a preprocessor test claims to be checking darwin, but is actually checking the defaults, which are different for darwin. llvm-svn: 216662
-
Alexander Potapenko authored
llvm-svn: 216661
-
Arnaud A. de Grandmaison authored
llvm-svn: 216660
-
David Majnemer authored
InstSimplify already handles icmp (X+Y), X (and things like it) appropriately. The first thing that InstCombine does is run InstSimplify on the instruction. llvm-svn: 216659
-
Yi Kong authored
Summary: ACLE 2.0 section 9.2 defines the following "miscellaneous data processing intrinsics": `__clz`, `__cls`, `__ror`, `__rev`, `__rev16`, `__revsh` and `__rbit`. `__clz` has already been implemented in the arm_acle.h header file. The rest are not supported yet. This patch completes ACLE data processing intrinsics. Reviewers: t.p.northover, rengolin Reviewed By: rengolin Subscribers: aemerson, mroth, llvm-commits Differential Revision: http://reviews.llvm.org/D4983 llvm-svn: 216658
-
Alexander Potapenko authored
to make the tests green. Slow stack unwinding is disabled in libsanitizer on Darwin now. llvm-svn: 216657
-
Erik Eckstein authored
For a detailed description of the problem see the comment in the test file. The problematic moveBefore() calls are not required anymore because the new scheduling algorithm ensures a correct ordering anyway. llvm-svn: 216656
-
Alexey Bataev authored
llvm-svn: 216655
-
Michel Danzer authored
Tested-by:Aaron Watry <awatry@gmail.com> llvm-svn: 216654
-
Michel Danzer authored
Tested-by:Aaron Watry <awatry@gmail.com> llvm-svn: 216653
-
Richard Smith authored
merged context, pull in the lexical decls in that context, since one of them may complete the redecl chain. llvm-svn: 216652
-
David Xu authored
llvm-svn: 216651
-
Justin Hibbits authored
llvm-svn: 216650
-
Alexey Bataev authored
Differential Revision: http://reviews.llvm.org/D4368 llvm-svn: 216649
-
Lang Hames authored
More work on http://llvm.org/PR20640 llvm-svn: 216648
-
David Majnemer authored
I've decided not to commit a test, it takes 2.5 seconds to run on my an incredibly strong machine. llvm-svn: 216647
-
Chandler Carruth authored
clang-format, no functionality changed. llvm-svn: 216646
-
Chandler Carruth authored
a single early exit. And factor the subsequent cast<> from all but one block into a single variable. No functionality changed. llvm-svn: 216645
-
Chandler Carruth authored
functionality changed. Separating this into two functions wasn't helping. There was a decent amount of boilerplate duplicated, and some subsequent refactorings here will pull even more common code out. llvm-svn: 216644
-
Chandler Carruth authored
file. Changing code that is covered by these tests is just too hard to debug currently, and now it will be clear the nature of the changes. llvm-svn: 216643
-
David Majnemer authored
Several combines involving icmp (shl C2, %X) C1 can be simplified without introducing any new instructions. Move them to InstSimplify; while we are at it, make them more powerful. llvm-svn: 216642
-
Richard Trieu authored
don't mark the field as initialized until the next initializer instead of instantly. Since this checker is AST based, statements are processed in tree order instead of following code flow. This can result in different warnings from just reordering the code. Also changed to use one checker per constructor instead of creating a new checker per field. class T { int x, y; // Already warns T(bool b) : x(!b ? (1 + y) : (y = 5)) {} // New warning added here, previously (1 + y) comes after (y = 5) in the AST // preventing the warning. T(bool b) : x(b ? (y = 5) : (1 + y)) {} }; llvm-svn: 216641 -
Juergen Ributzka authored
The included test case would fail, because the MI PHI node would have two operands from the same predecessor. This problem occurs when a switch instruction couldn't be selected. This happens always, because there is no default switch support for FastISel to begin with. The problem was that FastISel would first add the operand to the PHI nodes and then fall-back to SelectionDAG, which would then in turn add the same operands to the PHI nodes again. This fix removes these duplicate PHI node operands by reseting the PHINodesToUpdate to its original state before FastISel tried to select the instruction. This fixes <rdar://problem/18155224>. llvm-svn: 216640
-
Richard Smith authored
contexts, so that we can merge them when we merge the surrounding context. llvm-svn: 216639
-
Alexey Samsonov authored
llvm-svn: 216638
-
Jim Ingham authored
breakpoint if no breakpoint id is specified. <rdar://problem/17885160> llvm-svn: 216637
-
Rui Ueyama authored
Image Base field in the PE/COFF header is used as hint for the loader. If the loader can load the executable at the specified address, that's fine, but if not, it has to load it at a different address. If that happens, the loader has to fix up the addresses in the executable by adding the offset. The list of addresses that need to be fixed is in .reloc section. This patch is to emit x64 .reloc section contents. llvm-svn: 216636
-
Alexey Samsonov authored
llvm-svn: 216635
-
Juergen Ributzka authored
Currently instructions are folded very aggressively for AArch64 into the memory operation, which can lead to the use of killed operands: %vreg1<def> = ADDXri %vreg0<kill>, 2 %vreg2<def> = LDRBBui %vreg0, 2 ... = ... %vreg1 ... This usually happens when the result is also used by another non-memory instruction in the same basic block, or any instruction in another basic block. This fix teaches hasTrivialKill to not only check the LLVM IR that the value has a single use, but also to check if the register that represents that value has already been used. This can happen when the instruction with the use was folded into another instruction (in this particular case a load instruction). This fixes rdar://problem/18142857. llvm-svn: 216634
-
Richard Smith authored
on CXXRecordDecls when merging definitions, and make it pass by not trying to save and restore this flag across AST serialization/deserialization. For CXXRecordDecls, we have a separate mechanism to manage this. llvm-svn: 216633
-
Juergen Ributzka authored
Quentin pointed out that this is not the correct approach and there is a better and easier solution. llvm-svn: 216632
-
Alexey Samsonov authored
Summary: Introduce support::ulittleX_t::ref type to Support/Endian.h and use it in x86 JIT to enforce correct endianness and fix unaligned accesses. Test Plan: regression test suite Reviewers: lhames Subscribers: ributzka, llvm-commits Differential Revision: http://reviews.llvm.org/D5011 llvm-svn: 216631
-
Todd Fiala authored
llvm-svn: 216630
-
Juergen Ributzka authored
Currently instructions are folded very aggressively into the memory operation, which can lead to the use of killed operands: %vreg1<def> = ADDXri %vreg0<kill>, 2 %vreg2<def> = LDRBBui %vreg0, 2 ... = ... %vreg1 ... This usually happens when the result is also used by another non-memory instruction in the same basic block, or any instruction in another basic block. If the computed address is used by only memory operations in the same basic block, then it is safe to fold them. This is because all memory operations will fold the address computation and the original computation will never be emitted. This fixes rdar://problem/18142857. llvm-svn: 216629
-