- Jun 29, 2019
-
-
Nikita Popov authored
Fixes https://bugs.llvm.org/show_bug.cgi?id=41998. Usually when we have a truncated exit count we'll truncate the IV when comparing against the limit, in which case exit count overflow in post-inc form doesn't matter. However, for pointer IVs we don't do that, so we have to be careful about incrementing the IV in the wide type. I'm fixing this by removing the IVCount variable (which was ExitCount or ExitCount+1) and replacing it with a UsePostInc flag, and then moving the actual limit adjustment to the individual cases (which are: pointer IV where we add to the wide type, integer IV where we add to the narrow type, and constant integer IV where we add to the wide type). Differential Revision: https://reviews.llvm.org/D63686 llvm-svn: 364709
-
Fangrui Song authored
Reviewed By: ziangwan Differential Revision: https://reviews.llvm.org/D63822 llvm-svn: 364704
-
Matt Arsenault authored
llvm-svn: 364703
-
Fangrui Song authored
llvm-svn: 364702
-
Matt Arsenault authored
llvm-svn: 364701
-
Julian Lettner authored
Introduced in 5be69ebe. llvm-svn: 364700
-
Matt Arsenault authored
llvm-svn: 364699
-
Matt Arsenault authored
llvm-svn: 364698
-
Matt Arsenault authored
llvm-svn: 364697
-
Matt Arsenault authored
llvm-svn: 364696
-
Matt Arsenault authored
llvm-svn: 364695
-
Matt Arsenault authored
llvm-svn: 364694
-
Philip Reames authored
SCEV is more than capable of folding (add x, trunc(0)) to x. llvm-svn: 364693
-
Leonard Chan authored
This reverts commit ab2c0ed0. See https://reviews.llvm.org/D63155 llvm-svn: 364692
-
Matt Arsenault authored
llvm-svn: 364691
-
Jan Korous authored
Clang <= 4 used the pre-C++11 rule about which structures can be passed in registers. llvm-svn: 364690
-
Wouter van Oortmerssen authored
Reviewers: sbc100 Subscribers: dschuff, jgravelle-google, aheejin, sunfish, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D63959 llvm-svn: 364689
-
Wouter van Oortmerssen authored
Reviewers: sbc100 Subscribers: dschuff, jgravelle-google, aheejin, sunfish, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D63955 llvm-svn: 364688
-
Sanjay Patel authored
The cmov node used to sometimes return a glue result (and that's what 'flag' meant in this context), but that was removed with D38664. llvm-svn: 364687
-
Jim Ingham authored
MachO only for this patch. Differential Revision: https://reviews.llvm.org/D63914 <rdar://problem/51463642> llvm-svn: 364686
-
Cameron McInally authored
Suggested in D63933. llvm-svn: 364685
-
Sanjay Patel authored
This file will fail with a common codegen transform that I'm looking at, and I can't tell if that's an improvement or regression based on the sparse checking. llvm-svn: 364684
-
Alexey Bataev authored
If the variable is used in the OpenMP region implicitly, we need to check the data-sharing attributes for such variables and generate implicit clauses for them. Patch improves analysis of such variables for better handling of data-sharing rules. llvm-svn: 364683
-
Wouter van Oortmerssen authored
Reviewers: sbc100 Subscribers: dschuff, jgravelle-google, aheejin, sunfish, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D63951 llvm-svn: 364682
-
Wouter van Oortmerssen authored
Reviewers: sbc100 Subscribers: dschuff, jgravelle-google, aheejin, sunfish, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D63947 llvm-svn: 364681
-
Cameron McInally authored
Differential Revision: https://reviews.llvm.org/D63933 llvm-svn: 364680
-
Brad Smith authored
llvm-svn: 364679
-
Cameron McInally authored
Differential Revision: https://reviews.llvm.org/D63900 llvm-svn: 364678
-
Erik Pilkington authored
llvm-svn: 364677
-
Julian Lettner authored
Introduced in 5be69ebe. llvm-svn: 364676
-
Brad Smith authored
This matches the default settings of clang. llvm-svn: 364675
-
Julie Hockett authored
Improves output for anonymous decls, and updates the '--public' flag to exclude everything under an anonymous namespace. Differential Revision: https://reviews.llvm.org/D52847 llvm-svn: 364674
-
Sam Clegg authored
Also a test for this. Differential Revision: https://reviews.llvm.org/D63836 llvm-svn: 364673
-
Lang Hames authored
Fix: MachO/X86_64_RELOC_GOT is a 32-bit reloc, so only compare 32 bits. llvm-svn: 364672
-
Rainer Orth authored
LLVM-Unit :: Support/./SupportTests/FileSystemTest.permissions currently FAILs on Solaris: FAIL: LLVM-Unit :: Support/./SupportTests/FileSystemTest.permissions (2940 of 51555) ******************** TEST 'LLVM-Unit :: Support/./SupportTests/FileSystemTest.permissions' FAILED ******************** Note: Google Test filter = FileSystemTest.permissions [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from FileSystemTest [ RUN ] FileSystemTest.permissions /opt/llvm-buildbot/obj/llvm/llvm.src/unittests/Support/Path.cpp:1705: Failure Value of: CheckPermissions(fs::sticky_bit) Actual: false Expected: true /opt/llvm-buildbot/obj/llvm/llvm.src/unittests/Support/Path.cpp:1712: Failure Value of: CheckPermissions(fs::set_uid_on_exe | fs::set_gid_on_exe | fs::sticky_bit) Actual: false Expected: true /opt/llvm-buildbot/obj/llvm/llvm.src/unittests/Support/Path.cpp:1719: Failure Value of: CheckPermissions(fs::all_read | fs::set_uid_on_exe | fs::set_gid_on_exe | fs::sticky_bit) Actual: false Expected: true /opt/llvm-buildbot/obj/llvm/llvm.src/unittests/Support/Path.cpp:1722: Failure Value of: CheckPermissions(fs::all_perms) Actual: false Expected: true [ FAILED ] FileSystemTest.permissions (0 ms) [----------] 1 test from FileSystemTest (0 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (1 ms total) [ PASSED ] 0 tests. [ FAILED ] 1 test, listed below: [ FAILED ] FileSystemTest.permissions 1 FAILED TEST Checking with truss reveals that this is the same issue as on AIX and documented in chmod(2): If the process is not a privileged process and the file is not a direc- tory, mode bit 01000 (S_ISVTX, the sticky bit) is cleared. The following patch fixes this in the same way. Tested on amd64-pc-solaris2.11. Differential Revision: https://reviews.llvm.org/D63598 llvm-svn: 364671 -
Julie Hockett authored
De-duplicate comments and declaration locations in reduce function. When two files include the same header file, this file's content is mapped twice causing comments and locations to be duplicated after the reduce stage. Committed on behalf of Diego Astiazarán (diegoaat97@gmail.com). Differential Revision: https://reviews.llvm.org/D62970 llvm-svn: 364670
-
Jonas Devlieghere authored
The arbitrary timeout when flushing GDB remote packets caused non-determinism and flakiness between test runs. I suspect it is what's causing the flakiness of the reproducer tests on GreenDragon, and want to see if removing it causes that to go away. This change was originally introduced in r197579 to discard a `$T02thread:01;#4` that QEMU was sending. If anybody knows how to test that this continues working after removing this code, I'd love to hear it. llvm-svn: 364669
-
Jinsong Ji authored
armv7-apple-darwin was not supported well, the script can't generate checks. https://reviews.llvm.org/D60601/new/#inline-568671 Differential Revision: https://reviews.llvm.org/D63939 llvm-svn: 364668
-
Simon Pilgrim authored
llvm-svn: 364667
-