- May 13, 2014
-
-
Christian Pirker authored
llvm-svn: 208689
-
Nico Weber authored
llvm-svn: 208688
-
Joerg Sonnenberger authored
class. llvm-svn: 208687
-
Evgeniy Stepanov authored
llvm-svn: 208686
-
Daniel Sanders authored
[mips] Free up two values in SubtargetFeatureFlag by folding the redundant IsGP32/IsGP64 into IsGP32bit/IsGP64bit Summary: We are currently very close to the 32-bit limit of the current assembler implementation. This is because there is no way to represent an instruction that is available in, for example, Mips3 or Mips32. We have to define a feature bit that represents this. This patch cleans up a pair of redundant feature bits and slightly postpones the point we will reach the limit. Reviewers: zoran.jovanovic, jkolek, vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D3703 llvm-svn: 208685
-
Artyom Skrobov authored
llvm-svn: 208684
-
Nico Weber authored
`clang -S -o - file.c -masm=att` will write assembly to stdout in at&t syntax (the default), `-masm=intel` will instead output intel style asm. llvm-svn: 208683
-
Timur Iskhodzhanov authored
Reviewed at http://reviews.llvm.org/D3720 llvm-svn: 208682
-
Artyom Skrobov authored
llvm-svn: 208681
-
Artyom Skrobov authored
[un]wrap extracted from lib/Target/Target[MachineC].cpp, lib/ExecutionEngine/ExecutionEngineBindings.cpp into include/llvm/IR/DataLayout.h llvm-svn: 208680
-
Tim Northover authored
llvm-svn: 208679
-
Evgeniy Stepanov authored
llvm-svn: 208678
-
Evgeniy Stepanov authored
llvm-svn: 208677
-
Evgeniy Stepanov authored
Move fflush and fclose interceptors to sanitizer_common. Use a metadata map to keep information about the external locations that must be updated when the file is written to. llvm-svn: 208676
-
Jay Foad authored
llvm-svn: 208675
-
Timur Iskhodzhanov authored
Reviewed at http://reviews.llvm.org/D3725 llvm-svn: 208674
-
Kostya Serebryany authored
llvm-svn: 208673
-
Daniel Jasper authored
Before: zzzzzzzzzz = bbbbbbbbbbbbbbbbb > > aaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaaa); After: zzzzzzzzzz = bbbbbbbbbbbbbbbbb >> aaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaaa); This fixes llvm.org/PR19731. llvm-svn: 208672 -
Kostya Serebryany authored
llvm-svn: 208671
-
Simon Atanasyan authored
If one or more dynamic relocation might modify a read-only section, dynamic table should contain DT_TEXTREL tag. The patch introduces new `RelocationTable::canModifyReadonlySection()` method. This method checks through the relocations to see if any modifies a read-only section. The DynamicTable class calls this method and emits the DT_TEXTREL tag if necessary. The patch reviewed by Rui Ueyama and Shankar Easwaran. llvm-svn: 208670
-
Kevin Qin authored
A vague diagnostic replaced the misleading one. This can fix bug 19502. llvm-svn: 208669
-
David Majnemer authored
r208661 contained WIP code, commit the *actual* manglings. llvm-svn: 208668
-
Serge Pavlov authored
This fix resolves PR19730. llvm-svn: 208666
-
Filipe Cabecinhas authored
llvm-svn: 208665
-
Filipe Cabecinhas authored
Summary: Most of the clang header patch by Simon Pilgrim @ SCEE. Also fixed (or added) clang tests for these intrinsics. LLVM tests to make sure we get the blend instruction out of these shufflevectors are at http://reviews.llvm.org/D3600 Reviewers: eli.friedman, craig.topper, rafael Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D3601 llvm-svn: 208664
-
Rafael Espindola authored
We already had an assert for foo->RAUW(foo), but not for something like foo->RAUW(GEP(foo)) and would go in an infinite loop trying to apply the replacement. llvm-svn: 208663
-
Richard Smith authored
declarations, and duplicating code between them. llvm-svn: 208662
-
David Majnemer authored
Implement what we currently believe is the mangling scheme for RTTI data. Tests will be added in a later commit which actually generate RTTI data. llvm-svn: 208661
-
Weiming Zhao authored
Normally, patterns like (add x, (setcc cc ...)) will be folded into (csel x, x+1, not cc). However, if there is a ZEXT after SETCC, they won't be folded. This patch recognizes the ZEXT and allows the generation of CSINC. This patch fixes bug 19680. llvm-svn: 208660
-
Richard Smith authored
source that provides a declaration from a hidden module would not have the visibility of the produced definition checked. This might matter if an external source chose to import a new module to provide an extra definition, but is not observable with our current external sources. llvm-svn: 208659
-
Rafael Espindola authored
llvm-svn: 208658
-
Rafael Espindola authored
llvm-svn: 208644
-
Alexey Samsonov authored
llvm-svn: 208643
-
David Blaikie authored
This reverts commit r208506. Some inlined subroutine scopes appear to be missing with this change. Reverting while I investigate. llvm-svn: 208642
-
Pete Cooper authored
Use a logical not when inverting SetCC. This unfortunately doesn't fire on any targets so I couldn't find a test case to trigger it. The problem occurs when a non-i1 setcc is inverted. For example 'i8 = setcc' will get 'xor 0xff' to invert this. This is clearly wrong when the boolean contents are ZeroOrOne. This patch introduces getLogicalNOT and updates SetCC legalisation to use it. Reviewed by Hal Finkel. llvm-svn: 208641
-
Adam Nemet authored
Right now the load may not get DCE'd because of the side-effect of updating the base pointer. This can happen if we lower a read-modify-write of an illegal larger type (e.g. i48) such that the modification only affects one of the subparts (the lower i32 part but not the higher i16 part). See the testcase. In order to spot the dead load we need to revisit it when SimplifyDemandedBits decided that the value of the load is masked off. This is the CommitTargetLoweringOpt piece. I checked compile time with ARM64 by sending SPEC bitcode files through llc. No measurable change. Fixes <rdar://problem/16031651> llvm-svn: 208640
-
Alexey Samsonov authored
llvm-svn: 208639
-
Louis Gerbarg authored
Windows on ARM only supports thumb mode execution, so we have to explicitly pick some non-Windows OS to test ARM mode codegen. llvm-svn: 208638
-
Reid Kleckner authored
r208453 added support for having sret on the second parameter. In that change, the code for copying sret into a virtual register was hoisted into the loop that lowers formal parameters. This caused a "Wrong topological sorting" assertion failure during scheduling when a parameter is passed in memory. This change undoes that by creating a second loop that deals with sret. I'm worried that this fix is incomplete. I don't fully understand the dependence issues. However, with this change we produce the same DAGs we used to produce, so if they are broken, they are just as broken as they have always been. llvm-svn: 208637
-
David Blaikie authored
DebugInfo: Attach DW_AT_inline to inlined subprograms at DIE-construction time rather than as a post-processing step. llvm-svn: 208636
-