- Jul 17, 2016
-
-
Rui Ueyama authored
We should use CHECK-NOT instead. llvm-svn: 275700
-
David Majnemer authored
No functional change, just some cleanups: - Use auto when it is appropriate. - There were some strange static_casts which were superfluous. - Use range-based for loops when appropriate. - The dyn_cast_or_null construct was used when null was impossible. llvm-svn: 275699
-
Dehao Chen authored
Summary: Convert IVUsers analysis to new pass manager. Reviewers: davidxl, silvas Subscribers: junbuml, sanjoy, llvm-commits, mzolotukhin Differential Revision: https://reviews.llvm.org/D22434 llvm-svn: 275698
-
Saleem Abdulrasool authored
Rather than building up a number of SmallString-s in order to construct a std::string, use more StringRefs and construct the string once before use. This avoids unnecessary string constructions. NFC. llvm-svn: 275697
-
Saleem Abdulrasool authored
Add a couple of local variables for the class interface and the super class interface. This allows for the repeated access of the information to be cached and makes the code simpler to understand. NFC. llvm-svn: 275696
-
- Jul 16, 2016
-
-
Rui Ueyama authored
llvm-svn: 275695
-
Rui Ueyama authored
llvm-svn: 275694
-
Rui Ueyama authored
llvm-svn: 275693
-
Rui Ueyama authored
llvm-svn: 275692
-
Sanjay Patel authored
llvm-svn: 275691
-
Sanjay Patel authored
llvm-svn: 275690
-
Mehdi Amini authored
llvm-svn: 275689
-
Sanjay Patel authored
llvm-svn: 275688
-
Sanjay Patel authored
llvm-svn: 275687
-
Sanjay Patel authored
llvm-svn: 275686
-
Sanjay Patel authored
llvm-svn: 275685
-
Sanjay Patel authored
This is a partial implementation of a general fold for associative+commutative operators: (op (cast (op X, C2)), C1) --> (cast (op X, op (C1, C2))) (op (cast (op X, C2)), C1) --> (op (cast X), op (C1, C2)) There are 7 associative operators and 13 cast types, so this could potentially go a lot further. Differential Revision: https://reviews.llvm.org/D22421 llvm-svn: 275684
-
George Rimar authored
I think # REQUIRES: shell is required instead of # XFAIL: win32 llvm-svn: 275683
-
George Rimar authored
BSD toolchain contains a bug: https://sourceforge.net/p/elftoolchain/tickets/491/ In short demangler works differently, fix was to update the testcase. It should fix the FreeBSD bot failture: http://lab.llvm.org:8011/builders/lld-x86_64-freebsd/builds/19432/steps/test_lld/logs/stdio Original commit message was: [ELF] - Implement extern "c++" version script tag Patch implements 'extern' version script tag. Currently only values in quotes(") are supported. Matching of externs is performed in the same pass as exact match of globals. Differential revision: http://reviews.llvm.org/D21930 llvm-svn: 275682
-
Kirill Bobyrev authored
Few tests introduced by previous patch had obsolete counterparts. Applied fixes to {Dynamic|Static}CastExpr.cpp llvm-svn: 275681
-
Tobias Grosser authored
This ensures that accidental calls to these functions will break loadly instead of corrupting the stack with invalid return values. These functions have been introduced earlier as replacement of pet and parts of ppcg which we will never use and consequently have not been imported or compiled into Polly. llvm-svn: 275680
-
Hal Finkel authored
Revert "Revert r275029 - Update Clang tests after adding inference for the returned argument attribute" This reverts commit r275043 after reapplying the underlying LLVM commit. llvm-svn: 275679
-
Hal Finkel authored
This reverts commit r275042; the initial commit triggered self-hosting failures on ARM/AArch64. James Molloy identified the problematic backend code, which has been disabled in r275677. Trying again... Original commit message: Let FuncAttrs infer the 'returned' argument attribute A function can have one argument with the 'returned' attribute, indicating that the associated argument is always the return value of the function. Add FuncAttrs inference logic. llvm-svn: 275678
-
Hal Finkel authored
r275042 reverted function-attribute inference for the 'returned' attribute because the feature triggered self-hosting failures on ARM and AArch64. James Molloy determined that the this-return argument forwarding feature, which directly ties the returned input argument to the returned value, was the cause. It seems likely that this forwarding code contains, or triggers, a subtle bug. Disabling for now until we can track that down. llvm-svn: 275677
-
Yaxun Liu authored
Attempting to fix lit test failure on ppc. llvm-svn: 275676
-
Rui Ueyama authored
llvm-svn: 275675
-
Rui Ueyama authored
SymbolVersions sounds like it had versions for a symbol, so rename it. llvm-svn: 275674
-
Rui Ueyama authored
The identifier `Version` was used too often in the code to handle symbol versions. The struct that contains version definitions is named `Version`. Local variables for version ID are named `Version`. Local varaible for version string are named `Version`. This patch give them different names. llvm-svn: 275673
-
Rui Ueyama authored
skip(S) consumes a token if the next token is S, so it can be used instead of peek() & next(). llvm-svn: 275672
-
Craig Topper authored
[AVX512] Remove CodeGenOnly VBROADCAST m_Int instructions. They can be implemented with patterns selecting existing instructions. NFC llvm-svn: 275671
-
Rui Ueyama authored
llvm-svn: 275670
-
Rui Ueyama authored
llvm-svn: 275669
-
Sean Silva authored
The flags: Enable IR-level instrumentation -fprofile-generate or -fprofile-generate= When applying profile data: -fprofile-use=/path/to/profdata Patch by Jake VanAdrighem! Differential Revision: https://reviews.llvm.org/D21823 llvm-svn: 275668
-
Rui Ueyama authored
llvm-svn: 275667
-
Rui Ueyama authored
llvm-svn: 275666
-
Rui Ueyama authored
Previously, Verdefs and Verdauxs are separated in the section. The new layout is easier to write as we do not have to maintain two pointers and can avoid passing a reference to a pointer. llvm-svn: 275665
-
Matthias Braun authored
This does not schedule any passes besides the ones necessary to construct and print the machine function. This is useful to test .mir file reading and printing. Differential Revision: http://reviews.llvm.org/D22432 llvm-svn: 275664
-
Matthias Braun authored
llvm-svn: 275663
-
Matthias Braun authored
test/CodeGen/MIR/ARM/ARMLoadStoreDBG.mir is an actual test for the ARM load store optimization pass and not a test of the mir parser/printer. It belongs to test/CodeGen/ARM; This also updates the test to use the new -run-pass llc syntax. llvm-svn: 275662
-
Matthias Braun authored
Initializing them in LLVMInitializeARMTarget() makes them visible early enough for "llc -run-pass usage". This required the pass to be renamed from "arm-load-store-opt" to "arm-ldst-opt", because there already exists an arm-load-store-opt cl::opt switch which would now clash with the passname getting added as a switch in opt. On the bright side the pass name now matches the DEBUG_TYPE name. Renamed "arm-prera-load-store-opt" to "arm-repra-ldst-opt" as well for consistency. llvm-svn: 275661
-