- May 13, 2014
-
-
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
-
Lang Hames authored
SECTDIFF relocations on 32-bit x86. This fixes several of the MCJIT regression test failures that show up on 32-bit builds. <rdar://problem/16886294> llvm-svn: 208635
-
David Blaikie authored
For some impending improvements to debug info, LLVM will start assuming that when the CU specifies llvm::DIBuilder::LineTablesOnly, the IR for functions described by that CU will not include variables, types, etc. (might be worth having some test coverage for GMLT + non-GMLT CUs, especially with non-GMLT functions inlined into GMLT CU functions) llvm-svn: 208634
-
Will Wilson authored
llvm-svn: 208633
-
Alexey Samsonov authored
llvm-svn: 208632
-
Rui Ueyama authored
llvm-svn: 208630
-
Alexey Samsonov authored
llvm-svn: 208629
-
Kevin Enderby authored
instead of dyn_cast<>. llvm-svn: 208628
-
Matt Arsenault authored
llvm-svn: 208627
-
Sebastian Pop authored
llvm-svn: 208626
-
Alexey Samsonov authored
llvm-svn: 208625
-
Greg Fitzgerald authored
llvm-svn: 208624
-
Sebastian Pop authored
llvm-svn: 208622
-
Adam Nemet authored
Tested by comparing make check VERBOSE=1 before and after to make sure no tests are missed. (VERBOSE=1 prints the list of tests.) Only one test :( remains where .cpp is required: tools/llvm-cov/range_based_for.cpp:// RUN: llvm-cov range_based_for.cpp | FileCheck %s --check-prefix=STDOUT The topic was discussed in this thread: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140428/214905.html llvm-svn: 208621
-
Louis Gerbarg authored
The current patterns for REV16 misses mostn __builtin_bswap16() due to legalization promoting the operands to from load/stores toi32s and then truncing/extending them. This patch adds new patterns that catch the resultant DAGs and codegens them to rev16 instructions. Tests included. rdar://15353652 llvm-svn: 208620
-
Sebastian Pop authored
llvm-svn: 208619
-
Matt Arsenault authored
llvm-svn: 208618
-
Matt Arsenault authored
llvm-svn: 208617
-
Sebastian Pop authored
collect terms from affine and non affine memory accesses llvm-svn: 208616
-
Sebastian Pop authored
llvm-svn: 208615
-
Sebastian Pop authored
llvm-svn: 208614
-
Hans Wennborg authored
llvm-svn: 208613
-
Richard Smith authored
determine whether we get a mangling for a return type, rather than trying to figure it out based on whether the mangled name ended with a '>'. llvm-svn: 208611
-
Alexey Samsonov authored
asan_cxx containts replacements for new/delete operators, and should only be linked in C++ mode. We plan to start building this part with exception support to make new more standard-compliant. See https://code.google.com/p/address-sanitizer/issues/detail?id=295 for more details. llvm-svn: 208610
-
Alexey Samsonov authored
asan_cxx containts replacements for new/delete operators, and should only be linked in C++ mode. We plan to start building this part with exception support to make new more standard-compliant. See https://code.google.com/p/address-sanitizer/issues/detail?id=295 for more details. llvm-svn: 208609
-
David Blaikie authored
DwarfDebug: Avoid an extra map lookup while constructing abstract scope DIEs and reduce nesting/conditionals. One test case had to be updated as it still had the extra indirection for the variable list - removing the extra indirection got it back to passing. llvm-svn: 208608
-
Tim Northover authored
llvm-svn: 208607
-