- Oct 27, 2015
-
-
Sanjay Patel authored
If we have an operand to a bitwise logic op that's already in an XMM register and the result is going to be sent to an XMM register, then use an SSE logic op to avoid moves between the integer and vector register files. Related commits: http://reviews.llvm.org/rL248395 http://reviews.llvm.org/rL248399 http://reviews.llvm.org/rL248404 http://reviews.llvm.org/rL248409 http://reviews.llvm.org/rL248415 This should solve PR22428: https://llvm.org/bugs/show_bug.cgi?id=22428 llvm-svn: 251378
-
Enrico Granata authored
llvm-svn: 251377
-
Enrico Granata authored
llvm-svn: 251376
-
Sanjoy Das authored
llvm-svn: 251375
-
Eugene Zelenko authored
Fix Clang-tidy modernize-use-override warnings in source/Plugins/LanguageRuntime and Platform; other minor fixes. llvm-svn: 251374
-
Steve King authored
When taking the remainder of a value divided by a constant, visitREM() attempts to convert the REM to a longer but faster sequence of instructions. This conversion calls combine() on a speculative DIV instruction. Commit rL250825 may cause this combine() to return a DIVREM, corrupting nearby nodes. Flow eventually hits unreachable(). This patch adds a test case and a check to prevent visitREM() from trying to convert the REM instruction in cases where a DIVREM is possible. See http://reviews.llvm.org/D14035 llvm-svn: 251373
-
Evgeniy Stepanov authored
llvm-svn: 251372
-
Eric Christopher authored
llvm-svn: 251371
-
Sanjay Patel authored
llvm-svn: 251370
-
Daniel Sanders authored
Summary: Previously we maintained two separate switch statements that had to be kept in sync. This patch merges them into a single switch. Reviewers: vkalintiris Subscribers: llvm-commits, dsanders Differential Revision: http://reviews.llvm.org/D14012 llvm-svn: 251369
-
Enrico Granata authored
On some combination of platform and c++ library, this dependency was causing the test to fail for reasons tangential to its real objective llvm-svn: 251368
-
Tim Northover authored
llvm-svn: 251367
-
- Oct 26, 2015
-
-
Chandler Carruth authored
instructions that aren't relevant for instruction selection of vector min and max. llvm-svn: 251366
-
Oleksiy Vyalov authored
http://reviews.llvm.org/D14095 llvm-svn: 251365
-
Ivan Krasin authored
llvm-svn: 251364
-
Alexey Samsonov authored
LLVMSymbolizer::Options is mostly used in LLVMSymbolizer class anyway. Let's keep their usage restricted to that class, especially given that it's worth to move ModuleInfo to a different header, independent from the symbolizer class. llvm-svn: 251363
-
Evgeniy Stepanov authored
llvm-svn: 251362
-
Evgeniy Stepanov authored
The test is sensitive to stack layout changes. Tweak it a bit to expose the bug on aarch64 as well as on arm. llvm-svn: 251361
-
Evgeniy Stepanov authored
We've switched to Gold earlier because of a minor misconfiguration of the BFD linker in Android NDK. It turns out, Gold has much bigger problems: https://sourceware.org/bugzilla/show_bug.cgi?id=19163 (a bug is actually in the android runtime loader, but it means that gold does not work with android L and even M). Switching back to BFD and adding a workaround by explicitly linking libm to all tests. llvm-svn: 251360
-
Evgeniy Stepanov authored
Asanwrapper is required on older android versions to work around undesired linker behavior. It is not required on L and newer, and does not fully support multiarch devices. llvm-svn: 251359
-
Matthias Gehre authored
Summary: This check flags all array to pointer decays. Pointers should not be used as arrays. array_view is a bounds-checked, safe alternative to using pointers to access arrays. This rule is part of the "Bounds safety" profile of the C++ Core Guidelines, see https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#-bounds3-no-array-to-pointer-decay Reviewers: alexfh, sbenza, bkramer, aaron.ballman Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D13640 llvm-svn: 251358
-
Sanjay Patel authored
This is a preliminary step before adding another optimization to PerformBITCASTCombine(). ..and I really hope it's NFC this time! llvm-svn: 251357
-
Alexey Samsonov authored
llvm-svn: 251356
-
Matthias Gehre authored
Summary: Adapt clang-tidy/add_new_check.py according to commit r251010 "Add %check_clang_tidy and %clang_tidy_diff" Reviewers: alexfh, sbenza, bkramer, aaron.ballman Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D14049 llvm-svn: 251355
-
Adrian McCarthy authored
This reverts commit r251340. Breaks the Windows build because Windows doesn't have getuid. The fix is not obvious. llvm-svn: 251354
-
Ivan Krasin authored
Summary: In particular, this CL speeds up the official Chrome linking with LTO by 1.8x. See more details in https://crbug.com/542426 Reviewers: dblaikie Subscribers: jevinskie Differential Revision: http://reviews.llvm.org/D13918 llvm-svn: 251353
-
Tim Northover authored
Both VLDRS and VLDRD fault if the memory is not 4 byte aligned, which wasn't really being checked before, leading to faults at runtime. llvm-svn: 251352
-
Stephane Sezer authored
Summary: This does not have any functionnal difference but I found myself searching for 'struct RegisterInfo$' to find a definition and couldn't find it. The version without typedef seems more common so let's try and be consistent. Reviewers: clayborg, zturner Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D14091 llvm-svn: 251351
-
Sanjay Patel authored
llvm-svn: 251350
-
Sanjay Patel authored
This is a preliminary step before adding another optimization to PerformBITCASTCombine(). llvm-svn: 251349
-
Keno Fischer authored
Summary: This idiom is used elsewhere in LLVM, but was overlooked here. Reviewers: chandlerc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D13628 llvm-svn: 251348
-
Alexey Samsonov authored
llvm-svn: 251347
-
David Blaikie authored
llvm-svn: 251346
-
Evgeniy Stepanov authored
The check for the glibc version was not working as expected (dlsym was finding the interceptor instead of the libc implementation). llvm-svn: 251345
-
Diego Novillo authored
llvm-svn: 251344
-
Peter Collingbourne authored
llvm-svn: 251343
-
Peter Collingbourne authored
Unbreaks linking with gold, which cannot resolve direct relocations referring to global symbols. llvm-svn: 251342
-
Tobias Grosser authored
These maps are only needed during the construction of a single region statement. Clearing them is important, as we otherwise get an assert in case some of the referenced values are erased before the RegionGenerator is deleted. llvm-svn: 251341
-
Sean Callanan authored
On UNIX (but not Darwin) the username needs to be respected when creating a temporary module directory, so that different users don't pollute each others' module caches. llvm-svn: 251340
-
Alexey Samsonov authored
Now it's enough to just specify -functions=short without additionally providing -use-symbol-table=false. llvm-svn: 251339
-