- Aug 15, 2015
-
-
Alex Lorenz authored
llvm-svn: 245103
-
Oleksiy Vyalov authored
llvm-svn: 245100
-
Alex Lorenz authored
values. llvm-svn: 245098
-
Alex Lorenz authored
llvm-svn: 245097
-
Anna Zaks authored
Add checkers that detect code-level localizability issues for OS X / iOS: - A path sensitive checker that warns about uses of non-localized NSStrings passed to UI methods expecting localized strings. - A syntax checker that warns against not including a comment in NSLocalizedString macros. A patch by Kulpreet Chilana! (This is the second attempt with the compilation issue on Windows and the random test failures resolved.) llvm-svn: 245093 -
Michael Kruse authored
Summary: It always makes NewBB the entry of the region instead of OldBB. This breaks if there are edges from inside the region to OldBB. OldBB is moved out of the region and hence there are exiting edges to OldBB and the region's exit block, contradicting the single-exit condition for regions. The only use from Polly is going to be removed, hence I propose to remove the function completely. Reviewers: grosser Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D11873 llvm-svn: 245092
-
Michael Kruse authored
This modifies the order in which Polly passes are executed. Assuming a function has two scops (A and B), the order before was: FunctionPassManager ScopDetection IndependentBlocks TempScopInfo for A and B RegionPassManager ScopInfo for A DependenceInfo for A IslScheduleOptimizer for A IslAstInfo for A CodeGeneration for A ScopInfo for B DependenceInfo for B IslScheduleOptimizer for B IslAstInfo for B CodeGeneration for B After this patch: FunctionPassManager ScopDetection IndependentBlocks RegionPassManager TempScopInfo for A ScopInfo for A DependenceInfo for A IslScheduleOptimizer for A IslAstInfo for A CodeGeneration for A TempScopInfo for B ScopInfo for B DependenceInfo for B IslScheduleOptimizer for B IslAstInfo for B CodeGeneration for B TempScopInfo for B might store information and references to the IR that CodeGeneration for A might modify. Changing the order ensures that the IR is not modified from the analysis of a region until code generation. Reviewers: grosser Differential Revision: http://reviews.llvm.org/D12014 llvm-svn: 245091 -
Greg Clayton authored
Another step towards isolating all language/AST specific code into the files to further abstract specific implementations of parsing types for a given language. llvm-svn: 245090
-
Reid Kleckner authored
llvm-svn: 245089
-
Tom Stellard authored
The compiler was failing to spill for some shaders. Patch By: Axel Davy llvm-svn: 245087
-
Renato Golin authored
This reverts commit r245081, as it breaks many builds. llvm-svn: 245086
-
Alex Lorenz authored
llvm-svn: 245085
-
Martell Malone authored
Summary: long double on x86 mingw is 80bits and is aligned to 16bytes Fixes: https://llvm.org/bugs/show_bug.cgi?id=24398 Reviewers: rnk Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D12037 llvm-svn: 245084 -
Reid Kleckner authored
It is flaky due to inability to remove files with open handles. We could paper over it with rm -f, but then the file would still be present. This is more evidence to me that we should roll our own 'rm' implementation in LLVM. llvm-svn: 245083
-
Alex Lorenz authored
llvm-svn: 245082
-
Vedant Kumar authored
This patch makes the Darwin ARM backend take advantage of TargetParser. It also teaches TargetParser about ARMV7K for the first time. This makes target triple parsing more consistent across llvm. Differential Revision: http://reviews.llvm.org/D11996 llvm-svn: 245081
-
Reid Kleckner authored
llvm-svn: 245079
-
Greg Clayton authored
Don't test the output of "target modules dump symfile a.out" as this isn't something we should be testing for. This makes this test pass again. llvm-svn: 245078
-
Martell Malone authored
Summary: MSDN says that fastcall, stdcall, thiscall, and vectorcall are all accepted but ignored on ARM and X64. https://msdn.microsoft.com/en-us/library/984x0h58.aspx MSDN also says cdecl is also accepted and typically ignored This patch brings ARM in line with how we ignore them for X64 Reviewers: rnk Subscribers: compnerd, cfe-commits Differential Revision: http://reviews.llvm.org/D12034 llvm-svn: 245076
-
Sanjay Patel authored
This patch fixes the x86 implementation of allowsMisalignedMemoryAccess() to correctly return the 'Fast' output parameter for 32-byte accesses. To test that, an existing load merging optimization is changed to use the TLI hook. This exposes a shortcoming in the current logic and results in the regression test update. Changing other direct users of the isUnalignedMem32Slow() x86 CPU attribute would be a follow-on patch. Without the fix in allowsMisalignedMemoryAccesses(), we will infinite loop when targeting SandyBridge because LowerINSERT_SUBVECTOR() creates 32-byte loads from two 16-byte loads while PerformLOADCombine() splits them back into 16-byte loads. Differential Revision: http://reviews.llvm.org/D10662 llvm-svn: 245075
-
Vedant Kumar authored
llvm-svn: 245074
-
Reid Kleckner authored
Summary: This involved various fixes: - Move a test that uses ulimit to Posix. - Add a few "REQUIRES: shell" lines to tests using backtick subshell evaluation. - The MSVC CRT buffers stdio if the output is a pipe by default. Some tests need that disabled to avoid interleaving test stdio with asan output. - MSVC headers provide _alloca instead of alloca (go figure), so add a portability macro to the two alloca tests. - XFAIL tests that rely on accurate symbols, we need to pass more flags to make that work. - MSVC's printf implementation of %p uses upper case letters and doesn't add 0x, so do that manually. - Accept "SEGV" or "access-violation" reports in crash tests. Reviewers: samsonov Subscribers: tberghammer, danalbert, llvm-commits, srhines Differential Revision: http://reviews.llvm.org/D12019 llvm-svn: 245073
-
Justin Bogner authored
llvm-svn: 245072
-
Kit Barton authored
This patch will be redone in a different way. See http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20150810/292978.html for more details. llvm-svn: 245071
-
Reid Kleckner authored
Pass "-fsanitize=address" to the compiler and "-debug" to the linker. llvm-svn: 245070
-
Rafael Espindola authored
Tested with a weak undefined. Testing with a plain undefined will have to wait for support for -shared. llvm-svn: 245069
-
Reid Kleckner authored
Summary: Similar to the change we applied to ASan. The same test case works. Reviewers: samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D11961 llvm-svn: 245067
-
Zachary Turner authored
llvm-svn: 245066
-
Chad Rosier authored
llvm-svn: 245065
-
Chris Bieneman authored
This change adds RTTI and Exception flags to llvm-config's cxxflags. This solution is a minimal patch to solve the issue, and is recommended for the 3.7 release branch. Tom Stellard's outstanding work is the longer term solution. Patch By: David Wiberg llvm-svn: 245064
-
- Aug 14, 2015
-
-
Douglas Katzman authored
Differential Revision: http://reviews.llvm.org/D11991 llvm-svn: 245063
-
Rafael Espindola authored
This reverts commit r245047. It was failing on the darwin bots. The problem was that when running ./bin/llc -march=msp430 llc gets to if (TheTriple.getTriple().empty()) TheTriple.setTriple(sys::getDefaultTargetTriple()); Which means that we go with an arch of msp430 but a triple of x86_64-apple-darwin14.4.0 which fails badly. That code has to be updated to select a triple based on the value of march, but that is not a trivial fix. llvm-svn: 245062 -
Rafael Espindola authored
llvm-svn: 245060
-
Davide Italiano authored
Yet another step towards deprecating macho-dump. llvm-svn: 245059
-
Sanjay Patel authored
llvm-svn: 245058
-
Rafael Espindola authored
For now only defined symbols are covered. I will add undefined ones in the next patch. llvm-svn: 245057
-
Rafael Espindola authored
llvm-svn: 245056
-
Rafael Espindola authored
llvm-svn: 245055
-
David Majnemer authored
Hopefully this makes the sanitizer build bot happy. llvm-svn: 245054
-
Rafael Espindola authored
llvm-svn: 245053
-