From all-commits at lists.llvm.org Mon Jul 6 01:21:56 2020 From: all-commits at lists.llvm.org (Pavel Labath via All-commits) Date: Mon, 06 Jul 2020 01:21:56 -0700 Subject: [all-commits] [llvm/llvm-project] b65d4b: [lldb/DWARF] Look for complete array element defin... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b65d4b23f6dd4da4277acbf2bb912becce4f8a57 https://github.com/llvm/llvm-project/commit/b65d4b23f6dd4da4277acbf2bb912becce4f8a57 Author: Pavel Labath Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp M lldb/test/API/functionalities/limit-debug-info/TestLimitDebugInfo.py M lldb/test/API/functionalities/limit-debug-info/main.cpp M lldb/test/API/functionalities/limit-debug-info/one.cpp M lldb/test/API/functionalities/limit-debug-info/onetwo.h M lldb/test/API/functionalities/limit-debug-info/two.cpp Log Message: ----------- [lldb/DWARF] Look for complete array element definitions in other modules This applies the same logic we have for incomplete class bases and members to array element types. From all-commits at lists.llvm.org Mon Jul 6 01:25:55 2020 From: all-commits at lists.llvm.org (Kazushi Marukawa via All-commits) Date: Mon, 06 Jul 2020 01:25:55 -0700 Subject: [all-commits] [llvm/llvm-project] df3bda: [VE] Correct stack alignment Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: df3bda047d5abe9190bdd0422270328140556bd4 https://github.com/llvm/llvm-project/commit/df3bda047d5abe9190bdd0422270328140556bd4 Author: Kazushi (Jam) Marukawa Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/lib/Basic/Targets/VE.h M clang/test/CodeGen/target-data.c M llvm/lib/Target/VE/VETargetMachine.cpp Log Message: ----------- [VE] Correct stack alignment Summary: Change stack alignment from 64 bits to 128 bits to follow ABI correctly. And add a regression test for datalayout. Reviewers: simoll, k-ishizaka Reviewed By: simoll Subscribers: hiraditya, cfe-commits, llvm-commits Tags: #llvm, #ve, #clang Differential Revision: https://reviews.llvm.org/D83173 From all-commits at lists.llvm.org Mon Jul 6 01:34:52 2020 From: all-commits at lists.llvm.org (Pavel Labath via All-commits) Date: Mon, 06 Jul 2020 01:34:52 -0700 Subject: [all-commits] [llvm/llvm-project] 5daa39: [lldb/Utility] Merge Scalar::Get(Value)TypeAsCString Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 5daa39aa4c355e899c2ceb371ba3c8347200a687 https://github.com/llvm/llvm-project/commit/5daa39aa4c355e899c2ceb371ba3c8347200a687 Author: Pavel Labath Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M lldb/include/lldb/Utility/Scalar.h M lldb/source/Utility/Scalar.cpp M lldb/unittests/Utility/ScalarTest.cpp Log Message: ----------- [lldb/Utility] Merge Scalar::Get(Value)TypeAsCString From all-commits at lists.llvm.org Mon Jul 6 01:45:31 2020 From: all-commits at lists.llvm.org (Guillaume Chatelet via All-commits) Date: Mon, 06 Jul 2020 01:45:31 -0700 Subject: [all-commits] [llvm/llvm-project] 04288e: Fix 46594 - Alignment assertion failure in instcom... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 04288e93be7bbcdca5707d84149e864923f9ed25 https://github.com/llvm/llvm-project/commit/04288e93be7bbcdca5707d84149e864923f9ed25 Author: Guillaume Chatelet Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp Log Message: ----------- Fix 46594 - Alignment assertion failure in instcombine From all-commits at lists.llvm.org Mon Jul 6 01:52:26 2020 From: all-commits at lists.llvm.org (Guillaume Chatelet via All-commits) Date: Mon, 06 Jul 2020 01:52:26 -0700 Subject: [all-commits] [llvm/llvm-project] 4c0a96: Fix off by one error in Bitfields Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4c0a965c0926d5d6aa786a7de60f7939239099e3 https://github.com/llvm/llvm-project/commit/4c0a965c0926d5d6aa786a7de60f7939239099e3 Author: Guillaume Chatelet Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/include/llvm/ADT/Bitfields.h Log Message: ----------- Fix off by one error in Bitfields Differential Revision: https://reviews.llvm.org/D83192 From all-commits at lists.llvm.org Mon Jul 6 01:58:32 2020 From: all-commits at lists.llvm.org (Bevin Hansson via All-commits) Date: Mon, 06 Jul 2020 01:58:32 -0700 Subject: [all-commits] [llvm/llvm-project] bd50cf: Fix indentation in FixedPoint.h. NFC. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: bd50cf905fa7c0c7caa134301c6ca0658c81eeb1 https://github.com/llvm/llvm-project/commit/bd50cf905fa7c0c7caa134301c6ca0658c81eeb1 Author: Bevin Hansson Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/include/clang/Basic/FixedPoint.h Log Message: ----------- Fix indentation in FixedPoint.h. NFC. From all-commits at lists.llvm.org Mon Jul 6 02:59:11 2020 From: all-commits at lists.llvm.org (David Green via All-commits) Date: Mon, 06 Jul 2020 02:59:11 -0700 Subject: [all-commits] [llvm/llvm-project] 55227f: [ARM] Use BaseT::getMemoryOpCost for getMemoryOpCost Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 55227f85d09c5d26b1484a5aaa9676068b21b6bd https://github.com/llvm/llvm-project/commit/55227f85d09c5d26b1484a5aaa9676068b21b6bd Author: David Green Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp M llvm/test/Analysis/CostModel/ARM/cast_ldst.ll M llvm/test/Analysis/CostModel/ARM/load_store.ll M llvm/test/Transforms/LoopVectorize/ARM/prefer-tail-loop-folding.ll Log Message: ----------- [ARM] Use BaseT::getMemoryOpCost for getMemoryOpCost This alters getMemoryOpCost to use the Base TargetTransformInfo version that includes some additional checks for whether extending loads are legal. This will generally have the effect of making <2 x ..> and some <4 x ..> loads/stores more expensive, which in turn should help favour larger vector factors. Notably it alters the cost of a <4 x half>, which with the current codegen will be expensive if it is not extended. Differential Revision: https://reviews.llvm.org/D82456 From all-commits at lists.llvm.org Mon Jul 6 03:19:21 2020 From: all-commits at lists.llvm.org (Stephan Herhut via All-commits) Date: Mon, 06 Jul 2020 03:19:21 -0700 Subject: [all-commits] [llvm/llvm-project] 3341d4: Revert "Revert "Revert "[libcxx] Put clang::trivia... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 3341d470fc4727d7e150023c08680bf422bfb03d https://github.com/llvm/llvm-project/commit/3341d470fc4727d7e150023c08680bf422bfb03d Author: Stephan Herhut Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: R libcxx/docs/DesignDocs/UniquePtrTrivialAbi.rst M libcxx/docs/index.rst M libcxx/include/__config M libcxx/include/memory R libcxx/test/libcxx/memory/trivial_abi/shared_ptr_arg.pass.cpp R libcxx/test/libcxx/memory/trivial_abi/unique_ptr_arg.pass.cpp R libcxx/test/libcxx/memory/trivial_abi/unique_ptr_array.pass.cpp R libcxx/test/libcxx/memory/trivial_abi/unique_ptr_destruction_order.pass.cpp R libcxx/test/libcxx/memory/trivial_abi/unique_ptr_ret.pass.cpp R libcxx/test/libcxx/memory/trivial_abi/weak_ptr_ret.pass.cpp Log Message: ----------- Revert "Revert "Revert "[libcxx] Put clang::trivial_abi on std::unique_ptr, std::shared_ptr, and std::weak_ptr""" This reverts commit f706b01a00676ef0e7aefb253316c6418f022fa2. From all-commits at lists.llvm.org Mon Jul 6 03:20:17 2020 From: all-commits at lists.llvm.org (Roman Lebedev via All-commits) Date: Mon, 06 Jul 2020 03:20:17 -0700 Subject: [all-commits] [llvm/llvm-project] cd7f80: [InstCombine] Lower infinite combine loop detectio... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: cd7f8051ac7b6f08734102446482c1e5d951bfcc https://github.com/llvm/llvm-project/commit/cd7f8051ac7b6f08734102446482c1e5d951bfcc Author: Roman Lebedev Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp Log Message: ----------- [InstCombine] Lower infinite combine loop detection thresholds Summary: 1000 iteratons is still kinda a lot. Would it make sense to iteratively lower it, until it becomes `2`, with some delay inbetween in order to let users actually potentially encounter it? Reviewers: spatel, nikic, kuhar Reviewed By: nikic Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83160 Commit: f62c8dbc99eaaac35506f655fdf4d7b1cc21c81c https://github.com/llvm/llvm-project/commit/f62c8dbc99eaaac35506f655fdf4d7b1cc21c81c Author: Roman Lebedev Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Transforms/Scalar/Scalarizer.cpp M llvm/test/Transforms/Scalarizer/basic.ll M llvm/test/Transforms/Scalarizer/constant-insertelement.ll Log Message: ----------- [Scalarizer] InsertElement handling w/ constant insert index Summary: As it can be clearly seen from the diff, this results in nicer IR. Reviewers: jdoerfert, arsenm, bjope, cameron.mcinally Reviewed By: jdoerfert Subscribers: arphaman, wdng, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83102 Commit: 28b7816b782bdeca509218b53edfbca6512c33d5 https://github.com/llvm/llvm-project/commit/28b7816b782bdeca509218b53edfbca6512c33d5 Author: Roman Lebedev Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Transforms/Scalar/Scalarizer.cpp M llvm/test/Transforms/Scalarizer/constant-extractelement.ll M llvm/test/Transforms/Scalarizer/phi-unreachable-pred.ll Log Message: ----------- [Scalarizer] ExtractElement handling w/ constant extract index Summary: It appears to be better IR-wise to aggressively scalarize it, rather than relying on gathering it, and leaving it as-is. Reviewers: jdoerfert, bjope, arsenm, cameron.mcinally Reviewed By: jdoerfert Subscribers: arphaman, wdng, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83101 Commit: 6e504745813259067f5b0ad696bec3a3d22ab044 https://github.com/llvm/llvm-project/commit/6e504745813259067f5b0ad696bec3a3d22ab044 Author: Roman Lebedev Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Transforms/Scalar/Scalarizer.cpp M llvm/test/Transforms/Scalarizer/variable-insertelement.ll Log Message: ----------- [Scalarizer] InsertElement handling w/ variable insert index (PR46524) Summary: I'm interested in taking the original C++ input, for which we currently are stuck with an alloca and producing roughly the lower IR, with neither an alloca nor a vector ops: https://godbolt.org/z/cRRWaJ For that, as intermediate step, i'd to somehow perform scalarization. As per @arsenmn suggestion, i'm trying to see if scalarizer can help me avoid writing a bicycle. I'm not sure if it's really intentional that variable insert is not handled currently. If it really is, and is supposed to stay that way (?), i guess i could guard it.. See [[ https://bugs.llvm.org/show_bug.cgi?id=46524 | PR46524 ]]. Reviewers: bjope, cameron.mcinally, arsenm, jdoerfert Reviewed By: jdoerfert Subscribers: arphaman, uabelho, wdng, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82961 Commit: 51f9310ff2e3a615e43b87acc84dab0400b5854e https://github.com/llvm/llvm-project/commit/51f9310ff2e3a615e43b87acc84dab0400b5854e Author: Roman Lebedev Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Transforms/Scalar/Scalarizer.cpp M llvm/test/Transforms/Scalarizer/variable-extractelement.ll Log Message: ----------- [Scalarizer] ExtractElement handling w/ variable insert index (PR46524) Summary: Similar to D82961. Reviewers: bjope, cameron.mcinally, arsenm, jdoerfert Reviewed By: jdoerfert Subscribers: arphaman, wdng, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82970 Compare: https://github.com/llvm/llvm-project/compare/3341d470fc47...51f9310ff2e3 From all-commits at lists.llvm.org Mon Jul 6 03:21:14 2020 From: all-commits at lists.llvm.org (Sam McCall via All-commits) Date: Mon, 06 Jul 2020 03:21:14 -0700 Subject: [all-commits] [llvm/llvm-project] cd209f: [Support] Add path::user_config_directory for $XDG... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: cd209f1a3790af774b75213d7914c844a6140b4b https://github.com/llvm/llvm-project/commit/cd209f1a3790af774b75213d7914c844a6140b4b Author: Sam McCall Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/include/llvm/Support/Path.h M llvm/lib/Support/Unix/Path.inc M llvm/lib/Support/Windows/Path.inc M llvm/unittests/Support/Path.cpp Log Message: ----------- [Support] Add path::user_config_directory for $XDG_CONFIG_HOME etc Reviewers: hokein Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83128 From all-commits at lists.llvm.org Mon Jul 6 03:33:29 2020 From: all-commits at lists.llvm.org (David Green via All-commits) Date: Mon, 06 Jul 2020 03:33:29 -0700 Subject: [all-commits] [llvm/llvm-project] 60b8b2: [ARM] Add extra extend and trunc costs for cast in... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 60b8b2beeab9b6a994108da6ea3ab225a9e7bd9a https://github.com/llvm/llvm-project/commit/60b8b2beeab9b6a994108da6ea3ab225a9e7bd9a Author: David Green Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp M llvm/test/Analysis/CostModel/ARM/cast_ldst.ll Log Message: ----------- [ARM] Add extra extend and trunc costs for cast instructions This expands the existing extend costs with a few extras for larger types than legal, which will usually be split under MVE. It also adds trunk support for the same thing. These should not have a large effect on many things, but makes the costs explicit and keeps a certain balance between the trunks and extends. Differential Revision: https://reviews.llvm.org/D82457 From all-commits at lists.llvm.org Mon Jul 6 03:43:08 2020 From: all-commits at lists.llvm.org (Roman Lebedev via All-commits) Date: Mon, 06 Jul 2020 03:43:08 -0700 Subject: [all-commits] [llvm/llvm-project] 5d7afe: [Scalarizer] visit{Insert, Extract}ElementInst(): a... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 5d7afe2d2e3c1a4715d022bfdb0c35df153e5430 https://github.com/llvm/llvm-project/commit/5d7afe2d2e3c1a4715d022bfdb0c35df153e5430 Author: Roman Lebedev Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Transforms/Scalar/Scalarizer.cpp Log Message: ----------- [Scalarizer] visit{Insert,Extract}ElementInst(): avoid call arg evaluation order deps Compilers may evaluate call arguments in different order, which would result in different order of IR, which would break the tests. Spotted thanks to Dmitri Gribenko! From all-commits at lists.llvm.org Mon Jul 6 03:49:44 2020 From: all-commits at lists.llvm.org (Kai Nacke via All-commits) Date: Mon, 06 Jul 2020 03:49:44 -0700 Subject: [all-commits] [llvm/llvm-project] 066384: [SystemZ/ZOS] Define Endian constants for z/OS. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 0663844b064dca074cbf12e868b9b3214cf52848 https://github.com/llvm/llvm-project/commit/0663844b064dca074cbf12e868b9b3214cf52848 Author: Kai Nacke Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/include/llvm/Support/SwapByteOrder.h Log Message: ----------- [SystemZ/ZOS] Define Endian constants for z/OS. This is needed to build LLVM on z/OS, as there is no header file which provides these constants. Reviewed By: hubert.reinterpretcast Differential Revision: https://reviews.llvm.org/D82368 Commit: bfd84b1c034d6b0413c293772662e1a5619d6b40 https://github.com/llvm/llvm-project/commit/bfd84b1c034d6b0413c293772662e1a5619d6b40 Author: Kai Nacke Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Support/Unix/Path.inc Log Message: ----------- [SystemZ/ZOS] Implement getMainExecutable() and is_local_impl() Adds implementation of getMainExecutable() and is_local_impl() to Support/Unix/Path.inc. Both are needed to compile LLVM for z/OS. Reviewed By: hubert.reinterpretcast, emaste Differential Revision: https://reviews.llvm.org/D82544 Compare: https://github.com/llvm/llvm-project/compare/5d7afe2d2e3c...bfd84b1c034d From all-commits at lists.llvm.org Mon Jul 6 03:54:31 2020 From: all-commits at lists.llvm.org (Sam McCall via All-commits) Date: Mon, 06 Jul 2020 03:54:31 -0700 Subject: [all-commits] [llvm/llvm-project] d7ea6c: [Support] fix user_cache_directory on mac Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: d7ea6ce809a4413afb1edafa17ba291b39129f52 https://github.com/llvm/llvm-project/commit/d7ea6ce809a4413afb1edafa17ba291b39129f52 Author: Sam McCall Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Support/Unix/Path.inc Log Message: ----------- [Support] fix user_cache_directory on mac From all-commits at lists.llvm.org Mon Jul 6 04:06:20 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?S3Jpc3TDs2YgVW1hbm4=?= via All-commits) Date: Mon, 06 Jul 2020 04:06:20 -0700 Subject: [all-commits] [llvm/llvm-project] Message-ID: Branch: refs/heads/force_dep_to_hide Home: https://github.com/llvm/llvm-project From all-commits at lists.llvm.org Mon Jul 6 04:06:56 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?S3Jpc3TDs2YgVW1hbm4=?= via All-commits) Date: Mon, 06 Jul 2020 04:06:56 -0700 Subject: [all-commits] [llvm/llvm-project] Message-ID: Branch: refs/heads/force_dep_to_hide Home: https://github.com/llvm/llvm-project From all-commits at lists.llvm.org Mon Jul 6 04:07:08 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?S3Jpc3TDs2YgVW1hbm4=?= via All-commits) Date: Mon, 06 Jul 2020 04:07:08 -0700 Subject: [all-commits] [llvm/llvm-project] 690ff3: [analyzer] Force dependency checkers to be hidden Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 690ff37a286991f142584f25842e50c6cb23aba6 https://github.com/llvm/llvm-project/commit/690ff37a286991f142584f25842e50c6cb23aba6 Author: Kirstóf Umann Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td M clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp M clang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp Log Message: ----------- [analyzer] Force dependency checkers to be hidden Since strong dependencies aren't user-facing (its hardly ever legal to disable them), lets enforce that they are hidden. Modeling checkers that aren't dependencies are of course not impacted, but there is only so much you can do against developers shooting themselves in the foot :^) I also made some changes to the test files, reversing the "test" package for, well, testing. Differential Revision: https://reviews.llvm.org/D81761 From all-commits at lists.llvm.org Mon Jul 6 04:26:28 2020 From: all-commits at lists.llvm.org (jayfoad via All-commits) Date: Mon, 06 Jul 2020 04:26:28 -0700 Subject: [all-commits] [llvm/llvm-project] e7a4a2: [TargetLowering] Improve expansion of ROTL/ROTR Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e7a4a24dc50ab115cd0838bbf47d61251530a0cd https://github.com/llvm/llvm-project/commit/e7a4a24dc50ab115cd0838bbf47d61251530a0cd Author: Jay Foad Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp Log Message: ----------- [TargetLowering] Improve expansion of ROTL/ROTR Using a negation instead of a subtraction from a constant can save an instruction on some targets. Nothing much uses this until D77152 changes the translation of fshl and fshr intrinsics. Differential Revision: https://reviews.llvm.org/D82539 From all-commits at lists.llvm.org Mon Jul 6 04:30:27 2020 From: all-commits at lists.llvm.org (jayfoad via All-commits) Date: Mon, 06 Jul 2020 04:30:27 -0700 Subject: [all-commits] [llvm/llvm-project] babbea: [TargetLowering] Improve expansion of FSHL/FSHR by... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: babbeafa006f5317ed2162d1e64917422bfb58e7 https://github.com/llvm/llvm-project/commit/babbeafa006f5317ed2162d1e64917422bfb58e7 Author: Jay Foad Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp Log Message: ----------- [TargetLowering] Improve expansion of FSHL/FSHR by non-zero amount Use a simpler code sequence when the shift amount is known not to be zero modulo the bit width. Nothing much uses this until D77152 changes the translation of fshl and fshr intrinsics. Differential Revision: https://reviews.llvm.org/D82540 From all-commits at lists.llvm.org Mon Jul 6 04:41:51 2020 From: all-commits at lists.llvm.org (Dmitri Gribenko via All-commits) Date: Mon, 06 Jul 2020 04:41:51 -0700 Subject: [all-commits] [llvm/llvm-project] 734947: RecursiveASTVisitor: don't call WalkUp unnecessari... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7349479f2244c32c0184ca545af04adb171c8077 https://github.com/llvm/llvm-project/commit/7349479f2244c32c0184ca545af04adb171c8077 Author: Dmitri Gribenko Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/include/clang/AST/RecursiveASTVisitor.h M clang/lib/Tooling/Syntax/BuildTree.cpp M clang/unittests/Tooling/RecursiveASTVisitorTests/Callbacks.cpp Log Message: ----------- RecursiveASTVisitor: don't call WalkUp unnecessarily in post-order traversal Summary: How does RecursiveASTVisitor call the WalkUp callback for expressions? * In pre-order traversal mode, RecursiveASTVisitor calls the WalkUp callback from the default implementation of Traverse callbacks. * In post-order traversal mode when we don't have a DataRecursionQueue, RecursiveASTVisitor also calls the WalkUp callback from the default implementation of Traverse callbacks. * However, in post-order traversal mode when we have a DataRecursionQueue, RecursiveASTVisitor calls the WalkUp callback from PostVisitStmt. As a result, when the user overrides the Traverse callback, in pre-order traversal mode they never get the corresponding WalkUp callback. However in the post-order traversal mode the WalkUp callback is invoked or not depending on whether the data recursion optimization could be applied. I had to adjust the implementation of TraverseCXXForRangeStmt in the syntax tree builder to call the WalkUp method directly, as it was relying on this behavior. There is an existing test for this functionality and it prompted me to make this extra fix. In addition, I had to fix the default implementation implementation of RecursiveASTVisitor::TraverseSynOrSemInitListExpr to call WalkUpFrom in the same manner as the implementation generated by the DEF_TRAVERSE_STMT macro. Without this fix, the InitListExprIsPostOrderNoQueueVisitedTwice test was failing because WalkUpFromInitListExpr was never called. Reviewers: eduucaldas, ymandel Reviewed By: eduucaldas, ymandel Subscribers: gribozavr2, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82486 Commit: c19c6b1722e5f71200c09cdb096245b98f03dce0 https://github.com/llvm/llvm-project/commit/c19c6b1722e5f71200c09cdb096245b98f03dce0 Author: Dmitri Gribenko Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/include/clang/AST/RecursiveASTVisitor.h M clang/unittests/Tooling/RecursiveASTVisitorTests/Callbacks.cpp Log Message: ----------- Make RecursiveASTVisitor call WalkUpFrom for unary and binary operators in post-order traversal mode Reviewers: ymandel, eduucaldas, rsmith Reviewed By: eduucaldas, rsmith Subscribers: gribozavr2, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82787 Commit: 8e750b1f0a2b6b5174dc49adf20e6f863c28e3cd https://github.com/llvm/llvm-project/commit/8e750b1f0a2b6b5174dc49adf20e6f863c28e3cd Author: Dmitri Gribenko Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/include/clang/AST/RecursiveASTVisitor.h M clang/unittests/Tooling/RecursiveASTVisitorTests/Callbacks.cpp Log Message: ----------- Make RecursiveASTVisitor call WalkUpFrom for operators when the data recursion queue is absent Reviewers: eduucaldas, ymandel, rsmith Reviewed By: eduucaldas Subscribers: gribozavr2, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82889 Commit: 5689b38c6a4220cc5f6ba68a56486229b10071bf https://github.com/llvm/llvm-project/commit/5689b38c6a4220cc5f6ba68a56486229b10071bf Author: Dmitri Gribenko Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang-tools-extra/clang-tidy/modernize/LoopConvertUtils.cpp M clang-tools-extra/clang-tidy/modernize/LoopConvertUtils.h M clang/docs/ReleaseNotes.rst M clang/include/clang/AST/RecursiveASTVisitor.h M clang/lib/ARCMigrate/TransProperties.cpp M clang/unittests/Tooling/RecursiveASTVisitorTests/Callbacks.cpp Log Message: ----------- Removed a RecursiveASTVisitor feature to visit operator kinds with different methods Summary: This feature was only used in two places, but contributed a non-trivial amount to the complexity of RecursiveASTVisitor, and was buggy (see my recent patches where I was fixing the bugs that I noticed). I don't think the convenience benefit of this feature is worth the complexity. Besides complexity, another issue with the current state of RecursiveASTVisitor is the non-uniformity in how it handles different AST nodes. All AST nodes follow a regular pattern, but operators are special -- and this special behavior not documented. Correct usage of RecursiveASTVisitor relies on shadowing member functions with specific names and signatures. Near misses don't cause any compile-time errors, incorrectly named or typed methods are just silently ignored. Therefore, predictability of RecursiveASTVisitor API is quite important. This change reduces the size of the `clang` binary by 38 KB (0.2%) in release mode, and by 7 MB (0.3%) in debug mode. The `clang-tidy` binary is reduced by 205 KB (0.3%) in release mode, and by 5 MB (0.4%) in debug mode. I don't think these code size improvements are significant enough to justify this change on its own (for me, the primary motivation is reducing code complexity), but they I think are a nice side-effect. Reviewers: rsmith, sammccall, ymandel, aaron.ballman Reviewed By: rsmith, sammccall, ymandel, aaron.ballman Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82921 Compare: https://github.com/llvm/llvm-project/compare/babbeafa006f...5689b38c6a42 From all-commits at lists.llvm.org Mon Jul 6 04:48:11 2020 From: all-commits at lists.llvm.org (Esme via All-commits) Date: Mon, 06 Jul 2020 04:48:11 -0700 Subject: [all-commits] [llvm/llvm-project] 0607c8: [PowerPC] Legalize SREM/UREM directly on P9. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 0607c8df7faf71bd726e9d18bafd2f7566984e35 https://github.com/llvm/llvm-project/commit/0607c8df7faf71bd726e9d18bafd2f7566984e35 Author: Esme-Yi Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Target/PowerPC/PPCISelLowering.cpp M llvm/lib/Target/PowerPC/PPCISelLowering.h M llvm/test/CodeGen/PowerPC/ppc64-P9-mod.ll Log Message: ----------- [PowerPC] Legalize SREM/UREM directly on P9. Summary: As Bugzilla-35090 reported, the rationale for using custom lowering SREM/UREM should no longer be true. At the IR level, the div-rem-pairs pass performs the transformation where the remainder is computed from the result of the division when both a required. We should now be able to lower these directly on P9. And the pass also fixed the problem that divide is in a different block than the remainder. This is a patch to remove redundant code and make SREM/UREM legal directly on P9. Reviewed By: lkail Differential Revision: https://reviews.llvm.org/D82145 From all-commits at lists.llvm.org Mon Jul 6 05:10:19 2020 From: all-commits at lists.llvm.org (Nicolas Vasilache via All-commits) Date: Mon, 06 Jul 2020 05:10:19 -0700 Subject: [all-commits] [llvm/llvm-project] 05c65d: [mlir][Vector] Add a VectorUnrollInterface and exp... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 05c65dc0fee4dbb6afdcf76bc1990c46fac06efe https://github.com/llvm/llvm-project/commit/05c65dc0fee4dbb6afdcf76bc1990c46fac06efe Author: Nicolas Vasilache Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M mlir/docs/OpDefinitions.md M mlir/include/mlir/Dialect/StandardOps/IR/Ops.h M mlir/include/mlir/Dialect/StandardOps/IR/Ops.td M mlir/include/mlir/Dialect/Vector/VectorOps.h M mlir/include/mlir/Dialect/Vector/VectorOps.td M mlir/include/mlir/Dialect/Vector/VectorTransformPatterns.td M mlir/include/mlir/Dialect/Vector/VectorTransforms.h M mlir/include/mlir/Interfaces/CMakeLists.txt A mlir/include/mlir/Interfaces/VectorUnrollInterface.h A mlir/include/mlir/Interfaces/VectorUnrollInterface.td M mlir/lib/Dialect/StandardOps/CMakeLists.txt M mlir/lib/Dialect/Vector/CMakeLists.txt M mlir/lib/Dialect/Vector/VectorOps.cpp M mlir/lib/Dialect/Vector/VectorTransforms.cpp M mlir/lib/Interfaces/CMakeLists.txt A mlir/lib/Interfaces/VectorUnrollInterface.cpp M mlir/test/Dialect/Vector/vector-transforms.mlir M mlir/test/lib/Transforms/TestVectorTransforms.cpp Log Message: ----------- [mlir][Vector] Add a VectorUnrollInterface and expose UnrollVectorPattern. The UnrollVectorPattern is can be used in a programmable fashion by: ``` OwningRewritePatternList patterns; patterns.insert>(ArrayRef{2, 2}, ctx); patterns.insert>( ArrayRef{2, 2, 2}, ctx); ... applyPatternsAndFoldGreedily(getFunction(), patterns); ``` Differential revision: https://reviews.llvm.org/D83064 From all-commits at lists.llvm.org Mon Jul 6 05:24:35 2020 From: all-commits at lists.llvm.org (Nicolas Vasilache via All-commits) Date: Mon, 06 Jul 2020 05:24:35 -0700 Subject: [all-commits] [llvm/llvm-project] bd87c6: [mlir][Vector] Add custom slt / SCF.if folding to ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: bd87c6bce1c30cc089ffdea5e0f3cf5407ed37c5 https://github.com/llvm/llvm-project/commit/bd87c6bce1c30cc089ffdea5e0f3cf5407ed37c5 Author: Nicolas Vasilache Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp M mlir/test/Conversion/VectorToSCF/vector-to-loops.mlir Log Message: ----------- [mlir][Vector] Add custom slt / SCF.if folding to VectorToSCF scf.if currently lacks folding on true / false conditionals. Such foldings are a bit more involved than can be addressed immediately. This revision introduces an eager folding for lowering vector.transfer operations in the presence of unrolling. Differential revision: https://reviews.llvm.org/D83146 From all-commits at lists.llvm.org Mon Jul 6 05:52:16 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?S3Jpc3TDs2YgVW1hbm4=?= via All-commits) Date: Mon, 06 Jul 2020 05:52:16 -0700 Subject: [all-commits] [llvm/llvm-project] b29560: [analyzer][NFC] Don't allow dependency checkers to... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b2956076976cd0f435c46257f7cf9a0e5376d0fa https://github.com/llvm/llvm-project/commit/b2956076976cd0f435c46257f7cf9a0e5376d0fa Author: Kirstóf Umann Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h M clang/lib/StaticAnalyzer/Core/BugReporter.cpp Log Message: ----------- [analyzer][NFC] Don't allow dependency checkers to emit diagnostics The thrilling conclusion to the barrage of patches I uploaded lately! This is a big milestone towards the goal set out in http://lists.llvm.org/pipermail/cfe-dev/2019-August/063070.html. I hope to accompany this with a patch where the a coreModeling package is added, from which package diagnostics aren't allowed either, is an implicit dependency of all checkers, and the core package for the first time can be safely disabled. Differential Revision: https://reviews.llvm.org/D78126 From all-commits at lists.llvm.org Mon Jul 6 06:01:19 2020 From: all-commits at lists.llvm.org (Simon Pilgrim via All-commits) Date: Mon, 06 Jul 2020 06:01:19 -0700 Subject: [all-commits] [llvm/llvm-project] f6bd1b: Regenerate neon copy tests. NFC. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f6bd1bd8558f6d1c36f342e0f696c379ce98b549 https://github.com/llvm/llvm-project/commit/f6bd1bd8558f6d1c36f342e0f696c379ce98b549 Author: Simon Pilgrim Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/test/CodeGen/AArch64/arm64-neon-copy.ll Log Message: ----------- Regenerate neon copy tests. NFC. To simplify the diffs in a patch in development. Commit: c37400f6e78d21fad36fcd8618047e66ad9b3ffc https://github.com/llvm/llvm-project/commit/c37400f6e78d21fad36fcd8618047e66ad9b3ffc Author: Simon Pilgrim Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/test/CodeGen/AMDGPU/undefined-subreg-liverange.ll Log Message: ----------- Regenerate subreg liverange tests. NFC. To simplify the diffs in a patch in development. Commit: d6c72bdca2f20e724a755186e5c578b70b96b192 https://github.com/llvm/llvm-project/commit/d6c72bdca2f20e724a755186e5c578b70b96b192 Author: Simon Pilgrim Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/test/CodeGen/X86/vselect-pcmp.ll Log Message: ----------- [X86][XOP] Add XOP target vselect-pcmp tests Noticed in the D83181 that XOP can probably do a lot more than other targets due to its vector shifts and vpcmov instructions Compare: https://github.com/llvm/llvm-project/compare/b2956076976c...d6c72bdca2f2 From all-commits at lists.llvm.org Mon Jul 6 06:01:38 2020 From: all-commits at lists.llvm.org (Matt Arsenault via All-commits) Date: Mon, 06 Jul 2020 06:01:38 -0700 Subject: [all-commits] [llvm/llvm-project] bcff3d: AMDGPU/GlobalISel: Add some missing return tests Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: bcff3deaa12794edec9fdd1f12cecd6f41995225 https://github.com/llvm/llvm-project/commit/bcff3deaa12794edec9fdd1f12cecd6f41995225 Author: Matt Arsenault Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/test/CodeGen/AMDGPU/GlobalISel/function-returns.ll Log Message: ----------- AMDGPU/GlobalISel: Add some missing return tests Commit: 7b76a5c8a2a66684bffb19b37e851ebd39519541 https://github.com/llvm/llvm-project/commit/7b76a5c8a2a66684bffb19b37e851ebd39519541 Author: Matt Arsenault Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.cpp M llvm/test/CodeGen/AMDGPU/indirect-call.ll Log Message: ----------- AMDGPU: Fix fixed ABI SGPR arguments The default constructor wasn't setting isSet o the ArgDescriptor, so while these had the value set, they were treated as missing. This only ended up mattering in the indirect call case (and for regular calls in GlobalISel, which current doesn't have a way to support the variable ABI). Compare: https://github.com/llvm/llvm-project/compare/d6c72bdca2f2...7b76a5c8a2a6 From all-commits at lists.llvm.org Mon Jul 6 06:11:49 2020 From: all-commits at lists.llvm.org (Matt Arsenault via All-commits) Date: Mon, 06 Jul 2020 06:11:49 -0700 Subject: [all-commits] [llvm/llvm-project] 581f18: AMDGPU/GlobalISel: Fix hardcoded register number c... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 581f1823cdba50093f9eda2478de1207427032e4 https://github.com/llvm/llvm-project/commit/581f1823cdba50093f9eda2478de1207427032e4 Author: Matt Arsenault Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/test/CodeGen/AMDGPU/GlobalISel/dynamic-alloca-divergent.ll Log Message: ----------- AMDGPU/GlobalISel: Fix hardcoded register number checks in test Commit: a5b9ad7e9aca1329ba310e638dafa58c47468a58 https://github.com/llvm/llvm-project/commit/a5b9ad7e9aca1329ba310e638dafa58c47468a58 Author: Matt Arsenault Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_kernel.ll Log Message: ----------- AMDGPU/GlobalISel: Don't emit code for unused kernel arguments Compare: https://github.com/llvm/llvm-project/compare/7b76a5c8a2a6...a5b9ad7e9aca From all-commits at lists.llvm.org Mon Jul 6 06:23:10 2020 From: all-commits at lists.llvm.org (Matt Arsenault via All-commits) Date: Mon, 06 Jul 2020 06:23:10 -0700 Subject: [all-commits] [llvm/llvm-project] 521ebc: GlobalISel: Move finalizeLowering call later Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 521ebc168152ab72047e2e7c81c8c6724b3e7623 https://github.com/llvm/llvm-project/commit/521ebc168152ab72047e2e7c81c8c6724b3e7623 Author: Matt Arsenault Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp Log Message: ----------- GlobalISel: Move finalizeLowering call later This matches the DAG behavior where this is called after the loop checking for calls. The AMDGPU implementation depends on knowing if there are calls in the function or not, so move this later. Another problem is finalizeLowering is actually called twice; I was seeing weird inconsistencies since the first call would produce unexpected results and the second run would correct them in some contexts. Since this requires disabling the verifier, and it's useful to serialize the MIR immediately after selection, FinalizeISel should probably not be a real pass. From all-commits at lists.llvm.org Mon Jul 6 06:23:42 2020 From: all-commits at lists.llvm.org (David Green via All-commits) Date: Mon, 06 Jul 2020 06:23:42 -0700 Subject: [all-commits] [llvm/llvm-project] afdb2e: [ARM] Adjust default fp extend and trunc costs Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: afdb2ef2ed9debd419a29b78c23e4b84ce67ab0c https://github.com/llvm/llvm-project/commit/afdb2ef2ed9debd419a29b78c23e4b84ce67ab0c Author: David Green Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp M llvm/test/Analysis/CostModel/ARM/cast.ll M llvm/test/Analysis/CostModel/ARM/cast_ldst.ll Log Message: ----------- [ARM] Adjust default fp extend and trunc costs This adds some default costs for fp extends and truncates, generally costing them as 1 per lane. If the type is not legal then the cost will include a call to an __aeabi_ function. Some NEON code is also adjusted to make sure it applies to the expected types, now that fp16 is a more common thing. Differential Revision: https://reviews.llvm.org/D82458 From all-commits at lists.llvm.org Mon Jul 6 06:35:53 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?S3Jpc3TDs2YgVW1hbm4=?= via All-commits) Date: Mon, 06 Jul 2020 06:35:53 -0700 Subject: [all-commits] [llvm/llvm-project] cfd6b4: [analyzer] Don't allow hidden checkers to emit dia... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: cfd6b4b811aa8bb193f744264e36e83de4bb3650 https://github.com/llvm/llvm-project/commit/cfd6b4b811aa8bb193f744264e36e83de4bb3650 Author: Kirstóf Umann Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td M clang/lib/StaticAnalyzer/Core/BugReporter.cpp M clang/test/Analysis/std-c-library-functions-arg-constraints.c M clang/test/Analysis/std-c-library-functions-arg-constraints.cpp M clang/test/Analysis/weak-dependencies.c Log Message: ----------- [analyzer] Don't allow hidden checkers to emit diagnostics Hidden checkers (those marked with Hidden in Checkers.td) are meant for development purposes only, and are only displayed under -analyzer-checker-help-developer, so users shouldn't see reports from them. I moved StdLibraryFunctionsArg checker to the unix package from apiModeling as it violated this rule. I believe this change doesn't deserve a different revision because it is in alpha, and the name is so bad anyways I don't immediately care where it is, because we'll have to revisit it soon enough. Differential Revision: https://reviews.llvm.org/D81750 From all-commits at lists.llvm.org Mon Jul 6 06:39:26 2020 From: all-commits at lists.llvm.org (Nathan James via All-commits) Date: Mon, 06 Jul 2020 06:39:26 -0700 Subject: [all-commits] [llvm/llvm-project] fc3c69: [clang-tidy] Added alias llvm-else-after-return. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: fc3c693b617fc5fde8939a3aec7e7372ace07693 https://github.com/llvm/llvm-project/commit/fc3c693b617fc5fde8939a3aec7e7372ace07693 Author: Nathan James Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp M clang-tools-extra/docs/ReleaseNotes.rst M clang-tools-extra/docs/clang-tidy/checks/list.rst A clang-tools-extra/docs/clang-tidy/checks/llvm-else-after-return.rst M clang-tools-extra/docs/clang-tidy/checks/readability-else-after-return.rst Log Message: ----------- [clang-tidy] Added alias llvm-else-after-return. Added an alias llvm-else-after-return from readability-else-after-return to help enforce one of the llvm coding guidelines. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D82825 From all-commits at lists.llvm.org Mon Jul 6 06:44:26 2020 From: all-commits at lists.llvm.org (Nathan James via All-commits) Date: Mon, 06 Jul 2020 06:44:26 -0700 Subject: [all-commits] [llvm/llvm-project] 019660: [clang-tidy] Fix incorrect default option in fc3c6... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 01966003674d49e06632495fec2a5a7b3fd58a80 https://github.com/llvm/llvm-project/commit/01966003674d49e06632495fec2a5a7b3fd58a80 Author: Nathan James Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp Log Message: ----------- [clang-tidy] Fix incorrect default option in fc3c693b61 From all-commits at lists.llvm.org Mon Jul 6 06:53:20 2020 From: all-commits at lists.llvm.org (RotateRight via All-commits) Date: Mon, 06 Jul 2020 06:53:20 -0700 Subject: [all-commits] [llvm/llvm-project] dbfcf6: [x86] add tests for vector select with non-splat b... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: dbfcf6eb721a4ff5e5f7b0ca61885796e2996ded https://github.com/llvm/llvm-project/commit/dbfcf6eb721a4ff5e5f7b0ca61885796e2996ded Author: Sanjay Patel Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/test/CodeGen/X86/vselect-pcmp.ll Log Message: ----------- [x86] add tests for vector select with non-splat bit-test condition; NFC Goes with D83181. From all-commits at lists.llvm.org Mon Jul 6 07:05:34 2020 From: all-commits at lists.llvm.org (Saiyedul Islam via All-commits) Date: Mon, 06 Jul 2020 07:05:34 -0700 Subject: [all-commits] [llvm/llvm-project] 4c4bda: [OpenMP] Temporarily disable failing runtime tests... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4c4bda1630a67e656fb1e18b25cb27344df58493 https://github.com/llvm/llvm-project/commit/4c4bda1630a67e656fb1e18b25cb27344df58493 Author: Saiyedul Islam Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M openmp/runtime/test/env/kmp_set_dispatch_buf.c M openmp/runtime/test/lit.cfg M openmp/runtime/test/worksharing/for/kmp_set_dispatch_buf.c Log Message: ----------- [OpenMP] Temporarily disable failing runtime tests for OpenMP 5.0 Following tests are failing after upgrading to version 5.0 but are passing for version 4.5: 1. openmp/runtime/test/env/kmp_set_dispatch_buf.c 2. openmp/runtime/test/worksharing/for/kmp_set_dispatch_buf.c To be enabled as soon as these tests are fixed. Reviewed By: ABataev Differential Revision: https://reviews.llvm.org/D82963 From all-commits at lists.llvm.org Mon Jul 6 07:10:38 2020 From: all-commits at lists.llvm.org (Florian Hahn via All-commits) Date: Mon, 06 Jul 2020 07:10:38 -0700 Subject: [all-commits] [llvm/llvm-project] cff573: [LV] Pass dbgs() to verifyFunction call. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: cff57391575da6bcc6f31e196bd73fa928b3abcb https://github.com/llvm/llvm-project/commit/cff57391575da6bcc6f31e196bd73fa928b3abcb Author: Florian Hahn Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp Log Message: ----------- [LV] Pass dbgs() to verifyFunction call. This is done in other places of the pass already and improves the output on verification failure. From all-commits at lists.llvm.org Mon Jul 6 07:42:45 2020 From: all-commits at lists.llvm.org (Mikhail Goncharov via All-commits) Date: Mon, 06 Jul 2020 07:42:45 -0700 Subject: [all-commits] [llvm/llvm-project] d3e3f3: Revert "[ScalarEvolution] createSCEV(): recognize ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: d3e3f36ff1151f565730977ac4f663a2ccee48ae https://github.com/llvm/llvm-project/commit/d3e3f36ff1151f565730977ac4f663a2ccee48ae Author: Mikhail Goncharov Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Analysis/ScalarEvolution.cpp M llvm/test/Analysis/ScalarEvolution/sdiv.ll M llvm/test/Analysis/ScalarEvolution/srem.ll Log Message: ----------- Revert "[ScalarEvolution] createSCEV(): recognize `udiv`/`urem` disguised as an `sdiv`/`srem`" Summary: This reverts commit 2c16100e6f72075564ea1f67fa5a82c269dafcd3. ninja check-polly fails: Polly :: Isl/CodeGen/MemAccess/generate-all.ll Polly :: ScopInfo/multidim_srem.ll Reviewers: kadircet, bollu Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83230 From all-commits at lists.llvm.org Mon Jul 6 07:43:26 2020 From: all-commits at lists.llvm.org (Haojian Wu via All-commits) Date: Mon, 06 Jul 2020 07:43:26 -0700 Subject: [all-commits] [llvm/llvm-project] cd9a24: [clang] Fix the incorrect dependence bits for Depe... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: cd9a241f165013902fc060ace88c66e402c7767a https://github.com/llvm/llvm-project/commit/cd9a241f165013902fc060ace88c66e402c7767a Author: Haojian Wu Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/lib/AST/Type.cpp M clang/test/Sema/invalid-bitwidth-expr.mm Log Message: ----------- [clang] Fix the incorrect dependence bits for DependentExtIntType. The error-bit was missing, and the unexpandedpack bit seemed to be set incorrectly. Reviewed By: sammccall, erichkeane Differential Revision: https://reviews.llvm.org/D83114 From all-commits at lists.llvm.org Mon Jul 6 07:58:50 2020 From: all-commits at lists.llvm.org (David Green via All-commits) Date: Mon, 06 Jul 2020 07:58:50 -0700 Subject: [all-commits] [llvm/llvm-project] 146dad: [ARM] MVE FP16 cost adjustments Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 146dad0077b46a0fb8e158c10490c1774db5a762 https://github.com/llvm/llvm-project/commit/146dad0077b46a0fb8e158c10490c1774db5a762 Author: David Green Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp M llvm/test/Analysis/CostModel/ARM/cast_ldst.ll M llvm/test/Transforms/LoopVectorize/ARM/prefer-tail-loop-folding.ll Log Message: ----------- [ARM] MVE FP16 cost adjustments This adjusts the MVE fp16 cost model, similar to how we already do for integer casts. It uses the base cost of 1 per cvt for most fp extend / truncates, but adjusts it for loads and stores where we know that a extending load has been used to get the load into the correct lane, and only an MVE VCVTB is then needed. Differential Revision: https://reviews.llvm.org/D81813 From all-commits at lists.llvm.org Mon Jul 6 08:00:11 2020 From: all-commits at lists.llvm.org (Raphael Isemann via All-commits) Date: Mon, 06 Jul 2020 08:00:11 -0700 Subject: [all-commits] [llvm/llvm-project] 581425: [lldb] Always round down in NSDate's formatter to ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 5814255e1a7d2e90580d6df457ddd13b1cd156cb https://github.com/llvm/llvm-project/commit/5814255e1a7d2e90580d6df457ddd13b1cd156cb Author: Raphael Isemann Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M lldb/source/Plugins/Language/ObjC/Cocoa.cpp M lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py M lldb/test/API/functionalities/data-formatter/data-formatter-objc/main.m Log Message: ----------- [lldb] Always round down in NSDate's formatter to match NSDate's builtin format Summary: When printing an NSDate (for example with `NSLog` or `po`) the seconds value is always rounded down. LLDB's own formatter however isn't following that behaviour which leads to situations where the formatted result is sometimes one second off. For example: ``` (lldb) p [NSDate dateWithTimeIntervalSince1970:0.1] (__NSTaggedDate *) $1 = [...] 1970-01-01 00:00:01 UTC (lldb) po [NSDate dateWithTimeIntervalSince1970:0.1] 1970-01-01 00:00:00 +0000 (lldb) p [NSDate dateWithTimeIntervalSince1970:0.6] (__NSTaggedDate *) $4 =[...] 1970-01-01 00:00:01 UTC (lldb) po [NSDate dateWithTimeIntervalSince1970:0.6] 1970-01-01 00:00:00 +0000 ``` This patch just always rounds down the seconds value we get from the NSDate object. Fixes rdar://65084800 Reviewers: mib, davide Reviewed By: mib Subscribers: JDevlieghere Differential Revision: https://reviews.llvm.org/D83221 From all-commits at lists.llvm.org Mon Jul 6 08:00:53 2020 From: all-commits at lists.llvm.org (Roman Lebedev via All-commits) Date: Mon, 06 Jul 2020 08:00:53 -0700 Subject: [all-commits] [llvm/llvm-project] a2619a: Reland "[ScalarEvolution] createSCEV(): recognize ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a2619a60e4601c445e9ca6e16c76052e00d907ff https://github.com/llvm/llvm-project/commit/a2619a60e4601c445e9ca6e16c76052e00d907ff Author: Roman Lebedev Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Analysis/ScalarEvolution.cpp M llvm/test/Analysis/ScalarEvolution/sdiv.ll M llvm/test/Analysis/ScalarEvolution/srem.ll M polly/test/Isl/CodeGen/MemAccess/generate-all.ll M polly/test/ScopInfo/multidim_srem.ll Log Message: ----------- Reland "[ScalarEvolution] createSCEV(): recognize `udiv`/`urem` disguised as an `sdiv`/`srem`" This reverts commit d3e3f36ff1151f565730977ac4f663a2ccee48ae, which reverter the original commit 2c16100e6f72075564ea1f67fa5a82c269dafcd3, but with polly tests now actually passing. From all-commits at lists.llvm.org Mon Jul 6 08:13:50 2020 From: all-commits at lists.llvm.org (Haojian Wu via All-commits) Date: Mon, 06 Jul 2020 08:13:50 -0700 Subject: [all-commits] [llvm/llvm-project] 254b01: [clangd] More complete fix for hover crashes on in... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 254b016c6561e4ec4d145b81c4d0aaf3d2c7fca6 https://github.com/llvm/llvm-project/commit/254b016c6561e4ec4d145b81c4d0aaf3d2c7fca6 Author: Haojian Wu Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang-tools-extra/clangd/Hover.cpp M clang-tools-extra/clangd/unittests/HoverTests.cpp Log Message: ----------- [clangd] More complete fix for hover crashes on invalid record. We should not call getFieldOffset on invalid record decls. Differential Revision: https://reviews.llvm.org/D83189 From all-commits at lists.llvm.org Mon Jul 6 08:29:12 2020 From: all-commits at lists.llvm.org (ostannard via All-commits) Date: Mon, 06 Jul 2020 08:29:12 -0700 Subject: [all-commits] [llvm/llvm-project] e80b81: [Support] Fix formatted_raw_ostream for UTF-8 Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e80b81d1cbf85dcd427759369978afdb48f0998f https://github.com/llvm/llvm-project/commit/e80b81d1cbf85dcd427759369978afdb48f0998f Author: Oliver Stannard Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/test/Analysis/checker-plugins.c M llvm/include/llvm/Support/FormattedStream.h M llvm/lib/Support/FormattedStream.cpp M llvm/test/MC/ARM/lsl-zero.s M llvm/unittests/Support/formatted_raw_ostream_test.cpp Log Message: ----------- [Support] Fix formatted_raw_ostream for UTF-8 * The getLine and getColumn functions need to update the position, or they will return stale data for buffered streams. This fixes a bug in the clang -analyzer-checker-option-help option, which was not wrapping the help text correctly when stdout is not a TTY. * If the stream contains multi-byte UTF-8 sequences, then the whole sequence needs to be considered to be a single character. This has the edge case that the buffer might fill up and be flushed part way through a character. * If the stream contains East Asian wide characters, these will be rendered twice as wide as other characters, so we need to increase the column count to match. This doesn't attempt to handle everything unicode can do (combining characters, right-to-left markers, ...), but hopefully covers most things likely to be common in messages and source code we might want to print. Differential revision: https://reviews.llvm.org/D76291 From all-commits at lists.llvm.org Mon Jul 6 08:49:58 2020 From: all-commits at lists.llvm.org (jasonliudev via All-commits) Date: Mon, 06 Jul 2020 08:49:58 -0700 Subject: [all-commits] [llvm/llvm-project] 6d3ae3: [XCOFF][AIX] Give symbol an internal name when des... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6d3ae365bdfc846b93d1033cfe625403a3b85ac5 https://github.com/llvm/llvm-project/commit/6d3ae365bdfc846b93d1033cfe625403a3b85ac5 Author: jasonliu Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/include/llvm/MC/MCAsmInfo.h M llvm/include/llvm/MC/MCContext.h M llvm/include/llvm/MC/MCSectionXCOFF.h M llvm/include/llvm/MC/MCStreamer.h M llvm/include/llvm/MC/MCSymbolXCOFF.h M llvm/include/llvm/MC/MCXCOFFStreamer.h M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp M llvm/lib/MC/MCAsmInfoXCOFF.cpp M llvm/lib/MC/MCAsmStreamer.cpp M llvm/lib/MC/MCContext.cpp M llvm/lib/MC/MCStreamer.cpp M llvm/lib/MC/MCSymbolXCOFF.cpp M llvm/lib/MC/XCOFFObjectWriter.cpp M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp M llvm/lib/Target/PowerPC/PPCISelLowering.cpp A llvm/test/CodeGen/PowerPC/aix-xcoff-symbol-rename.ll M llvm/test/CodeGen/PowerPC/test_func_desc.ll Log Message: ----------- [XCOFF][AIX] Give symbol an internal name when desired symbol name contains invalid character(s) Summary: When a desired symbol name contains invalid character that the system assembler could not process, we need to emit .rename directive in assembly path in order for that desired symbol name to appear in the symbol table. Reviewed By: hubert.reinterpretcast, DiggerLin, daltenty, Xiangling_L Differential Revision: https://reviews.llvm.org/D82481 From all-commits at lists.llvm.org Mon Jul 6 08:52:33 2020 From: all-commits at lists.llvm.org (Raphael Isemann via All-commits) Date: Mon, 06 Jul 2020 08:52:33 -0700 Subject: [all-commits] [llvm/llvm-project] 7308e1: [clang] Fix modules build after D82585 Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7308e1432624f02d4e652ffa70e40d0eaa89fdb3 https://github.com/llvm/llvm-project/commit/7308e1432624f02d4e652ffa70e40d0eaa89fdb3 Author: Raphael Isemann Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/include/clang/StaticAnalyzer/Core/CheckerRegistryData.h M clang/lib/StaticAnalyzer/Core/CheckerRegistryData.cpp Log Message: ----------- [clang] Fix modules build after D82585 Just getting the bots running again. See the D82585 for more info. From all-commits at lists.llvm.org Mon Jul 6 08:53:04 2020 From: all-commits at lists.llvm.org (Bruno Ricci via All-commits) Date: Mon, 06 Jul 2020 08:53:04 -0700 Subject: [all-commits] [llvm/llvm-project] cf0b3a: [clang][utils] make-ast-dump-check.sh: strip line ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: cf0b3affed47811b02127383c7eec27285ac35a3 https://github.com/llvm/llvm-project/commit/cf0b3affed47811b02127383c7eec27285ac35a3 Author: Bruno Ricci Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/utils/make-ast-dump-check.sh Log Message: ----------- [clang][utils] make-ast-dump-check.sh: strip line and column numbers when generating serialization tests From all-commits at lists.llvm.org Mon Jul 6 09:11:46 2020 From: all-commits at lists.llvm.org (Rahul Joshi via All-commits) Date: Mon, 06 Jul 2020 09:11:46 -0700 Subject: [all-commits] [llvm/llvm-project] 52af9c: [MLIR] Add a NoRegionArguments trait Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 52af9c59e3bb9068c5cdecf2a79caf4c16d3b347 https://github.com/llvm/llvm-project/commit/52af9c59e3bb9068c5cdecf2a79caf4c16d3b347 Author: Rahul Joshi Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M mlir/include/mlir/Dialect/Affine/IR/AffineOps.td M mlir/include/mlir/Dialect/SCF/SCFOps.td M mlir/include/mlir/IR/Module.h M mlir/include/mlir/IR/OpBase.td M mlir/include/mlir/IR/OpDefinition.h M mlir/lib/Dialect/Affine/IR/AffineOps.cpp M mlir/lib/Dialect/SCF/SCF.cpp M mlir/lib/IR/Module.cpp M mlir/lib/IR/Operation.cpp M mlir/test/Dialect/Affine/invalid.mlir M mlir/test/Dialect/SCF/invalid.mlir M mlir/test/IR/invalid-module-op.mlir Log Message: ----------- [MLIR] Add a NoRegionArguments trait - This trait will verify that all regions attached to an Op have no arguments - Fixes https://bugs.llvm.org/show_bug.cgi?id=46521 : Add trait NoRegionArguments Differential Revision: https://reviews.llvm.org/D83016 From all-commits at lists.llvm.org Mon Jul 6 09:35:12 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?THXDrXMgTWFycXVlcw==?= via All-commits) Date: Mon, 06 Jul 2020 09:35:12 -0700 Subject: [all-commits] [llvm/llvm-project] 61c2a0: [RISCV] Fold ADDIs into load/stores with nonzero o... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 61c2a0bb823677ce0e604b92e5dae65d9bd32b6e https://github.com/llvm/llvm-project/commit/61c2a0bb823677ce0e604b92e5dae65d9bd32b6e Author: Luís Marques Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp M llvm/test/CodeGen/RISCV/callee-saved-fpr32s.ll M llvm/test/CodeGen/RISCV/callee-saved-fpr64s.ll M llvm/test/CodeGen/RISCV/callee-saved-gprs.ll M llvm/test/CodeGen/RISCV/fold-addi-loadstore.ll M llvm/test/CodeGen/RISCV/fp128.ll M llvm/test/CodeGen/RISCV/interrupt-attr-nocall.ll M llvm/test/CodeGen/RISCV/wide-mem.ll Log Message: ----------- [RISCV] Fold ADDIs into load/stores with nonzero offsets We can often fold an ADDI into the offset of load/store instructions: (load (addi base, off1), off2) -> (load base, off1+off2) (store val, (addi base, off1), off2) -> (store val, base, off1+off2) This is possible when the off1+off2 continues to fit the 12-bit immediate. We remove the previous restriction where we would never fold the ADDIs if the load/stores had nonzero offsets. We now do the fold the the resulting constant still fits a 12-bit immediate, or if off1 is a variable's address and we know based on that variable's alignment that off1+offs2 won't overflow. Differential Revision: https://reviews.llvm.org/D79690 From all-commits at lists.llvm.org Mon Jul 6 09:51:05 2020 From: all-commits at lists.llvm.org (Fangrui Song via All-commits) Date: Mon, 06 Jul 2020 09:51:05 -0700 Subject: [all-commits] [llvm/llvm-project] c1a5f7: [ELF][ARM] Represent R_ARM_LDO32 as R_DTPREL inste... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c1a5f73a4ae70d8f808c1bac091c3f4b683815b4 https://github.com/llvm/llvm-project/commit/c1a5f73a4ae70d8f808c1bac091c3f4b683815b4 Author: Fangrui Song Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M lld/ELF/Arch/ARM.cpp M lld/ELF/Relocations.cpp M lld/test/ELF/debug-dead-reloc-tls-arm.s Log Message: ----------- [ELF][ARM] Represent R_ARM_LDO32 as R_DTPREL instead of R_ABS Follow-up to D82899. Note, we need to disable R_DTPREL relaxation because ARM psABI does not define TLS relaxation. Reviewed By: grimar, psmith Differential Revision: https://reviews.llvm.org/D83138 From all-commits at lists.llvm.org Mon Jul 6 09:54:30 2020 From: all-commits at lists.llvm.org (OhYoooo via All-commits) Date: Mon, 06 Jul 2020 09:54:30 -0700 Subject: [all-commits] [llvm/llvm-project] 2402f9: [AIX] Add system-aix to lit config file Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 2402f9385e850a1434a4d2ee00d76ca01e44a40b https://github.com/llvm/llvm-project/commit/2402f9385e850a1434a4d2ee00d76ca01e44a40b Author: Shuhong Liu Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/utils/lit/lit/llvm/config.py M llvm/utils/lit/tests/lit.cfg M llvm/utils/lit/tests/shtest-format-argv0.py Log Message: ----------- [AIX] Add system-aix to lit config file Summary: This is a complementary patch to D82100 since the aix builbot is still running the unsupported test shtest-format-argv0. Add system-aix to the sub llvm-lit config. Reviewers: daltenty, hubert.reinterpretcast Reviewed By: hubert.reinterpretcast Subscribers: delcypher, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82905 From all-commits at lists.llvm.org Mon Jul 6 09:55:36 2020 From: all-commits at lists.llvm.org (Jacques Pienaar via All-commits) Date: Mon, 06 Jul 2020 09:55:36 -0700 Subject: [all-commits] [llvm/llvm-project] 2a1967: [mlir] Change ODS to have include and exclude regex Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 2a19672af5d58d9ee9f8d6276b57cb584d295eb6 https://github.com/llvm/llvm-project/commit/2a19672af5d58d9ee9f8d6276b57cb584d295eb6 Author: Jacques Pienaar Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M mlir/test/mlir-tblgen/op-decl.td M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp Log Message: ----------- [mlir] Change ODS to have include and exclude regex This makes it easier to have a "remainder" include rule. And also makes it easier to read the command line flag. From all-commits at lists.llvm.org Mon Jul 6 10:33:56 2020 From: all-commits at lists.llvm.org (Kevin P. Neal via All-commits) Date: Mon, 06 Jul 2020 10:33:56 -0700 Subject: [all-commits] [llvm/llvm-project] 39d2ae: [FPEnv][Clang][Driver] Disable constrained floatin... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 39d2ae0afb2312a15e4d15a0855b35b4e1c49fc4 https://github.com/llvm/llvm-project/commit/39d2ae0afb2312a15e4d15a0855b35b4e1c49fc4 Author: Kevin P. Neal Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/include/clang/Basic/DiagnosticFrontendKinds.td M clang/include/clang/Basic/DiagnosticGroups.td M clang/include/clang/Basic/TargetInfo.h M clang/lib/Basic/TargetInfo.cpp M clang/lib/Basic/Targets/SystemZ.h M clang/lib/Basic/Targets/X86.h M clang/lib/Frontend/CompilerInstance.cpp M clang/test/CodeGen/aarch64-neon-misc-constrained.c M clang/test/CodeGen/aarch64-neon-scalar-x-indexed-elem-constrained.c M clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics-constrained.c M clang/test/CodeGen/arm-neon-directed-rounding-constrained.c M clang/test/CodeGen/arm64-vrnd-constrained.c M clang/test/CodeGen/builtins-ppc-fpconstrained.c A clang/test/CodeGen/fp-strictfp.cpp Log Message: ----------- [FPEnv][Clang][Driver] Disable constrained floating point on targets lacking support. We currently have strict floating point/constrained floating point enabled for all targets. Constrained SDAG nodes get converted to the regular ones before reaching the target layer. In theory this should be fine. However, the changes are exposed to users through multiple clang options already in use in the field, and the changes are _completely_ _untested_ on almost all of our targets. Bugs have already been found, like "https://bugs.llvm.org/show_bug.cgi?id=45274". This patch disables constrained floating point options in clang everywhere except X86 and SystemZ. A warning will be printed when this happens. Differential Revision: https://reviews.llvm.org/D80952 From all-commits at lists.llvm.org Mon Jul 6 10:38:13 2020 From: all-commits at lists.llvm.org (Peter Klausler via All-commits) Date: Mon, 06 Jul 2020 10:38:13 -0700 Subject: [all-commits] [llvm/llvm-project] a39e9c: [flang] Basic tests of external I/O runtime (part ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a39e9cf6bec4e7c8e2e947972421c1d5a6f473d6 https://github.com/llvm/llvm-project/commit/a39e9cf6bec4e7c8e2e947972421c1d5a6f473d6 Author: peter klausler Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M flang/runtime/terminator.cpp M flang/runtime/terminator.h M flang/unittests/Runtime/CMakeLists.txt M flang/unittests/Runtime/external-hello.cpp A flang/unittests/Runtime/external-io.cpp M flang/unittests/Runtime/testing.cpp M flang/unittests/Runtime/testing.h Log Message: ----------- [flang] Basic tests of external I/O runtime (part 9/9) Add new unit tests for external Fortran I/O that drive the Fortran I/O runtime API from C++ and exercise basic writing and read-back in the various combinations of access modes, record length variability, and formatting. Sequential modes are tested with positioning. More thorough tests written in Fortran will follow when they can be compiled and run. The Fortran runtime's error termination callback registration was extended with source file and line number positions for better failure messages in unit testing. Reviewed By: sscalpone Differential Revision: https://reviews.llvm.org/D83164 From all-commits at lists.llvm.org Mon Jul 6 10:52:24 2020 From: all-commits at lists.llvm.org (ZequanWu via All-commits) Date: Mon, 06 Jul 2020 10:52:24 -0700 Subject: [all-commits] [llvm/llvm-project] 054704: [SemaCXX] Fix false positive of -Wuninitialized-co... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 054704082b461418d3dac3a379792cdaf52d40b3 https://github.com/llvm/llvm-project/commit/054704082b461418d3dac3a379792cdaf52d40b3 Author: Zequan Wu Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/lib/Analysis/UninitializedValues.cpp M clang/test/SemaCXX/warn-uninitialized-const-reference.cpp Log Message: ----------- [SemaCXX] Fix false positive of -Wuninitialized-const-reference in empty function body. Summary: Some libraries use empty function to ignore unused variable warnings, which gets a new warning from `-Wuninitialized-const-reference`, discussed here https://reviews.llvm.org/D79895#2107604. This patch should fix that. Reviewers: hans, nick, aaron.ballman Reviewed By: aaron.ballman Subscribers: aaron.ballman, riccibruno, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82425 From all-commits at lists.llvm.org Mon Jul 6 11:23:56 2020 From: all-commits at lists.llvm.org (Kevin P. Neal via All-commits) Date: Mon, 06 Jul 2020 11:23:56 -0700 Subject: [all-commits] [llvm/llvm-project] bfdafa: [FPEnv][Clang][Driver] Failing tests are now expec... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: bfdafa32a0fa4b2745627fe57dd253db10ac3fcf https://github.com/llvm/llvm-project/commit/bfdafa32a0fa4b2745627fe57dd253db10ac3fcf Author: Kevin P. Neal Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/test/CodeGen/fpconstrained-cmp-double.c M clang/test/CodeGen/fpconstrained-cmp-float.c M clang/test/CodeGen/fpconstrained.c M clang/test/CodeGen/fpconstrained.cpp Log Message: ----------- [FPEnv][Clang][Driver] Failing tests are now expected failures. These are now expected failures on PowerPC. They can be reenabled when PowerPC is ready. Differential Revision: https://reviews.llvm.org/D80952 From all-commits at lists.llvm.org Mon Jul 6 11:27:43 2020 From: all-commits at lists.llvm.org (Pete Steinfeld via All-commits) Date: Mon, 06 Jul 2020 18:27:43 +0000 (UTC) Subject: [all-commits] [llvm/llvm-project] f9e24a: [flang] Bug fix for ambiguous references to data a... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f9e24a563c36fc98860f4b282af5f6d034b2863c https://github.com/llvm/llvm-project/commit/f9e24a563c36fc98860f4b282af5f6d034b2863c Author: Pete Steinfeld Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M flang/lib/Semantics/expression.cpp M flang/lib/Semantics/resolve-names.cpp A flang/test/Semantics/resolve93.f90 Log Message: ----------- [flang] Bug fix for ambiguous references to data and functions Summary: A program may erroneously reference the same name as both a data object and as a function. Some of these references were causing an internal error in expression analysis. It was already the case that a symbol referenced in a parse tree for a call was changed from an `Entity` to a `ProcEntity`. I added code to detect when a symbol was referenced in a parse tree as an array element gets changed from an `Entity` to an `ObjectEntity`. Then, if an `ObjectEntity` gets called as a function or a `ProcEntity` gets referenced as a data object, errors get emitted. This analysis was previously confined to the name resolution of the specification part of a `ProgramTree`. I added a pass to the execution part of a `ProgramTree` to catch names declared in blocks. Reviewers: tskeith, klausler, DavidTruby Subscribers: llvm-commits Tags: #llvm, #flang Differential Revision: https://reviews.llvm.org/D82903 From all-commits at lists.llvm.org Mon Jul 6 11:28:21 2020 From: all-commits at lists.llvm.org (Matt Arsenault via All-commits) Date: Mon, 06 Jul 2020 11:28:21 -0700 Subject: [all-commits] [llvm/llvm-project] c19c15: AMDGPU: Don't ignore carry out user when expanding... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c19c153e7415807f043edc42843bc491232b717e https://github.com/llvm/llvm-project/commit/c19c153e7415807f043edc42843bc491232b717e Author: Matt Arsenault Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Target/AMDGPU/SIISelLowering.cpp A llvm/test/CodeGen/AMDGPU/expand-scalar-carry-out-select-user.ll Log Message: ----------- AMDGPU: Don't ignore carry out user when expanding add_co_pseudo This was resulting in a missing vreg def in the use select instruction. The output of the pseudo doesn't make sense, since it really shouldn't have the vreg output in the first place, and instead an implicit scc def to match the real scalar behavior. We could have easier to understand tests if we selected scalar versions of the [us]{add|sub}.with.overflow intrinsics. This does still end up producing vector code in the end, since it gets moved later. From all-commits at lists.llvm.org Mon Jul 6 11:39:26 2020 From: all-commits at lists.llvm.org (Petr Hosek via All-commits) Date: Mon, 06 Jul 2020 11:39:26 -0700 Subject: [all-commits] [llvm/llvm-project] f32ff0: [CMake][Fuchsia] Support for building with MSVC Message-ID: Branch: refs/heads/fuchsia/sandbox/phosek/windows Home: https://github.com/llvm/llvm-project Commit: f32ff0807e9e04e727f98804e6aff6c2353b4d73 https://github.com/llvm/llvm-project/commit/f32ff0807e9e04e727f98804e6aff6c2353b4d73 Author: Petr Hosek Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/cmake/caches/Fuchsia-stage2.cmake M clang/cmake/caches/Fuchsia.cmake Log Message: ----------- [CMake][Fuchsia] Support for building with MSVC This change adds the necessary flags for building the full Fuchsia toolchain on Windows with MSVC. Differential Revision: https://reviews.llvm.org/D73810 From all-commits at lists.llvm.org Mon Jul 6 11:40:27 2020 From: all-commits at lists.llvm.org (Petr Hosek via All-commits) Date: Mon, 06 Jul 2020 11:40:27 -0700 Subject: [all-commits] [llvm/llvm-project] Message-ID: Branch: refs/heads/fuchsia/sandbox/phosek/windows Home: https://github.com/llvm/llvm-project From all-commits at lists.llvm.org Mon Jul 6 11:44:28 2020 From: all-commits at lists.llvm.org (Kevin P. Neal via All-commits) Date: Mon, 06 Jul 2020 11:44:28 -0700 Subject: [all-commits] [llvm/llvm-project] 2b3551: [FPEnv][Clang][Driver] Failing tests are now expec... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 2b35511350454dd22997f129ee529e3fdb129ac2 https://github.com/llvm/llvm-project/commit/2b35511350454dd22997f129ee529e3fdb129ac2 Author: Kevin P. Neal Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/test/CodeGen/fpconstrained-cmp-double.c M clang/test/CodeGen/fpconstrained-cmp-float.c M clang/test/CodeGen/fpconstrained.c M clang/test/CodeGen/fpconstrained.cpp Log Message: ----------- [FPEnv][Clang][Driver] Failing tests are now expected failures only on PowerPC Mark these tests as only failing on PowerPC. Avoids unexpected passes on other bots. Fingers crossed. Differential Revision: https://reviews.llvm.org/D80952 From all-commits at lists.llvm.org Mon Jul 6 11:49:08 2020 From: all-commits at lists.llvm.org (Kazushi Marukawa via All-commits) Date: Mon, 06 Jul 2020 11:49:08 -0700 Subject: [all-commits] [llvm/llvm-project] af8389: [VE] Change to use isa Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: af8389e1315a1d4fa2bb5116f40cfc0704891a58 https://github.com/llvm/llvm-project/commit/af8389e1315a1d4fa2bb5116f40cfc0704891a58 Author: Kazushi (Jam) Marukawa Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Target/VE/VEISelLowering.cpp Log Message: ----------- [VE] Change to use isa Summary: Change to use isa instead of dyn_cast to avoid a warning. Reviewers: simoll, k-ishizaka Reviewed By: simoll Subscribers: hiraditya, llvm-commits Tags: #llvm, #ve Differential Revision: https://reviews.llvm.org/D83200 From all-commits at lists.llvm.org Mon Jul 6 12:00:40 2020 From: all-commits at lists.llvm.org (Kevin P. Neal via All-commits) Date: Mon, 06 Jul 2020 12:00:40 -0700 Subject: [all-commits] [llvm/llvm-project] 916e2c: Revert "[FPEnv][Clang][Driver] Disable constrained... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 916e2ca99785d34db73945940923a487efad32ad https://github.com/llvm/llvm-project/commit/916e2ca99785d34db73945940923a487efad32ad Author: Kevin P. Neal Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/include/clang/Basic/DiagnosticFrontendKinds.td M clang/include/clang/Basic/DiagnosticGroups.td M clang/include/clang/Basic/TargetInfo.h M clang/lib/Basic/TargetInfo.cpp M clang/lib/Basic/Targets/SystemZ.h M clang/lib/Basic/Targets/X86.h M clang/lib/Frontend/CompilerInstance.cpp M clang/test/CodeGen/aarch64-neon-misc-constrained.c M clang/test/CodeGen/aarch64-neon-scalar-x-indexed-elem-constrained.c M clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics-constrained.c M clang/test/CodeGen/arm-neon-directed-rounding-constrained.c M clang/test/CodeGen/arm64-vrnd-constrained.c M clang/test/CodeGen/builtins-ppc-fpconstrained.c R clang/test/CodeGen/fp-strictfp.cpp M clang/test/CodeGen/fpconstrained-cmp-double.c M clang/test/CodeGen/fpconstrained-cmp-float.c M clang/test/CodeGen/fpconstrained.c M clang/test/CodeGen/fpconstrained.cpp Log Message: ----------- Revert "[FPEnv][Clang][Driver] Disable constrained floating point on targets lacking support." My mistake, I had a blocking reviewer. This reverts commit 39d2ae0afb2312a15e4d15a0855b35b4e1c49fc4. This reverts commit bfdafa32a0fa4b2745627fe57dd253db10ac3fcf. This reverts commit 2b35511350454dd22997f129ee529e3fdb129ac2. Differential Revision: https://reviews.llvm.org/D80952 From all-commits at lists.llvm.org Mon Jul 6 12:06:22 2020 From: all-commits at lists.llvm.org (William Moses via All-commits) Date: Mon, 06 Jul 2020 12:06:22 -0700 Subject: [all-commits] [llvm/llvm-project] dc6b3f: [ELF] Drop an unneeded reference to `symtab` from ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: dc6b3f03a872a1c551613e49db1d07bbdd8bfebb https://github.com/llvm/llvm-project/commit/dc6b3f03a872a1c551613e49db1d07bbdd8bfebb Author: William S. Moses Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M lld/ELF/SymbolTable.cpp Log Message: ----------- [ELF] Drop an unneeded reference to `symtab` from SymbolTable::addSymbol The Symbol Table in LLD references the global object to add a symbol rather than adding it to itself. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D83184 From all-commits at lists.llvm.org Mon Jul 6 12:15:17 2020 From: all-commits at lists.llvm.org (Julian Lettner via All-commits) Date: Mon, 06 Jul 2020 12:15:17 -0700 Subject: [all-commits] [llvm/llvm-project] 71a6a4: [Sanitizer] Fix demangling for Swift symbol names Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 71a6a41f1c55c43c07942e49ef8ecdabd95f8b61 https://github.com/llvm/llvm-project/commit/71a6a41f1c55c43c07942e49ef8ecdabd95f8b61 Author: Julian Lettner Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp Log Message: ----------- [Sanitizer] Fix demangling for Swift symbol names The Swift symbol name prefix has changed from `_T0` to `_$s` as documented here [1]. This prevents Swift names from properly being symbolicated when using the in-process LLVM symbolizer. The best way to fix this seems to be to avoid the duplication of "Is this a Swift symbol name?" here. We can simply remove this check as `swift_demangle` already returns null for non-Swift names [2,3]. The check was included in the initial support for Swift name demangling to avoid superfluous calls to `dlsym()` [4]. A subsequent commit changed this logic to retrieve the `swift_demangle` function pointer eagerly during sanitizer initialization, but did not remove the check [5]. [1] https://github.com/apple/swift/blob/master/docs/ABI/Mangling.rst [2] https://github.com/apple/swift/blob/b5a8b518eae54cea997f3b0954760fc7858829f6/include/swift/Demangling/Demangle.h#L643 [3] https://github.com/apple/swift/blob/b5a8b518eae54cea997f3b0954760fc7858829f6/stdlib/public/runtime/Demangle.cpp#L656 [4] https://reviews.llvm.org/D19135 [5] https://reviews.llvm.org/D20015 rdar://62753845 Reviewers: kubamracek, delcypher, dcoughlin, samsonov, thakis Reviewed By: kubamracek Differential Revision: https://reviews.llvm.org/D81705 From all-commits at lists.llvm.org Mon Jul 6 12:17:11 2020 From: all-commits at lists.llvm.org (Kazushi Marukawa via All-commits) Date: Mon, 06 Jul 2020 12:17:11 -0700 Subject: [all-commits] [llvm/llvm-project] fa1fec: [VE] Support symbol with offset in assembly Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: fa1fecc73d4d3884ae8eb887ac06c0f7f7492053 https://github.com/llvm/llvm-project/commit/fa1fecc73d4d3884ae8eb887ac06c0f7f7492053 Author: Kazushi (Jam) Marukawa Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/include/llvm/MC/MCExpr.h M llvm/lib/MC/MCExpr.cpp M llvm/lib/Target/VE/AsmParser/VEAsmParser.cpp A llvm/test/MC/VE/sym-br.s M llvm/test/MC/VE/symbols.s Log Message: ----------- [VE] Support symbol with offset in assembly Summary: Change MCExpr to support Aurora VE's modifiers. Change asmparser to use existing MCExpr parser (parseExpression) to parse an expression contining symbols with modifiers and offsets. Also add several regression tests of MC layer. Reviewers: simoll, k-ishizaka Reviewed By: simoll Subscribers: hiraditya, llvm-commits Tags: #llvm, #ve Differential Revision: https://reviews.llvm.org/D83170 From all-commits at lists.llvm.org Mon Jul 6 12:41:34 2020 From: all-commits at lists.llvm.org (Wouter van Oortmerssen via All-commits) Date: Mon, 06 Jul 2020 12:41:34 -0700 Subject: [all-commits] [llvm/llvm-project] 4d135b: [WebAssembly] 64-bit memory limits Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4d135b0446dc34885811bf103ba2c8b69fe6793b https://github.com/llvm/llvm-project/commit/4d135b0446dc34885811bf103ba2c8b69fe6793b Author: Wouter van Oortmerssen Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M lld/test/wasm/data-layout.ll M lld/wasm/SyntheticSections.cpp M lld/wasm/SyntheticSections.h M lld/wasm/Writer.cpp M llvm/include/llvm/BinaryFormat/Wasm.h M llvm/lib/MC/WasmObjectWriter.cpp M llvm/lib/Object/WasmObjectFile.cpp M llvm/lib/ObjectYAML/WasmYAML.cpp M llvm/test/MC/WebAssembly/wasm64.s Log Message: ----------- [WebAssembly] 64-bit memory limits From all-commits at lists.llvm.org Mon Jul 6 12:45:31 2020 From: all-commits at lists.llvm.org (Paula Toth via All-commits) Date: Mon, 06 Jul 2020 12:45:31 -0700 Subject: [all-commits] [llvm/llvm-project] aa6ef6: [libc] Add documentation for integration tests. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: aa6ef6fea0f0195779559350b42590b9e251a7d2 https://github.com/llvm/llvm-project/commit/aa6ef6fea0f0195779559350b42590b9e251a7d2 Author: Paula Toth Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: A libc/docs/integration_test.rst Log Message: ----------- [libc] Add documentation for integration tests. Reviewers: sivachandra Reviewed By: sivachandra Subscribers: MaskRay, tschuett, ecnelises, libc-commits Tags: #libc-project Differential Revision: https://reviews.llvm.org/D82907 From all-commits at lists.llvm.org Mon Jul 6 12:50:18 2020 From: all-commits at lists.llvm.org (Wouter van Oortmerssen via All-commits) Date: Mon, 06 Jul 2020 12:50:18 -0700 Subject: [all-commits] [llvm/llvm-project] 16d83c: [WebAssembly] Added 64-bit memory.grow/size/copy/fill Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 16d83c395a1f8660fc583a66e1927a5c433fbbe1 https://github.com/llvm/llvm-project/commit/16d83c395a1f8660fc583a66e1927a5c433fbbe1 Author: Wouter van Oortmerssen Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/include/clang/Basic/BuiltinsWebAssembly.def M clang/lib/CodeGen/CGBuiltin.cpp M clang/test/CodeGen/builtins-wasm.c M llvm/include/llvm/IR/IntrinsicsWebAssembly.td M llvm/lib/Target/WebAssembly/WebAssemblyInstrBulkMemory.td M llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td M llvm/lib/Target/WebAssembly/WebAssemblySelectionDAGInfo.cpp R llvm/test/CodeGen/WebAssembly/bulk-memory-intrinsics.ll A llvm/test/CodeGen/WebAssembly/bulk-memory64.ll A llvm/test/CodeGen/WebAssembly/memory-addr64.ll M llvm/test/MC/WebAssembly/bulk-memory-encodings.s Log Message: ----------- [WebAssembly] Added 64-bit memory.grow/size/copy/fill This covers both the existing memory functions as well as the new bulk memory proposal. Added new test files since changes where also required in the inputs. Also removes unused init/drop intrinsics rather than trying to make them work for 64-bit. Differential Revision: https://reviews.llvm.org/D82821 From all-commits at lists.llvm.org Mon Jul 6 12:58:32 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?Tmljb2xhaSBIw6Robmxl?= via All-commits) Date: Mon, 06 Jul 2020 12:58:32 -0700 Subject: [all-commits] [llvm/llvm-project] 76c5cb: DomTree: Remove getChildren() accessor Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 76c5cb05a3a67340cc7950eb8fb5c2d2a0ac4554 https://github.com/llvm/llvm-project/commit/76c5cb05a3a67340cc7950eb8fb5c2d2a0ac4554 Author: Nicolai Hähnle Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/include/llvm/Support/GenericDomTree.h M llvm/include/llvm/Support/GenericDomTreeConstruction.h M llvm/lib/CodeGen/EarlyIfConversion.cpp M llvm/lib/CodeGen/InlineSpiller.cpp M llvm/lib/CodeGen/MachineCSE.cpp M llvm/lib/CodeGen/MachineLICM.cpp M llvm/lib/CodeGen/MachineSink.cpp M llvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp M llvm/lib/Target/Mips/MipsOptimizePICCall.cpp M llvm/lib/Transforms/Scalar/ConstantHoisting.cpp M llvm/lib/Transforms/Scalar/NewGVN.cpp M llvm/lib/Transforms/Utils/LoopSimplify.cpp M llvm/lib/Transforms/Utils/LoopUnroll.cpp M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp M llvm/lib/Transforms/Utils/LoopUtils.cpp Log Message: ----------- DomTree: Remove getChildren() accessor Summary: Avoid exposing details about how children are stored. This will enable subsequent type-erasure changes. New methods are introduced to cover common access patterns. Change-Id: Idb5f4b1b9c84e4cc71ddb39bb52a388682f5674f Reviewers: arsenm, RKSimon, mehdi_amini, courbet Subscribers: qcolombet, sdardis, wdng, hiraditya, jrtc27, zzheng, atanasyan, asbirlea, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83083 Commit: 723a44c9b5d654ec791720fc450757ae00f9e631 https://github.com/llvm/llvm-project/commit/723a44c9b5d654ec791720fc450757ae00f9e631 Author: Nicolai Hähnle Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/include/clang/Analysis/Analyses/Dominators.h M llvm/include/llvm/Analysis/PostDominators.h M llvm/include/llvm/IR/Dominators.h M llvm/include/llvm/Support/GenericDomTree.h Log Message: ----------- DomTree: Remove the releaseMemory() method Summary: It is fully redundant with reset(). Change-Id: I25850b9f08eace757cf03cbb8780e970aca7f51a Reviewers: arsenm, RKSimon, mehdi_amini, courbet Subscribers: wdng, cfe-commits, llvm-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D83084 Commit: dfcc68c528269a3e0b1cbe7ef22cc92cdfdf7eba https://github.com/llvm/llvm-project/commit/dfcc68c528269a3e0b1cbe7ef22cc92cdfdf7eba Author: Nicolai Hähnle Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/include/llvm/Analysis/DominanceFrontier.h M llvm/include/llvm/CodeGen/MachineDominators.h M llvm/include/llvm/CodeGen/MachinePostDominators.h M llvm/include/llvm/Support/GenericDomTree.h M llvm/include/llvm/Support/GenericDomTreeConstruction.h M llvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp M llvm/unittests/IR/DominatorTreeTest.cpp Log Message: ----------- DomTree: Remove getRoots() accessor Summary: Avoid exposing details about how roots are stored. This enables subsequent type-erasure changes. v5: - cleanup a unit test by using EXPECT_EQ instead of EXPECT_TRUE Change-Id: I532b774cc71f2224e543bc7d79131d97f63f093d Reviewers: arsenm, RKSimon, mehdi_amini, courbet Subscribers: jvesely, wdng, hiraditya, kuhar, kerbowa, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83085 Commit: f987ba3cf9af1a2fa168c5a707863b28efd61d73 https://github.com/llvm/llvm-project/commit/f987ba3cf9af1a2fa168c5a707863b28efd61d73 Author: Nicolai Hähnle Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/include/llvm/Support/GenericDomTree.h M llvm/include/llvm/Support/GenericDomTreeConstruction.h Log Message: ----------- DomTree: add private create{Child,Node} helpers Summary: Aside from unifying the code a bit, this change smooths the transition to use of future "opaque generic block references" in the type-erased dominator tree base class. Change-Id: If924b092cc8561c4b6a7450fe79bc96df0e12472 Reviewers: arsenm, RKSimon, mehdi_amini, courbet Subscribers: wdng, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83086 Compare: https://github.com/llvm/llvm-project/compare/16d83c395a1f...f987ba3cf9af From all-commits at lists.llvm.org Mon Jul 6 13:03:26 2020 From: all-commits at lists.llvm.org (Tim Keith via All-commits) Date: Mon, 06 Jul 2020 13:03:26 -0700 Subject: [all-commits] [llvm/llvm-project] 1b1839: [flang] Add missing include for std::min Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1b183918184ecbcd03898badf8d1789ea0f4ffe4 https://github.com/llvm/llvm-project/commit/1b183918184ecbcd03898badf8d1789ea0f4ffe4 Author: Tim Keith Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M flang/runtime/file.cpp Log Message: ----------- [flang] Add missing include for std::min This was causing the build to fail on macos. Differential Revision: https://reviews.llvm.org/D83237 From all-commits at lists.llvm.org Mon Jul 6 13:18:05 2020 From: all-commits at lists.llvm.org (adrian-prantl via All-commits) Date: Mon, 06 Jul 2020 13:18:05 -0700 Subject: [all-commits] [llvm/llvm-project] 60c07f: Use CMAKE_OSX_SYSROOT instead of the environment v... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 60c07fd016a3a5f2050828f92257e1e5d33a485b https://github.com/llvm/llvm-project/commit/60c07fd016a3a5f2050828f92257e1e5d33a485b Author: Adrian Prantl Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M lldb/tools/debugserver/source/CMakeLists.txt Log Message: ----------- Use CMAKE_OSX_SYSROOT instead of the environment variable SYSROOT to detect energy support in debugserver. The way that Swift build-script is invoked the former may be overridden manually. From all-commits at lists.llvm.org Mon Jul 6 13:29:10 2020 From: all-commits at lists.llvm.org (Arlo Siemsen via All-commits) Date: Mon, 06 Jul 2020 13:29:10 -0700 Subject: [all-commits] [llvm/llvm-project] 1d8cb0: Add option LLVM_NM to allow specifying the locatio... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1d8cb099231a79b6ad96e745c2d17cf307bea857 https://github.com/llvm/llvm-project/commit/1d8cb099231a79b6ad96e745c2d17cf307bea857 Author: Arlo Siemsen Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/tools/llvm-shlib/CMakeLists.txt Log Message: ----------- Add option LLVM_NM to allow specifying the location of the llvm-nm tool The new option works like the existing LLVM_TABLEGEN, and LLVM_CONFIG_PATH options. Instead of building llvm-nm, the build uses the executable defined by LLVM_NM. This is useful for cross-compilation scenarios where the host cannot run the cross-compiled tool, and recursing into another cmake build is not an option (due to required DEFINE's, for example). Reviewed By: smeenai Differential Revision: https://reviews.llvm.org/D83022 From all-commits at lists.llvm.org Mon Jul 6 14:01:14 2020 From: all-commits at lists.llvm.org (Matt Arsenault via All-commits) Date: Mon, 06 Jul 2020 14:01:14 -0700 Subject: [all-commits] [llvm/llvm-project] f25d02: AMDGPU/GlobalISel: Add types to special inputs Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f25d020c2ec7cb1971fa56b99381d416799d8145 https://github.com/llvm/llvm-project/commit/f25d020c2ec7cb1971fa56b99381d416799d8145 Author: Matt Arsenault Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.cpp M llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp M llvm/lib/Target/AMDGPU/SIISelLowering.cpp M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h Log Message: ----------- AMDGPU/GlobalISel: Add types to special inputs When passing special ABI inputs, we have no existing context for the type to use. From all-commits at lists.llvm.org Mon Jul 6 14:04:02 2020 From: all-commits at lists.llvm.org (Bruno Ricci via All-commits) Date: Mon, 06 Jul 2020 14:04:02 -0700 Subject: [all-commits] [llvm/llvm-project] f63e3e: [clang] Rework how and when APValues are dumped Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f63e3ea558bbe14826b5b775367eac617b35e041 https://github.com/llvm/llvm-project/commit/f63e3ea558bbe14826b5b775367eac617b35e041 Author: Bruno Ricci Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/include/clang/AST/APValue.h M clang/include/clang/AST/ASTNodeTraverser.h M clang/include/clang/AST/JSONNodeDumper.h M clang/include/clang/AST/TextNodeDumper.h M clang/lib/AST/APValue.cpp M clang/lib/AST/ASTDumper.cpp M clang/lib/AST/JSONNodeDumper.cpp M clang/lib/AST/TextNodeDumper.cpp M clang/test/AST/alignas_maybe_odr_cleanup.cpp A clang/test/AST/ast-dump-APValue-anon-union.cpp A clang/test/AST/ast-dump-APValue-arithmetic.cpp A clang/test/AST/ast-dump-APValue-array.cpp A clang/test/AST/ast-dump-APValue-struct.cpp A clang/test/AST/ast-dump-APValue-todo.cpp A clang/test/AST/ast-dump-APValue-union.cpp A clang/test/AST/ast-dump-APValue-vector.cpp M clang/test/AST/ast-dump-attr.cpp M clang/test/AST/ast-dump-color.cpp M clang/test/AST/ast-dump-constant-expr.cpp M clang/test/AST/ast-dump-decl.cpp M clang/test/AST/ast-dump-records.cpp M clang/test/AST/ast-dump-stmt.cpp M clang/test/AST/pr43983.cpp M clang/test/Import/switch-stmt/test.cpp M clang/test/Tooling/clang-check-ast-dump.cpp Log Message: ----------- [clang] Rework how and when APValues are dumped Currently APValues are dumped as a single string. This becomes quickly completely unreadable since APValue is a tree-like structure. Even a simple example is not pretty: struct S { int arr[4]; float f; }; constexpr S s = { .arr = {1,2}, .f = 3.1415f }; // Struct fields: Array: Int: 1, Int: 2, 2 x Int: 0, Float: 3.141500e+00 With this patch this becomes: -Struct |-field: Array size=4 | |-elements: Int 1, Int 2 | `-filler: 2 x Int 0 `-field: Float 3.141500e+00 Additionally APValues are currently only dumped as part of visiting a ConstantExpr. This patch also dump the value of the initializer of constexpr variable declarations: constexpr int foo(int a, int b) { return a + b - 42; } constexpr int a = 1, b = 2; constexpr int c = foo(a, b) > 0 ? foo(a, b) : foo(b, a); // VarDecl 0x62100008aec8 col:17 c 'const int' constexpr cinit // |-value: Int -39 // `-ConditionalOperator 0x62100008b4d0 'int' // Do the above by moving the dump functions to TextNodeDumper which already has the machinery to display trees. The cases APValue::LValue, APValue::MemberPointer and APValue::AddrLabelDiff are left as they were before (unimplemented). We try to display multiple elements on the same line if they are considered to be "simple". This is to avoid wasting large amounts of vertical space in an example like: constexpr int arr[8] = {0,1,2,3,4,5,6,7}; // VarDecl 0x62100008bb78 col:17 arr 'int const[8]' constexpr cinit // |-value: Array size=8 // | |-elements: Int 0, Int 1, Int 2, Int 3 // | `-elements: Int 4, Int 5, Int 6, Int 7 Differential Revision: https://reviews.llvm.org/D83183 Reviewed By: aaron.ballman From all-commits at lists.llvm.org Mon Jul 6 14:08:09 2020 From: all-commits at lists.llvm.org (Stanislav Mekhanoshin via All-commits) Date: Mon, 06 Jul 2020 14:08:09 -0700 Subject: [all-commits] [llvm/llvm-project] f7a7ef: [AMDGPU] Tweak getTypeLegalizationCost() Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f7a7efbf88b72b4aa6bd95a1ded6dacd2237f2f8 https://github.com/llvm/llvm-project/commit/f7a7efbf88b72b4aa6bd95a1ded6dacd2237f2f8 Author: Stanislav Mekhanoshin Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Target/AMDGPU/SIISelLowering.cpp M llvm/lib/Target/AMDGPU/SIISelLowering.h M llvm/test/Analysis/CostModel/AMDGPU/add-sub.ll M llvm/test/Analysis/CostModel/AMDGPU/mul.ll Log Message: ----------- [AMDGPU] Tweak getTypeLegalizationCost() Even though wide vectors are legal they still cost more as we will have to eventually split them. Not all operations can be uniformly done on vector types. Conservatively add the cost of splitting at least to 8 dwords, which is our widest possible load. We are more or less lying to cost mode with this change but this can prevent vectorizer from creation of wide vectors which results in RA problems for us. Differential Revision: https://reviews.llvm.org/D83078 From all-commits at lists.llvm.org Mon Jul 6 14:42:49 2020 From: all-commits at lists.llvm.org (Bruno Ricci via All-commits) Date: Mon, 06 Jul 2020 14:42:49 -0700 Subject: [all-commits] [llvm/llvm-project] 02946d: [Support][NFC] Fix Wdocumentation warning in ADT/B... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 02946de3802d3bc65bc9f2eb9b8d4969b5a7add8 https://github.com/llvm/llvm-project/commit/02946de3802d3bc65bc9f2eb9b8d4969b5a7add8 Author: Bruno Ricci Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/include/llvm/ADT/Bitfields.h Log Message: ----------- [Support][NFC] Fix Wdocumentation warning in ADT/Bitfields.h \tparam is used for template parameters instead of \param. From all-commits at lists.llvm.org Mon Jul 6 14:50:35 2020 From: all-commits at lists.llvm.org (Eric Christopher via All-commits) Date: Mon, 06 Jul 2020 14:50:35 -0700 Subject: [all-commits] [llvm/llvm-project] 7c6380: Fix [-Werror, -Wsign-compare] in dominator unit test. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7c63804383f6baed3d934b3569f406c078869567 https://github.com/llvm/llvm-project/commit/7c63804383f6baed3d934b3569f406c078869567 Author: Eric Christopher Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/unittests/IR/DominatorTreeTest.cpp Log Message: ----------- Fix [-Werror,-Wsign-compare] in dominator unit test. From all-commits at lists.llvm.org Mon Jul 6 14:52:44 2020 From: all-commits at lists.llvm.org (Zixu Wang via All-commits) Date: Mon, 06 Jul 2020 14:52:44 -0700 Subject: [all-commits] [llvm/llvm-project] f47b88: [clang] Enable errors for undefined TARGET_OS_ mac... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f47b8851318d5ec2fa1e7867f3fdb86101cdc1da https://github.com/llvm/llvm-project/commit/f47b8851318d5ec2fa1e7867f3fdb86101cdc1da Author: Zixu Wang Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/lib/Driver/ToolChains/Darwin.cpp A clang/test/Driver/darwin-warning-options.c Log Message: ----------- [clang] Enable errors for undefined TARGET_OS_ macros in Darwin driver Add clang option `-Wundef-prefix=TARGET_OS_` and `-Werror=undef-prefix` to Darwin driver. Differential Revision: https://reviews.llvm.org/D83250 From all-commits at lists.llvm.org Mon Jul 6 14:58:50 2020 From: all-commits at lists.llvm.org (Joachim via All-commits) Date: Mon, 06 Jul 2020 14:58:50 -0700 Subject: [all-commits] [llvm/llvm-project] 6d9626: [OpenMP][Tests] Fix/Mark compatibilty for GCC Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6d9626d2da3e59da0b0ae85d975b05a8f96b9939 https://github.com/llvm/llvm-project/commit/6d9626d2da3e59da0b0ae85d975b05a8f96b9939 Author: Joachim Protze Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M openmp/runtime/test/ompt/synchronization/ordered_dependences.c M openmp/runtime/test/ompt/tasks/dependences.c A openmp/runtime/test/ompt/tasks/dependences_mutexinoutset.c M openmp/runtime/test/ompt/tasks/task_early_fulfill.c M openmp/runtime/test/ompt/tasks/task_late_fulfill.c M openmp/runtime/test/ompt/worksharing/for/runtime.c M openmp/runtime/test/ompt/worksharing/for/runtime_serialized.c M openmp/runtime/test/ompt/worksharing/for/runtime_split.c M openmp/tools/multiplex/tests/custom_data_storage/custom_data_storage.c M openmp/tools/multiplex/tests/print/print.c Log Message: ----------- [OpenMP][Tests] Fix/Mark compatibilty for GCC Reviewed by: Hahnfeld, saiislam Differential Revision: https://reviews.llvm.org/D82267 From all-commits at lists.llvm.org Mon Jul 6 15:01:12 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Mon, 06 Jul 2020 15:01:12 -0700 Subject: [all-commits] [llvm/llvm-project] c359c5: [X86] Centalize the 'sse4' hack to a single place ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c359c5d534429c96f1cebdf8d845b8120e9c2ef0 https://github.com/llvm/llvm-project/commit/c359c5d534429c96f1cebdf8d845b8120e9c2ef0 Author: Craig Topper Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/lib/Basic/Targets/X86.cpp Log Message: ----------- [X86] Centalize the 'sse4' hack to a single place in X86TargetInfo::setFeatureEnabledImpl. NFCI Instead of detecting the string in 2 places. Just swap the string to 'sse4.1' or 'sse4.2' at the top of the function. Prep work for a patch to switch the rest of this function to a table based system. And I don't want to include 'sse4a' in the table. From all-commits at lists.llvm.org Mon Jul 6 15:13:38 2020 From: all-commits at lists.llvm.org (Roman Lebedev via All-commits) Date: Mon, 06 Jul 2020 15:13:38 -0700 Subject: [all-commits] [llvm/llvm-project] db05f2: [Scalarizer] Centralize instruction DCE Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: db05f2e34a5e9380ddcc199d6687531108d795e4 https://github.com/llvm/llvm-project/commit/db05f2e34a5e9380ddcc199d6687531108d795e4 Author: Roman Lebedev Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Transforms/Scalar/Scalarizer.cpp M llvm/test/Transforms/Scalarizer/basic.ll M llvm/test/Transforms/Scalarizer/crash-bug.ll M llvm/test/Transforms/Scalarizer/phi-unreachable-pred.ll Log Message: ----------- [Scalarizer] Centralize instruction DCE As reported in https://reviews.llvm.org/D83101#2133062 the new visitInsertElementInst()/visitExtractElementInst() functionality is causing miscompiles (previously-crashing test added) It is due to the fact how the infra of Scalarizer is dealing with DCE, it was not updated or was it ready for such scalar value forwarding. It always assumed that the moment we "scalarized" something, it can go away, and did so with prejudice. But that is no longer safe/okay to do. Instead, let's prevent it from ever shooting itself into foot, and let's just accumulate the instructions-to-be-deleted in a vector, and collectively cleanup (those that are *actually* dead) them all at the end. All existing tests are not reporting any new garbage leftovers, but maybe it's test coverage issue. From all-commits at lists.llvm.org Mon Jul 6 15:15:45 2020 From: all-commits at lists.llvm.org (Sameer Arora via All-commits) Date: Mon, 06 Jul 2020 15:15:45 -0700 Subject: [all-commits] [llvm/llvm-project] c14390: [llvm-install-name-tool] Merge install-name options Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c143900a0851b2c7b7d52e4825c7f073b3474cf6 https://github.com/llvm/llvm-project/commit/c143900a0851b2c7b7d52e4825c7f073b3474cf6 Author: Sameer Arora Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/test/tools/llvm-objcopy/MachO/install-name-tool-add-rpath.test M llvm/tools/llvm-objcopy/CopyConfig.cpp M llvm/tools/llvm-objcopy/CopyConfig.h M llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp Log Message: ----------- [llvm-install-name-tool] Merge install-name options This diff merges all options for llvm-install-name-tool under a single function processLoadCommands. Also adds another test case for -add_rpath option. Test plan: make check-all Reviewed by: jhenderson, alexshap, smeenai, Ktwu Differential Revision: https://reviews.llvm.org/D82812 From all-commits at lists.llvm.org Mon Jul 6 15:18:26 2020 From: all-commits at lists.llvm.org (Roman Lebedev via All-commits) Date: Mon, 06 Jul 2020 15:18:26 -0700 Subject: [all-commits] [llvm/llvm-project] 69dca6: [NFCI][IR] Introduce CallBase::Create() wrapper Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 69dca6efc60a40a939ca5025a8c716e891c2847a https://github.com/llvm/llvm-project/commit/69dca6efc60a40a939ca5025a8c716e891c2847a Author: Roman Lebedev Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/include/llvm/IR/InstrTypes.h M llvm/lib/IR/Instructions.cpp M llvm/lib/Transforms/CFGuard/CFGuard.cpp M llvm/lib/Transforms/IPO/GlobalOpt.cpp M llvm/lib/Transforms/Utils/InlineFunction.cpp Log Message: ----------- [NFCI][IR] Introduce CallBase::Create() wrapper Summary: It is reasonably common to want to clone some call with different bundles. Let's actually provide an interface to do that. Reviewers: chandlerc, jdoerfert, dblaikie, nickdesaulniers Reviewed By: nickdesaulniers Subscribers: llvm-commits, hiraditya Tags: #llvm Differential Revision: https://reviews.llvm.org/D83248 Commit: 05f2b5ccfc5d8b1f182b00fc80dfbe804fd0357a https://github.com/llvm/llvm-project/commit/05f2b5ccfc5d8b1f182b00fc80dfbe804fd0357a Author: Roman Lebedev Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: A llvm/test/Reduce/remove-operand-bundles.ll M llvm/tools/llvm-reduce/CMakeLists.txt M llvm/tools/llvm-reduce/DeltaManager.h A llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.cpp A llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.h M llvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn Log Message: ----------- [llvm-reduce] Reducing call operand bundles Summary: This would have been marginally useful to me during/for rG7ea46aee3670981827c04df89b2c3a1cbdc7561b. With ongoing migration to representing assumes via operand bundles on the assume, this will be gradually more useful. Reviewers: nickdesaulniers, diegotf, dblaikie, george.burgess.iv, jdoerfert, Tyker Reviewed By: nickdesaulniers Subscribers: hiraditya, mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83177 Compare: https://github.com/llvm/llvm-project/compare/c143900a0851...05f2b5ccfc5d From all-commits at lists.llvm.org Mon Jul 6 15:25:50 2020 From: all-commits at lists.llvm.org (Jonathan Peyton via All-commits) Date: Mon, 06 Jul 2020 15:25:50 -0700 Subject: [all-commits] [llvm/llvm-project] 95a28d: [OpenMP] Add GOMP 5.0 loop entry points Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 95a28df5c458cd751355fc84263762c330474254 https://github.com/llvm/llvm-project/commit/95a28df5c458cd751355fc84263762c330474254 Author: Peyton, Jonathan L Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M openmp/runtime/src/exports_so.txt M openmp/runtime/src/kmp_ftn_os.h M openmp/runtime/src/kmp_gsupport.cpp Log Message: ----------- [OpenMP] Add GOMP 5.0 loop entry points This patch adds missing GOMP_5.0 loop entry points which incorporate new non-monotonic default into entry point name. Since monotonic schedules are a subset of nonmonotonic, it is acceptable to use monotonic as the implementation. This patch simply has the nonmonotonic (and possibly non-monontonic) versions of the loop entry points as wrappers around the monotonic ones. Differential Revision: https://reviews.llvm.org/D73922 From all-commits at lists.llvm.org Mon Jul 6 15:32:27 2020 From: all-commits at lists.llvm.org (minjaehwang via All-commits) Date: Mon, 06 Jul 2020 15:32:27 -0700 Subject: [all-commits] [llvm/llvm-project] 842136: Modifications to the algorithm sort benchmark Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 8421364282646f5f398d76ffce13a37fe541f015 https://github.com/llvm/llvm-project/commit/8421364282646f5f398d76ffce13a37fe541f015 Author: MinJae Hwang Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M libcxx/benchmarks/algorithms.bench.cpp Log Message: ----------- Modifications to the algorithm sort benchmark Summary: Modifies the algorithm sort bench: - shows sorting time per element, instead of sorting time per array. This would make comparison between different sizes of arrays easier. - adds std::pair benchmark cases. - uses a large number of arrays to benchmark, instead of repeatedly sorting the same array. * sorting the same array again and again would not show actual sorting performance over randomized data sets. Reviewers: EricWF, #libc, mvels Reviewed By: EricWF, #libc, mvels Subscribers: mgrang, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D81770 From all-commits at lists.llvm.org Mon Jul 6 15:32:49 2020 From: all-commits at lists.llvm.org (Roman Lebedev via All-commits) Date: Mon, 06 Jul 2020 15:32:49 -0700 Subject: [all-commits] [llvm/llvm-project] fc4f5d: [NFCI][llvm-reduce] ReduceOperandBundles: actually... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: fc4f5d65848015217dd227d15da04b8395166407 https://github.com/llvm/llvm-project/commit/fc4f5d65848015217dd227d15da04b8395166407 Author: Roman Lebedev Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.cpp Log Message: ----------- [NFCI][llvm-reduce] ReduceOperandBundles: actually put Module forward-declaration back into llvm namespace From all-commits at lists.llvm.org Mon Jul 6 15:40:00 2020 From: all-commits at lists.llvm.org (Yuanfang Chen via All-commits) Date: Mon, 06 Jul 2020 15:40:00 -0700 Subject: [all-commits] [llvm/llvm-project] 1e495e: [NFC] change getLimitedCodeGenPipelineReason to st... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1e495e10e6c87c2e7dd9ee7cac9352223b72006b https://github.com/llvm/llvm-project/commit/1e495e10e6c87c2e7dd9ee7cac9352223b72006b Author: Yuanfang Chen Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/include/llvm/CodeGen/TargetPassConfig.h M llvm/lib/CodeGen/TargetPassConfig.cpp Log Message: ----------- [NFC] change getLimitedCodeGenPipelineReason to static function From all-commits at lists.llvm.org Mon Jul 6 15:40:36 2020 From: all-commits at lists.llvm.org (Eric Christopher via All-commits) Date: Mon, 06 Jul 2020 15:40:36 -0700 Subject: [all-commits] [llvm/llvm-project] 4029f8: Temporarily Revert "[llvm-install-name-tool] Merge... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4029f8ede42f69f5fb5affb3eb008e03d448f407 https://github.com/llvm/llvm-project/commit/4029f8ede42f69f5fb5affb3eb008e03d448f407 Author: Eric Christopher Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/test/tools/llvm-objcopy/MachO/install-name-tool-add-rpath.test M llvm/tools/llvm-objcopy/CopyConfig.cpp M llvm/tools/llvm-objcopy/CopyConfig.h M llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp Log Message: ----------- Temporarily Revert "[llvm-install-name-tool] Merge install-name options" as it breaks the objcopy build. This reverts commit c143900a0851b2c7b7d52e4825c7f073b3474cf6. From all-commits at lists.llvm.org Mon Jul 6 15:43:11 2020 From: all-commits at lists.llvm.org (Hubert Tong via All-commits) Date: Mon, 06 Jul 2020 15:43:11 -0700 Subject: [all-commits] [llvm/llvm-project] 70919a: [tests] Speculative fix for buildbot breakage from... Message-ID: Branch: refs/heads/release/10.x Home: https://github.com/llvm/llvm-project Commit: 70919a46facce7f232cf8bc1f2e4b6455abe01d5 https://github.com/llvm/llvm-project/commit/70919a46facce7f232cf8bc1f2e4b6455abe01d5 Author: Hubert Tong Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/test/CodeGen/X86/asm-modifier.ll M llvm/test/CodeGen/X86/asm-modifier2.ll Log Message: ----------- [tests] Speculative fix for buildbot breakage from c5f7c039efe7 (cherry picked from commit d73eed42d1dcba06a5b793346f6e3eed0c7f41ac) From all-commits at lists.llvm.org Mon Jul 6 16:13:04 2020 From: all-commits at lists.llvm.org (RotateRight via All-commits) Date: Mon, 06 Jul 2020 16:13:04 -0700 Subject: [all-commits] [llvm/llvm-project] ea71ba: [DAGCombiner] reassociate reciprocal sqrt expressi... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ea71ba11ab1187af03a790dc20967ddd62f68bfe https://github.com/llvm/llvm-project/commit/ea71ba11ab1187af03a790dc20967ddd62f68bfe Author: Sanjay Patel Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp M llvm/test/CodeGen/X86/sqrt-fastmath.ll Log Message: ----------- [DAGCombiner] reassociate reciprocal sqrt expression to eliminate FP division X / (fabs(A) * sqrt(Z)) --> X / sqrt(A*A*Z) --> X * rsqrt(A*A*Z) In the motivating case from PR46406: https://bugs.llvm.org/show_bug.cgi?id=46406 ...this is restoring the sequence that was originally in the source code. We extracted a term from within the sqrt because we do not know in instcombine whether a target will expand a sqrt call. Note: we could say that the transform in IR should be restricted, but that would not solve the problem if the source was originally in the pattern shown here. This is a gray area for fast-math-flag requirements. I think we should at least check fast-math-flags on the fdiv and fmul because I view this transform as 2 pieces: reassociate the fmul operands and form reciprocal from the fdiv (as with the existing transform). We could argue that the sqrt also needs FMF, but that was not required before, so we should change that in a follow-up patch if that seems better. We don't currently have a way to check that the target will produce a sqrt or recip estimate without actually creating nodes (the APIs are SDValue getSqrtEstimate() and SDValue getRecipEstimate()), so we clean up speculatively created nodes if we are not able to create an estimate. The x86 test with doubles verifies that we are not changing a test with no estimate sequence. Differential Revision: https://reviews.llvm.org/D82716 From all-commits at lists.llvm.org Mon Jul 6 16:53:51 2020 From: all-commits at lists.llvm.org (AE via All-commits) Date: Mon, 06 Jul 2020 16:53:51 -0700 Subject: [all-commits] [llvm/llvm-project] 3c7e8d: Fix sdk version test to use 99.99.99 as a max dumm... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 3c7e8d6d0eb0660fb8fbae98c3e49ca059943416 https://github.com/llvm/llvm-project/commit/3c7e8d6d0eb0660fb8fbae98c3e49ca059943416 Author: Amara Emerson Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/test/Driver/darwin-sdk-vs-os-version.c Log Message: ----------- Fix sdk version test to use 99.99.99 as a max dummy version instead of 10.99.99. Was failing on macOS 11 hosts which is > 10.99.99 From all-commits at lists.llvm.org Mon Jul 6 17:21:01 2020 From: all-commits at lists.llvm.org (Tom Stellard via All-commits) Date: Mon, 06 Jul 2020 17:21:01 -0700 Subject: [all-commits] [llvm/llvm-project] Message-ID: Branch: refs/tags/llvmorg-10.0.1-rc3 Home: https://github.com/llvm/llvm-project From all-commits at lists.llvm.org Mon Jul 6 17:28:39 2020 From: all-commits at lists.llvm.org (Wolfgang Pieb via All-commits) Date: Mon, 06 Jul 2020 17:28:39 -0700 Subject: [all-commits] [llvm/llvm-project] 129387: Correct 3 spelling errors in headers and doc strings. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 129387497e582ae96de41c56083fe52fce68ba91 https://github.com/llvm/llvm-project/commit/129387497e582ae96de41c56083fe52fce68ba91 Author: Wolfgang Pieb Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/include/llvm/DebugInfo/GSYM/InlineInfo.h M llvm/lib/Target/X86/X86SpeculativeExecutionSideEffectSuppression.cpp Log Message: ----------- Correct 3 spelling errors in headers and doc strings. From all-commits at lists.llvm.org Mon Jul 6 17:37:32 2020 From: all-commits at lists.llvm.org (Nico Weber via All-commits) Date: Mon, 06 Jul 2020 17:37:32 -0700 Subject: [all-commits] [llvm/llvm-project] 003ea1: fix typos to cycle bots Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 003ea142205a927f5e444978515705927c3fb0f2 https://github.com/llvm/llvm-project/commit/003ea142205a927f5e444978515705927c3fb0f2 Author: Nico Weber Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/docs/CommandGuide/FileCheck.rst Log Message: ----------- fix typos to cycle bots From all-commits at lists.llvm.org Mon Jul 6 17:44:49 2020 From: all-commits at lists.llvm.org (llvmgnsyncbot via All-commits) Date: Mon, 06 Jul 2020 17:44:49 -0700 Subject: [all-commits] [llvm/llvm-project] bfa8bd: [gn build] Port Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: bfa8bda0460dc3883605735bd3dd6ce5c1252549 https://github.com/llvm/llvm-project/commit/bfa8bda0460dc3883605735bd3dd6ce5c1252549 Author: LLVM GN Syncbot Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn Log Message: ----------- [gn build] Port Commit: 7a3258912c4e86ea4f3d6e1ccf72d090d9bb299c https://github.com/llvm/llvm-project/commit/7a3258912c4e86ea4f3d6e1ccf72d090d9bb299c Author: LLVM GN Syncbot Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn Log Message: ----------- [gn build] Port 05f2b5ccfc5 Compare: https://github.com/llvm/llvm-project/compare/003ea142205a...7a3258912c4e From all-commits at lists.llvm.org Mon Jul 6 17:56:39 2020 From: all-commits at lists.llvm.org (Jordan Rupprecht via All-commits) Date: Mon, 06 Jul 2020 17:56:39 -0700 Subject: [all-commits] [llvm/llvm-project] 10c82e: Revert "[LV] Enable the LoopVectorizer to create p... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 10c82eecbcb7d9f000f6640b26c854843a78f091 https://github.com/llvm/llvm-project/commit/10c82eecbcb7d9f000f6640b26c854843a78f091 Author: Jordan Rupprecht Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp R llvm/test/Transforms/LoopVectorize/ARM/pointer_iv.ll Log Message: ----------- Revert "[LV] Enable the LoopVectorizer to create pointer inductions" This reverts commit a8fe12065ec8137e55a6a8b35dd5355477c2ac16. It causes a crash when building gzip. Will post the detailed reduced test case to D81267. From all-commits at lists.llvm.org Mon Jul 6 18:05:53 2020 From: all-commits at lists.llvm.org (David Blaikie via All-commits) Date: Mon, 06 Jul 2020 18:05:53 -0700 Subject: [all-commits] [llvm/llvm-project] 7a99aa: [ModuloSchedule] Devirtualize PeelingModuloSchedul... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7a99aab8692c58558b62e9a66120886b8a70fab8 https://github.com/llvm/llvm-project/commit/7a99aab8692c58558b62e9a66120886b8a70fab8 Author: David Blaikie Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/include/llvm/CodeGen/ModuloSchedule.h Log Message: ----------- [ModuloSchedule] Devirtualize PeelingModuloScheduleExpander::expand as it's not needed The use case is out of tree code deriving from this class - but without a need to use the base class polymorphically, so skip the virtualization and virtual dtor. Post-commit review from 50ac7ce94f34c5f43b02185ae0c33e150e78b044 From all-commits at lists.llvm.org Mon Jul 6 18:15:49 2020 From: all-commits at lists.llvm.org (Mauricio Sifontes via All-commits) Date: Mon, 06 Jul 2020 18:15:49 -0700 Subject: [all-commits] [llvm/llvm-project] a5a8c1: Create the MLIR Reduce framework Message-ID: Branch: refs/heads/arcpatch-D82803_1 Home: https://github.com/llvm/llvm-project Commit: a5a8c1ed5660b4ef0c83b3819702a43a23af2cf2 https://github.com/llvm/llvm-project/commit/a5a8c1ed5660b4ef0c83b3819702a43a23af2cf2 Author: Mauricio Sifontes Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: A mlir/include/mlir/Reducer/Tester.h M mlir/lib/CMakeLists.txt A mlir/lib/Reducer/CMakeLists.txt A mlir/lib/Reducer/Tester.cpp M mlir/test/CMakeLists.txt A mlir/test/mlir-reduce/test.bat A mlir/test/mlir-reduce/test.sh A mlir/test/mlir-reduce/testcase-linux.mlir A mlir/test/mlir-reduce/testcase-windows.mlir M mlir/tools/CMakeLists.txt A mlir/tools/mlir-reduce/CMakeLists.txt A mlir/tools/mlir-reduce/mlir-reduce.cpp Log Message: ----------- Create the MLIR Reduce framework Create the framework and testing environment for MLIR Reduce - a tool with the objective to reduce large test cases into smaller ones while preserving their interesting behavior. Implement the framework to parse the command line arguments, parse the input MLIR test case into a module and call reduction passes on the MLIR module. Implement the Tester class which allows the different reduction passes to test the interesting behavior of the generated reduced variants of the test case and keep track of the most reduced generated variant. Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D82803 From all-commits at lists.llvm.org Mon Jul 6 18:16:15 2020 From: all-commits at lists.llvm.org (Paula Toth via All-commits) Date: Mon, 06 Jul 2020 18:16:15 -0700 Subject: [all-commits] [llvm/llvm-project] ab25ed: [libc] Add documentation for clang-tidy checks. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ab25ed26c67e5d540e6628fa5e5982e7e9b90a38 https://github.com/llvm/llvm-project/commit/ab25ed26c67e5d540e6628fa5e5982e7e9b90a38 Author: Paula Toth Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: A libc/docs/clang_tidy_checks.rst Log Message: ----------- [libc] Add documentation for clang-tidy checks. Reviewers: sivachandra Reviewed By: sivachandra Subscribers: tschuett, ecnelises, libc-commits Tags: #libc-project Differential Revision: https://reviews.llvm.org/D82846 From all-commits at lists.llvm.org Mon Jul 6 18:29:14 2020 From: all-commits at lists.llvm.org (Amy Kwan via All-commits) Date: Mon, 06 Jul 2020 18:29:14 -0700 Subject: [all-commits] [llvm/llvm-project] c13e3e: [PowerPC][Power10] Exploit the xxsplti32dx instruc... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c13e3e2c2e0c774917bcc7f4f50c29c8133d3a55 https://github.com/llvm/llvm-project/commit/c13e3e2c2e0c774917bcc7f4f50c29c8133d3a55 Author: Amy Kwan Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Target/PowerPC/PPCISelLowering.cpp M llvm/lib/Target/PowerPC/PPCISelLowering.h M llvm/lib/Target/PowerPC/PPCInstrPrefix.td A llvm/test/CodeGen/PowerPC/p10-splatImm32.ll Log Message: ----------- [PowerPC][Power10] Exploit the xxsplti32dx instruction when lowering VECTOR_SHUFFLE. This patch aims to exploit the xxsplti32dx XT, IX, IMM32 instruction when lowering VECTOR_SHUFFLEs. We implement lowerToXXSPLTI32DX when lowering vector shuffles to check if: - Element size is 4 bytes - The RHS is a constant vector (and constant splat of 4-bytes) - The shuffle mask is a suitable mask for the XXSPLTI32DX instruction where it is one of the 32 masks: <0, 4-7, 2, 4-7> <4-7, 1, 4-7, 3> Differential Revision: https://reviews.llvm.org/D83245 From all-commits at lists.llvm.org Mon Jul 6 18:31:23 2020 From: all-commits at lists.llvm.org (biplmish via All-commits) Date: Mon, 06 Jul 2020 18:31:23 -0700 Subject: [all-commits] [llvm/llvm-project] 0c6b6e: [PowerPC] Implement Vector Splat Immediate Builtin... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 0c6b6e28e70c06a3cb4704d2d8f90829a689e230 https://github.com/llvm/llvm-project/commit/0c6b6e28e70c06a3cb4704d2d8f90829a689e230 Author: Biplob Mishra Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/lib/Headers/altivec.h M clang/test/CodeGen/builtins-ppc-p10vector.c M llvm/test/CodeGen/PowerPC/p10-splatImm.ll Log Message: ----------- [PowerPC] Implement Vector Splat Immediate Builtins in Clang Implements builtins for the following prototypes: vector signed int vec_splati (const signed int); vector float vec_splati (const float); vector double vec_splatid (const float); vector signed int vec_splati_ins (vector signed int, const unsigned int, const signed int); vector unsigned int vec_splati_ins (vector unsigned int, const unsigned int, const unsigned int); vector float vec_splati_ins (vector float, const unsigned int, const float); Differential Revision: https://reviews.llvm.org/D82520 From all-commits at lists.llvm.org Mon Jul 6 19:00:05 2020 From: all-commits at lists.llvm.org (Mauricio Sifontes via All-commits) Date: Mon, 06 Jul 2020 19:00:05 -0700 Subject: [all-commits] [llvm/llvm-project] 28a45d: Create the framework and testing environment for M... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 28a45d54a7fe722248233165fc7fdbd18d18d233 https://github.com/llvm/llvm-project/commit/28a45d54a7fe722248233165fc7fdbd18d18d233 Author: Mauricio Sifontes Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: A mlir/include/mlir/Reducer/Tester.h M mlir/lib/CMakeLists.txt A mlir/lib/Reducer/CMakeLists.txt A mlir/lib/Reducer/Tester.cpp M mlir/test/CMakeLists.txt A mlir/test/mlir-reduce/test.bat A mlir/test/mlir-reduce/test.sh A mlir/test/mlir-reduce/testcase-linux.mlir A mlir/test/mlir-reduce/testcase-windows.mlir M mlir/tools/CMakeLists.txt A mlir/tools/mlir-reduce/CMakeLists.txt A mlir/tools/mlir-reduce/mlir-reduce.cpp Log Message: ----------- Create the framework and testing environment for MLIR Reduce - a tool with the objective to reduce large test cases into smaller ones while preserving their interesting behavior. Implement the framework to parse the command line arguments, parse the input MLIR test case into a module and call reduction passes on the MLIR module. Implement the Tester class which allows the different reduction passes to test the interesting behavior of the generated reduced variants of the test case and keep track of the most reduced generated variant. From all-commits at lists.llvm.org Mon Jul 6 19:06:20 2020 From: all-commits at lists.llvm.org (Mauricio Sifontes via All-commits) Date: Mon, 06 Jul 2020 19:06:20 -0700 Subject: [all-commits] [llvm/llvm-project] Message-ID: Branch: refs/heads/arcpatch-D82803_1 Home: https://github.com/llvm/llvm-project From all-commits at lists.llvm.org Mon Jul 6 19:14:34 2020 From: all-commits at lists.llvm.org (xiangzh1 via All-commits) Date: Mon, 06 Jul 2020 19:14:34 -0700 Subject: [all-commits] [llvm/llvm-project] 939d83: [X86-64] Support Intel AMX Intrinsic Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 939d8309dbd4ee6cf6e9ef3e8ea26df008b006b4 https://github.com/llvm/llvm-project/commit/939d8309dbd4ee6cf6e9ef3e8ea26df008b006b4 Author: Xiang1 Zhang Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang/docs/ClangCommandLineReference.rst M clang/include/clang/Basic/BuiltinsX86_64.def M clang/include/clang/Basic/DiagnosticSemaKinds.td M clang/include/clang/Driver/Options.td M clang/include/clang/Sema/Sema.h M clang/lib/Basic/Targets/X86.cpp M clang/lib/Basic/Targets/X86.h M clang/lib/Headers/CMakeLists.txt A clang/lib/Headers/amxintrin.h M clang/lib/Headers/cpuid.h M clang/lib/Headers/immintrin.h M clang/lib/Sema/SemaChecking.cpp A clang/test/CodeGen/AMX/amx.c A clang/test/CodeGen/AMX/amx_errors.c A clang/test/CodeGen/AMX/amx_inline_asm.c M clang/test/Driver/x86-target-features.c A clang/test/Preprocessor/x86_amx_target_features.c M llvm/include/llvm/IR/IntrinsicsX86.td M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp M llvm/lib/Target/X86/X86ISelLowering.cpp M llvm/lib/Target/X86/X86InstrAMX.td A llvm/test/CodeGen/X86/AMX/amx-bf16-intrinsics.ll A llvm/test/CodeGen/X86/AMX/amx-int8-intrinsics.ll A llvm/test/CodeGen/X86/AMX/amx-tile-intrinsics.ll Log Message: ----------- [X86-64] Support Intel AMX Intrinsic INTEL ADVANCED MATRIX EXTENSIONS (AMX). AMX is a new programming paradigm, it has a set of 2-dimensional registers (TILES) representing sub-arrays from a larger 2-dimensional memory image and operate on TILES. These intrinsics use direct TMM register number as its params. Spec can be found in Chapter 3 here https://software.intel.com/content/www/us/en/develop/download/intel-architecture-instruction-set-extensions-programming-reference.html Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D83111 From all-commits at lists.llvm.org Mon Jul 6 19:20:24 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?VmFsZW50aW4gQ2xlbWVudCAo44OQ44Os44Oz44K/44Kk44OzIOOCr+ODrA==?= =?UTF-8?B?44Oh44OzKQ==?= via All-commits) Date: Mon, 06 Jul 2020 19:20:24 -0700 Subject: [all-commits] [llvm/llvm-project] 65482e: [openmp] Move isAllowedClauseForDirective to table... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 65482e8a703d4bfe8b9fb5771e34755045d5a5d7 https://github.com/llvm/llvm-project/commit/65482e8a703d4bfe8b9fb5771e34755045d5a5d7 Author: Valentin Clement Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/include/llvm/Frontend/Directive/DirectiveBase.td M llvm/include/llvm/Frontend/OpenMP/OMP.td M llvm/include/llvm/Frontend/OpenMP/OMPConstants.h M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def M llvm/lib/Frontend/OpenMP/OMPConstants.cpp M llvm/test/TableGen/directive1.td M llvm/test/TableGen/directive2.td M llvm/utils/TableGen/DirectiveEmitter.cpp Log Message: ----------- [openmp] Move isAllowedClauseForDirective to tablegen + add clause version to OMP.td Summary: Generate the isAllowedClauseForDirective function from tablegen. This patch introduce the VersionedClause in the tablegen file so that clause can be encapsulated in this class to specify a range of validity on a directive. VersionedClause has default minVersion, maxVersion so it can be used without them or minVersion. Reviewers: jdoerfert, jdenny Reviewed By: jdenny Subscribers: yaxunl, hiraditya, guansong, jfb, sstefan1, aaron.ballman, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82982 From all-commits at lists.llvm.org Mon Jul 6 19:27:57 2020 From: all-commits at lists.llvm.org (llvmgnsyncbot via All-commits) Date: Mon, 06 Jul 2020 19:27:57 -0700 Subject: [all-commits] [llvm/llvm-project] fc67b2: [gn build] Port 939d8309dbd Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: fc67b25426c8767ab5941d376ab0f0628d62256e https://github.com/llvm/llvm-project/commit/fc67b25426c8767ab5941d376ab0f0628d62256e Author: LLVM GN Syncbot Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn Log Message: ----------- [gn build] Port 939d8309dbd From all-commits at lists.llvm.org Mon Jul 6 20:11:03 2020 From: all-commits at lists.llvm.org (Nemanja Ivanovic via All-commits) Date: Mon, 06 Jul 2020 20:11:03 -0700 Subject: [all-commits] [llvm/llvm-project] 1b1539: [PowerPC] Do not RAUW combined nodes in VECTOR_SHU... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1b1539712e1ee30c02ed20493682fc05d52391c0 https://github.com/llvm/llvm-project/commit/1b1539712e1ee30c02ed20493682fc05d52391c0 Author: Nemanja Ivanovic Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/lib/Target/PowerPC/PPCISelLowering.cpp M llvm/test/CodeGen/PowerPC/canonical-merge-shuffles.ll Log Message: ----------- [PowerPC] Do not RAUW combined nodes in VECTOR_SHUFFLE legalization When legalizing shuffles, we make an attempt to combine it into a PPC specific canonical form that avoids a need for a swap. If the combine is successful, we RAUW the node and the custom legalization replaces the now dead node instead of the one it should replace. Remove that erroneous call to RAUW. From all-commits at lists.llvm.org Mon Jul 6 21:05:05 2020 From: all-commits at lists.llvm.org (Sameer Arora via All-commits) Date: Mon, 06 Jul 2020 21:05:05 -0700 Subject: [all-commits] [llvm/llvm-project] 3b5db7: [llvm-install-name-tool] Merge install-name options Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 3b5db7fc69bb1efac6f017830af98f192a1f8ab4 https://github.com/llvm/llvm-project/commit/3b5db7fc69bb1efac6f017830af98f192a1f8ab4 Author: Sameer Arora Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/test/tools/llvm-objcopy/MachO/install-name-tool-add-rpath.test M llvm/tools/llvm-objcopy/CopyConfig.cpp M llvm/tools/llvm-objcopy/CopyConfig.h M llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp Log Message: ----------- [llvm-install-name-tool] Merge install-name options This diff merges all options for llvm-install-name-tool under a single function processLoadCommands. Also adds another test case for -add_rpath option. Test plan: make check-all Reviewed by: jhenderson, alexshap, smeenai, Ktwu Differential Revision: https://reviews.llvm.org/D82812 From all-commits at lists.llvm.org Mon Jul 6 21:40:43 2020 From: all-commits at lists.llvm.org (Martin Waitz via All-commits) Date: Mon, 06 Jul 2020 21:40:43 -0700 Subject: [all-commits] [llvm/llvm-project] 72df59: [mlir] resolve types from attributes in assemblyFo... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 72df59d59097a0c9ed5f420401cf377eaff896aa https://github.com/llvm/llvm-project/commit/72df59d59097a0c9ed5f420401cf377eaff896aa Author: Martin Waitz Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M mlir/docs/OpDefinitions.md M mlir/test/lib/Dialect/Test/TestOps.td M mlir/test/mlir-tblgen/op-format.mlir M mlir/tools/mlir-tblgen/OpFormatGen.cpp Log Message: ----------- [mlir] resolve types from attributes in assemblyFormat An operation can specify that an operation or result type matches the type of another operation, result, or attribute via the `AllTypesMatch` or `TypesMatchWith` constraints. Use these constraints to also automatically resolve types in the automatically generated assembly parser. This way, only the attribute needs to be listed in `assemblyFormat`, e.g. for constant operations. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D78434 From all-commits at lists.llvm.org Mon Jul 6 22:13:14 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Mon, 06 Jul 2020 22:13:14 -0700 Subject: [all-commits] [llvm/llvm-project] 7fb3a8: [X86] Remove duplicate SSE4A feature bit from X86T... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7fb3a849c13f302fadc8d16b28d5676964d886cf https://github.com/llvm/llvm-project/commit/7fb3a849c13f302fadc8d16b28d5676964d886cf Author: Craig Topper Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M llvm/include/llvm/Support/X86TargetParser.def M llvm/lib/Support/X86TargetParser.cpp Log Message: ----------- [X86] Remove duplicate SSE4A feature bit from X86TargetParser.def. NFC We had both SSE4A and SSE4_A. So remove one of them. From all-commits at lists.llvm.org Mon Jul 6 23:04:50 2020 From: all-commits at lists.llvm.org (max-azul via All-commits) Date: Mon, 06 Jul 2020 23:04:50 -0700 Subject: [all-commits] [llvm/llvm-project] 094e99: [Test] Add one more missing optimization opportuni... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 094e99d264c937cad33796b8c92fe123cb544c9e https://github.com/llvm/llvm-project/commit/094e99d264c937cad33796b8c92fe123cb544c9e Author: Max Kazantsev Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/test/Transforms/InstCombine/select.ll Log Message: ----------- [Test] Add one more missing optimization opportunity test From all-commits at lists.llvm.org Mon Jul 6 23:15:11 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Mon, 06 Jul 2020 23:15:11 -0700 Subject: [all-commits] [llvm/llvm-project] 16f3d6: [X86] Move the feature dependency handling in X86T... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 16f3d698f2afbbea43e0c3df81df6f2a640ce806 https://github.com/llvm/llvm-project/commit/16f3d698f2afbbea43e0c3df81df6f2a640ce806 Author: Craig Topper Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/lib/Basic/Targets/X86.cpp M clang/lib/Basic/Targets/X86.h M llvm/include/llvm/Support/X86TargetParser.def M llvm/include/llvm/Support/X86TargetParser.h M llvm/lib/Support/X86TargetParser.cpp Log Message: ----------- [X86] Move the feature dependency handling in X86TargetInfo::setFeatureEnabledImpl to a table based lookup in X86TargetParser.cpp Previously we had to specify the forward and backwards feature dependencies separately which was error prone. And as dependencies have gotten more complex it was hard to be sure the transitive dependencies were handled correctly. The way it was written was also not super readable. This patch replaces everything with a table that lists what features a feature is dependent on directly. Then we can recursively walk through the table to find the transitive dependencies. This is largely based on how we handle subtarget features in the MC layer from the tablegen descriptions. Differential Revision: https://reviews.llvm.org/D83273 From all-commits at lists.llvm.org Mon Jul 6 23:37:29 2020 From: all-commits at lists.llvm.org (Saiyedul Islam via All-commits) Date: Mon, 06 Jul 2020 23:37:29 -0700 Subject: [all-commits] [llvm/llvm-project] 0882c9: [AMDGPU] Change Clang AMDGCN atomic inc/dec builti... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 0882c9d4fc49858338c9655154f1ad8357a8e516 https://github.com/llvm/llvm-project/commit/0882c9d4fc49858338c9655154f1ad8357a8e516 Author: Saiyedul Islam Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang/include/clang/Basic/BuiltinsAMDGPU.def M clang/test/CodeGenCXX/builtin-amdgcn-atomic-inc-dec.cpp M clang/test/Sema/builtin-amdgcn-atomic-inc-dec-failure.cpp M clang/test/SemaOpenCL/builtins-amdgcn-error.cl Log Message: ----------- [AMDGPU] Change Clang AMDGCN atomic inc/dec builtins to take unsigned values builtin_amdgcn_atomic_inc32(uint *Ptr, uint Val, unsigned MemoryOrdering, const char *SyncScope) builtin_amdgcn_atomic_inc64(uint64_t *Ptr, uint64_t Val, unsigned MemoryOrdering, const char *SyncScope) builtin_amdgcn_atomic_dec32(uint *Ptr, uint Val, unsigned MemoryOrdering, const char *SyncScope) builtin_amdgcn_atomic_dec64(uint64_t *Ptr, uint64_t Val, unsigned MemoryOrdering, const char *SyncScope) As AMDGCN IR instrinsic for atomic inc/dec does unsigned comparison, these clang builtins should also take unsigned types instead of signed int types. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D83121 Commit: 38d6640ba55e52a4ae23059164660075c3d8e18a https://github.com/llvm/llvm-project/commit/38d6640ba55e52a4ae23059164660075c3d8e18a Author: Saiyedul Islam Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M openmp/libomptarget/deviceRTLs/amdgcn/src/hip_atomics.h M openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h Log Message: ----------- [libomptarget] Implement atomic inc and fence functions for AMDGCN using clang builtins This function uses __builtin_amdgcn_atomic_inc32(): uint32_t atomicInc(uint32_t *address, uint32_t max); These functions use __builtin_amdgcn_fence(): __kmpc_impl_threadfence() __kmpc_impl_threadfence_block() __kmpc_impl_threadfence_system() They will take place of current mechanism of directly calling IR functions. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D83132 Compare: https://github.com/llvm/llvm-project/compare/16f3d698f2af...38d6640ba55e From all-commits at lists.llvm.org Mon Jul 6 23:42:44 2020 From: all-commits at lists.llvm.org (Carl Ritson via All-commits) Date: Mon, 06 Jul 2020 23:42:44 -0700 Subject: [all-commits] [llvm/llvm-project] 560292: [AMDGPU] Update isFMAFasterThanFMulAndFAdd assumpt... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 560292fa990a2bfcf8415f07a166393beff667f6 https://github.com/llvm/llvm-project/commit/560292fa990a2bfcf8415f07a166393beff667f6 Author: Carl Ritson Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Target/AMDGPU/SIISelLowering.cpp Log Message: ----------- [AMDGPU] Update isFMAFasterThanFMulAndFAdd assumptions MAD/MAC is no longer always available. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D83207 From all-commits at lists.llvm.org Tue Jul 7 00:10:13 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Tue, 07 Jul 2020 00:10:13 -0700 Subject: [all-commits] [llvm/llvm-project] 3cbfe9: [X86] Merge X86TargetInfo::setFeatureEnabled and X... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 3cbfe988bc5cd366fb0f62e597f899b489c3834d https://github.com/llvm/llvm-project/commit/3cbfe988bc5cd366fb0f62e597f899b489c3834d Author: Craig Topper Date: 2020-07-06 (Mon, 06 Jul 2020) Changed paths: M clang/lib/Basic/Targets/X86.cpp M clang/lib/Basic/Targets/X86.h Log Message: ----------- [X86] Merge X86TargetInfo::setFeatureEnabled and X86TargetInfo::setFeatureEnabledImpl. NFC setFeatureEnabled is a virtual function. setFeatureEnabledImpl was its implementation. This split was to avoid virtual calls when we need to call setFeatureEnabled in initFeatureMap. With C++11 we can use 'final' on setFeatureEnabled to enable the compiler to perform de-virtualization for the initFeatureMap calls. From all-commits at lists.llvm.org Tue Jul 7 00:19:02 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Tue, 07 Jul 2020 00:19:02 -0700 Subject: [all-commits] [llvm/llvm-project] ef4cc7: [X86] Remove assert for missing features from X86:... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ef4cc70f3ed2a91e0a48c6448c517c3ba34c2846 https://github.com/llvm/llvm-project/commit/ef4cc70f3ed2a91e0a48c6448c517c3ba34c2846 Author: Craig Topper Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Support/X86TargetParser.cpp Log Message: ----------- [X86] Remove assert for missing features from X86::getImpliedFeatures This is failing on the bots. Remove while I try to figure out what feature I missed in the table. From all-commits at lists.llvm.org Tue Jul 7 00:57:40 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Tue, 07 Jul 2020 00:57:40 -0700 Subject: [all-commits] [llvm/llvm-project] 44ea81: [X86] Add 64bit and retpoline-external-thunk to li... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 44ea81acb696592281157656ea7d81ecb41ca161 https://github.com/llvm/llvm-project/commit/44ea81acb696592281157656ea7d81ecb41ca161 Author: Craig Topper Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/include/llvm/Support/X86TargetParser.def M llvm/lib/Support/X86TargetParser.cpp Log Message: ----------- [X86] Add 64bit and retpoline-external-thunk to list of featuers in X86TargetParser.def. '64bit' shows up from -march=native on 64-bit capable CPUs. 'retpoline-eternal-thunk' isn't a real feature but shows up when -mretpoline-external-thunk is passed to clang. From all-commits at lists.llvm.org Tue Jul 7 01:22:18 2020 From: all-commits at lists.llvm.org (david-arm via All-commits) Date: Tue, 07 Jul 2020 01:22:18 -0700 Subject: [all-commits] [llvm/llvm-project] c061e5: [CodeGen] Fix warnings in sve-vector-splat.ll and ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c061e56e880a20488e0f7e6cf9975aa24b83067c https://github.com/llvm/llvm-project/commit/c061e56e880a20488e0f7e6cf9975aa24b83067c Author: David Sherwood Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp M llvm/test/CodeGen/AArch64/sve-trunc.ll M llvm/test/CodeGen/AArch64/sve-vector-splat.ll Log Message: ----------- [CodeGen] Fix warnings in sve-vector-splat.ll and sve-trunc.ll This patch fixes all remaining warnings in: llvm/test/CodeGen/AArch64/sve-trunc.ll llvm/test/CodeGen/AArch64/sve-vector-splat.ll I hit some warnings related to getCopyPartsToVector. I fixed two issues: 1. In widenVectorToPartType() we assumed that we'd always be using BUILD_VECTOR nodes to expand from one vector type to another, which is incorrect for scalable vector types. I've fixed this for now by simply bailing out immediately for scalable vectors. 2. In getCopyToPartsVector() I've changed the code to compare the element counts of different types. Differential Revision: https://reviews.llvm.org/D83028 From all-commits at lists.llvm.org Tue Jul 7 01:32:38 2020 From: all-commits at lists.llvm.org (david-arm via All-commits) Date: Tue, 07 Jul 2020 01:32:38 -0700 Subject: [all-commits] [llvm/llvm-project] 79d34a: [SVE][CodeGen] Fix bug when falling back to DAG ISel Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 79d34a5a1bce39d8153be3665456e9cb0cc8601b https://github.com/llvm/llvm-project/commit/79d34a5a1bce39d8153be3665456e9cb0cc8601b Author: David Sherwood Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.h M llvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll Log Message: ----------- [SVE][CodeGen] Fix bug when falling back to DAG ISel In an earlier commit 584d0d5c1749c13625a5d322178ccb4121eea610 I added functionality to allow AArch64 CodeGen support for falling back to DAG ISel when Global ISel encounters scalable vector types. However, it seems that we were not falling back early enough as llvm::getLLTForType was still being invoked for scalable vector types. I've added a new fallback function to the call lowering class in order to catch this problem early enough, rather than wait for lowerFormalArguments to reject scalable vector types. Differential Revision: https://reviews.llvm.org/D82524 From all-commits at lists.llvm.org Tue Jul 7 01:39:29 2020 From: all-commits at lists.llvm.org (david-arm via All-commits) Date: Tue, 07 Jul 2020 01:39:29 -0700 Subject: [all-commits] [llvm/llvm-project] 9a1a7d: [SVE] Add more warnings checks to clang and LLVM S... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9a1a7d888b53ebe5a934a8193de37da86e276f1e https://github.com/llvm/llvm-project/commit/9a1a7d888b53ebe5a934a8193de37da86e276f1e Author: David Sherwood Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acge.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acgt.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acle.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_aclt.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpeq.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpge.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpgt.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmple.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmplt.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpne.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpuo.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dup.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dupq.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_index.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sb.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sh.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sw.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1ub.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1uh.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1uw.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1sb.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1sh.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1sw.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1ub.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1uh.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1uw.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1sb.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1sh.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1sw.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1ub.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1uh.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1uw.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pnext.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ptrue.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rev.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_setffr.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_unpkhi.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_unpklo.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_whilele.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_whilelt.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1.c M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2.c M llvm/test/CodeGen/AArch64/sve-callbyref-notailcall.ll M llvm/test/CodeGen/AArch64/sve-calling-convention-byref.ll M llvm/test/CodeGen/AArch64/sve-fcmp.ll M llvm/test/CodeGen/AArch64/sve-gather-scatter-dag-combine.ll M llvm/test/CodeGen/AArch64/sve-gep.ll M llvm/test/CodeGen/AArch64/sve-int-arith-imm.ll M llvm/test/CodeGen/AArch64/sve-intrinsics-ff-gather-loads-32bit-scaled-offsets.ll M llvm/test/CodeGen/AArch64/sve-intrinsics-ff-gather-loads-32bit-unscaled-offsets.ll M llvm/test/CodeGen/AArch64/sve-intrinsics-ff-gather-loads-64bit-scaled-offset.ll M llvm/test/CodeGen/AArch64/sve-intrinsics-ff-gather-loads-64bit-unscaled-offset.ll M llvm/test/CodeGen/AArch64/sve-intrinsics-ff-gather-loads-vector-base-imm-offset.ll M llvm/test/CodeGen/AArch64/sve-intrinsics-ff-gather-loads-vector-base-scalar-offset.ll M llvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-32bit-scaled-offsets.ll M llvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-32bit-unscaled-offsets.ll M llvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-64bit-scaled-offset.ll M llvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-64bit-unscaled-offset.ll M llvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-vector-base-imm-offset.ll M llvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-vector-base-scalar-offset.ll M llvm/test/CodeGen/AArch64/sve-intrinsics-int-arith-imm.ll M llvm/test/CodeGen/AArch64/sve-intrinsics-ld1-addressing-mode-reg-imm.ll M llvm/test/CodeGen/AArch64/sve-intrinsics-ld1-addressing-mode-reg-reg.ll M llvm/test/CodeGen/AArch64/sve-intrinsics-ld1.ll M llvm/test/CodeGen/AArch64/sve-intrinsics-ld1ro-addressing-mode-reg-reg.ll M llvm/test/CodeGen/AArch64/sve-intrinsics-loads-ff.ll M llvm/test/CodeGen/AArch64/sve-intrinsics-loads-nf.ll Log Message: ----------- [SVE] Add more warnings checks to clang and LLVM SVE tests There are now more SVE tests in LLVM and Clang that do not emit warnings related to invalid use of EVT::getVectorNumElements() and VectorType::getNumElements(). For these tests I have added additional checks that there are no warnings in order to prevent any future regressions. Differential Revision: https://reviews.llvm.org/D82943 From all-commits at lists.llvm.org Tue Jul 7 01:42:16 2020 From: all-commits at lists.llvm.org (River Riddle via All-commits) Date: Tue, 07 Jul 2020 01:42:16 -0700 Subject: [all-commits] [llvm/llvm-project] 9db53a: [mlir][NFC] Remove usernames and google bug number... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9db53a182705ac1f652c6ee375735bea5539272c https://github.com/llvm/llvm-project/commit/9db53a182705ac1f652c6ee375735bea5539272c Author: River Riddle Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M mlir/docs/LangRef.md M mlir/docs/OpDefinitions.md M mlir/docs/Quantization.md M mlir/docs/Rationale/Rationale.md M mlir/include/mlir-c/Core.h M mlir/include/mlir/Analysis/AffineAnalysis.h M mlir/include/mlir/Analysis/AffineStructures.h M mlir/include/mlir/Analysis/LoopAnalysis.h M mlir/include/mlir/Analysis/NestedMatcher.h M mlir/include/mlir/Analysis/Utils.h M mlir/include/mlir/Dialect/AVX512/AVX512.td M mlir/include/mlir/Dialect/Affine/IR/AffineOps.h M mlir/include/mlir/Dialect/GPU/GPUBase.td M mlir/include/mlir/Dialect/GPU/GPUOps.td M mlir/include/mlir/Dialect/GPU/ParallelLoopMapper.h M mlir/include/mlir/Dialect/Linalg/EDSC/Builders.h M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td M mlir/include/mlir/Dialect/Linalg/IR/LinalgTraits.h M mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td M mlir/include/mlir/Dialect/SPIRV/SPIRVLowering.h M mlir/include/mlir/Dialect/SPIRV/SPIRVMatrixOps.td M mlir/include/mlir/Dialect/SPIRV/SPIRVStructureOps.td M mlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h M mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td M mlir/include/mlir/Dialect/StandardOps/EDSC/Builders.h M mlir/include/mlir/Dialect/StandardOps/IR/Ops.h M mlir/include/mlir/Dialect/Vector/VectorOps.td M mlir/include/mlir/Dialect/Vector/VectorTransforms.h M mlir/include/mlir/Dialect/Vector/VectorUtils.h M mlir/include/mlir/IR/Attributes.h M mlir/include/mlir/IR/Diagnostics.h M mlir/include/mlir/IR/OpBase.td M mlir/include/mlir/IR/StandardTypes.h M mlir/include/mlir/Parser.h M mlir/include/mlir/Pass/PassOptions.h M mlir/include/mlir/TableGen/Operator.h M mlir/include/mlir/TableGen/Pattern.h M mlir/include/mlir/Transforms/DialectConversion.h M mlir/include/mlir/Transforms/LoopFusionUtils.h M mlir/include/mlir/Transforms/Utils.h M mlir/lib/Analysis/AffineAnalysis.cpp M mlir/lib/Analysis/AffineStructures.cpp M mlir/lib/Analysis/LoopAnalysis.cpp M mlir/lib/Analysis/NestedMatcher.cpp M mlir/lib/Analysis/Utils.cpp M mlir/lib/Conversion/AVX512ToLLVM/ConvertAVX512ToLLVM.cpp M mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp M mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp M mlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp M mlir/lib/Conversion/LinalgToSPIRV/LinalgToSPIRV.cpp M mlir/lib/Conversion/LinalgToStandard/LinalgToStandard.cpp M mlir/lib/Conversion/SCFToGPU/SCFToGPU.cpp M mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp M mlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRV.cpp M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp M mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp M mlir/lib/Dialect/Affine/IR/AffineOps.cpp M mlir/lib/Dialect/Affine/IR/AffineValueMap.cpp M mlir/lib/Dialect/Affine/Transforms/AffineDataCopyGeneration.cpp M mlir/lib/Dialect/Affine/Transforms/AffineLoopInvariantCodeMotion.cpp M mlir/lib/Dialect/Affine/Transforms/LoopTiling.cpp M mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp M mlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp M mlir/lib/Dialect/GPU/Transforms/ParallelLoopMapper.cpp M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp M mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp M mlir/lib/Dialect/LLVMIR/IR/ROCDLDialect.cpp M mlir/lib/Dialect/Linalg/Analysis/DependenceAnalysis.cpp M mlir/lib/Dialect/Linalg/EDSC/Builders.cpp M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp M mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp M mlir/lib/Dialect/Linalg/Transforms/Loops.cpp M mlir/lib/Dialect/Linalg/Transforms/Promotion.cpp M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp M mlir/lib/Dialect/Linalg/Utils/Utils.cpp M mlir/lib/Dialect/Quant/Utils/FakeQuantSupport.cpp M mlir/lib/Dialect/Quant/Utils/QuantizeUtils.cpp M mlir/lib/Dialect/Quant/Utils/UniformSupport.cpp M mlir/lib/Dialect/SDBM/SDBM.cpp M mlir/lib/Dialect/SDBM/SDBMExpr.cpp M mlir/lib/Dialect/SPIRV/SPIRVDialect.cpp M mlir/lib/Dialect/SPIRV/SPIRVLowering.cpp M mlir/lib/Dialect/SPIRV/SPIRVOps.cpp M mlir/lib/Dialect/SPIRV/SPIRVTypes.cpp M mlir/lib/Dialect/SPIRV/Serialization/Deserializer.cpp M mlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp M mlir/lib/Dialect/SPIRV/Transforms/LowerABIAttributesPass.cpp M mlir/lib/Dialect/SPIRV/Transforms/UpdateVCEPass.cpp M mlir/lib/Dialect/StandardOps/IR/Ops.cpp M mlir/lib/Dialect/Vector/VectorOps.cpp M mlir/lib/Dialect/Vector/VectorTransforms.cpp M mlir/lib/Dialect/Vector/VectorUtils.cpp M mlir/lib/ExecutionEngine/ExecutionEngine.cpp M mlir/lib/IR/AffineExpr.cpp M mlir/lib/IR/AffineMap.cpp M mlir/lib/IR/AsmPrinter.cpp M mlir/lib/IR/AttributeDetail.h M mlir/lib/IR/Operation.cpp M mlir/lib/IR/StandardTypes.cpp M mlir/lib/IR/Visitors.cpp M mlir/lib/Parser/AttributeParser.cpp M mlir/lib/Parser/DialectSymbolParser.cpp M mlir/lib/Parser/Parser.cpp M mlir/lib/Pass/PassRegistry.cpp M mlir/lib/TableGen/OpClass.cpp M mlir/lib/TableGen/Predicate.cpp M mlir/lib/Target/LLVMIR/DebugTranslation.cpp M mlir/lib/Target/LLVMIR/DebugTranslation.h M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp M mlir/lib/Transforms/CSE.cpp M mlir/lib/Transforms/DialectConversion.cpp M mlir/lib/Transforms/Inliner.cpp M mlir/lib/Transforms/LoopFusion.cpp M mlir/lib/Transforms/MemRefDataFlowOpt.cpp M mlir/lib/Transforms/PipelineDataTransfer.cpp M mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp M mlir/lib/Transforms/Utils/LoopFusionUtils.cpp M mlir/lib/Transforms/Utils/LoopUtils.cpp M mlir/lib/Transforms/Utils/Utils.cpp M mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir M mlir/test/Conversion/GPUToSPIRV/if.mlir M mlir/test/Dialect/Linalg/roundtrip.mlir M mlir/test/Dialect/SPIRV/Serialization/constant.mlir M mlir/test/Dialect/SPIRV/canonicalize.mlir M mlir/test/Dialect/SPIRV/structure-ops.mlir M mlir/test/Dialect/SPIRV/types.mlir M mlir/test/Dialect/Vector/vector-flat-transforms.mlir M mlir/test/Dialect/Vector/vector-transforms.mlir M mlir/test/IR/invalid-affinemap.mlir M mlir/test/IR/invalid.mlir M mlir/test/Transforms/loop-fusion.mlir M mlir/test/Transforms/memref-dependence-check.mlir M mlir/test/lib/DeclarativeTransforms/TestVectorTransformPatterns.td M mlir/test/lib/Dialect/Test/TestPatterns.cpp M mlir/test/lib/Transforms/TestInlining.cpp M mlir/test/lib/Transforms/TestMemRefBoundCheck.cpp M mlir/test/lib/Transforms/TestMemRefDependenceCheck.cpp M mlir/tools/mlir-rocm-runner/mlir-rocm-runner.cpp M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp M mlir/tools/mlir-tblgen/OpDocGen.cpp M mlir/tools/mlir-tblgen/OpFormatGen.cpp M mlir/tools/mlir-tblgen/RewriterGen.cpp M mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp M mlir/tools/mlir-vulkan-runner/VulkanRuntime.cpp M mlir/unittests/Dialect/SPIRV/DeserializationTest.cpp M mlir/utils/spirv/gen_spirv_dialect.py Log Message: ----------- [mlir][NFC] Remove usernames and google bug numbers from TODO comments. These were largely leftover from when MLIR was a google project, and don't really follow LLVM guidelines. From all-commits at lists.llvm.org Tue Jul 7 01:57:41 2020 From: all-commits at lists.llvm.org (Kiran Kumar T P via All-commits) Date: Tue, 07 Jul 2020 01:57:41 -0700 Subject: [all-commits] [llvm/llvm-project] cd5031: [flang][OpenMP] Enhance parser support for flush c... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: cd503166fb74baf91c55f5f959ed9cd016cbd9f7 https://github.com/llvm/llvm-project/commit/cd503166fb74baf91c55f5f959ed9cd016cbd9f7 Author: Kiran Kumar T P Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M flang/include/flang/Parser/dump-parse-tree.h M flang/include/flang/Parser/parse-tree.h M flang/lib/Parser/openmp-parsers.cpp M flang/lib/Parser/unparse.cpp M flang/test/Semantics/omp-clause-validity01.f90 Log Message: ----------- [flang][OpenMP] Enhance parser support for flush construct to OpenMP 5.0 Summary: This patch enhances parser support for flush construct to OpenMP 5.0 by including memory-order-clause. 2.18.8 flush Construct !$omp flush [memory-order-clause] [(list)] where memory-order-clause is acq_rel release acquire The patch includes code changes and testcase modifications. Reviewed By: klausler, kiranchandramohan Differential Revision: https://reviews.llvm.org/D82177 From all-commits at lists.llvm.org Tue Jul 7 02:07:38 2020 From: all-commits at lists.llvm.org (Georgii Rymar via All-commits) Date: Tue, 07 Jul 2020 02:07:38 -0700 Subject: [all-commits] [llvm/llvm-project] d5cbf7: [llvm-readobj] - Fix a crash scenario in GNUStyle<... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: d5cbf7ba32527dba53fa673ff7fd7f7fbb0b82fc https://github.com/llvm/llvm-project/commit/d5cbf7ba32527dba53fa673ff7fd7f7fbb0b82fc Author: Georgii Rymar Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/test/tools/llvm-readobj/ELF/hash-symbols.test M llvm/tools/llvm-readobj/ELFDumper.cpp Log Message: ----------- [llvm-readobj] - Fix a crash scenario in GNUStyle::printHashSymbols(). We might crash when the dynamic symbols table is empty (or not found) and --hash-symbols is requested. Both .hash and .gnu.hash logic is affected. The patch fixes this issue. Differential revision: https://reviews.llvm.org/D83037 From all-commits at lists.llvm.org Tue Jul 7 02:40:33 2020 From: all-commits at lists.llvm.org (Pavel Labath via All-commits) Date: Tue, 07 Jul 2020 02:40:33 -0700 Subject: [all-commits] [llvm/llvm-project] 2cdf10: [lldb/DWARF] Add a utility function for (forceful)... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 2cdf108d329bda280948ad634aa0a070337a5f88 https://github.com/llvm/llvm-project/commit/2cdf108d329bda280948ad634aa0a070337a5f88 Author: Pavel Labath Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h Log Message: ----------- [lldb/DWARF] Add a utility function for (forceful) completion of types Summary: Unify the code for requiring a complete type and move it into a single place. The only functional change is that the "cannot start a definition of an incomplete type" is upgrated from a runtime error/warning to an lldbassert. An plain assert might also be fine, since (AFAICT) this can only happen in case of a programmer error. Reviewers: teemperor, aprantl, shafik Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D83199 From all-commits at lists.llvm.org Tue Jul 7 02:54:36 2020 From: all-commits at lists.llvm.org (Guillaume Chatelet via All-commits) Date: Tue, 07 Jul 2020 02:54:36 -0700 Subject: [all-commits] [llvm/llvm-project] 74c723: [NFC] Adding the align attribute on Atomic{CmpXchg... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 74c723757e69fbe7d85e42527d07b728113699ae https://github.com/llvm/llvm-project/commit/74c723757e69fbe7d85e42527d07b728113699ae Author: Guillaume Chatelet Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/include/llvm/IR/IRBuilder.h M llvm/include/llvm/IR/Instructions.h M llvm/lib/AsmParser/LLParser.cpp M llvm/lib/Bitcode/Reader/BitcodeReader.cpp M llvm/lib/IR/Instructions.cpp M llvm/unittests/Analysis/AliasAnalysisTest.cpp Log Message: ----------- [NFC] Adding the align attribute on Atomic{CmpXchg|RMW}Inst This is the first step to add support for the align attribute to AtomicRMWInst and AtomicCmpXchgInst. Next step is to add support in IRBuilder and BitcodeReader. Bug: https://bugs.llvm.org/show_bug.cgi?id=27168 Differential Revision: https://reviews.llvm.org/D83136 From all-commits at lists.llvm.org Tue Jul 7 03:00:50 2020 From: all-commits at lists.llvm.org (r4nt via All-commits) Date: Tue, 07 Jul 2020 03:00:50 -0700 Subject: [all-commits] [llvm/llvm-project] 8c2a61: Hand Allocator and IdentifierTable into FormatToke... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 8c2a613976075368a1f6e3ac3c9c8b1927b465ec https://github.com/llvm/llvm-project/commit/8c2a613976075368a1f6e3ac3c9c8b1927b465ec Author: Manuel Klimek Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang/lib/Format/FormatTokenLexer.cpp M clang/lib/Format/FormatTokenLexer.h M clang/lib/Format/TokenAnalyzer.cpp Log Message: ----------- Hand Allocator and IdentifierTable into FormatTokenLexer. This allows us to share the allocator in the future so we can create tokens while parsing. Differential Revision: https://reviews.llvm.org/D83218 From all-commits at lists.llvm.org Tue Jul 7 03:24:21 2020 From: all-commits at lists.llvm.org (kmclaughlin-arm via All-commits) Date: Tue, 07 Jul 2020 03:24:21 -0700 Subject: [all-commits] [llvm/llvm-project] 5e8084: [SVE][CodeGen] Legalisation of unpredicated load i... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 5e8084beba20f27ce14536168087e5c6971e292d https://github.com/llvm/llvm-project/commit/5e8084beba20f27ce14536168087e5c6971e292d Author: Kerry McLaughlin Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/include/llvm/CodeGen/SelectionDAG.h M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp A llvm/test/CodeGen/AArch64/sve-split-load.ll Log Message: ----------- [SVE][CodeGen] Legalisation of unpredicated load instructions Summary: When splitting a load of a scalable type, the new address is calculated in SplitVecRes_LOAD using a vscale and an add instruction. This patch also adds a DAG combiner fold to visitADD for vscale: - Fold (add (vscale(C0)), (vscale(C1))) to (add (vscale(C0 + C1))) Reviewers: sdesmalen, efriedma, david-arm Reviewed By: david-arm Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82792 From all-commits at lists.llvm.org Tue Jul 7 03:31:11 2020 From: all-commits at lists.llvm.org (Georgii Rymar via All-commits) Date: Tue, 07 Jul 2020 03:31:11 -0700 Subject: [all-commits] [llvm/llvm-project] 2d9bd4: [llvm-readobj] - Allow dumping partially corrupted... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 2d9bd448c9f051de088b53592f89871e9b390fba https://github.com/llvm/llvm-project/commit/2d9bd448c9f051de088b53592f89871e9b390fba Author: Georgii Rymar Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/test/tools/llvm-readobj/ELF/call-graph-profile.test M llvm/tools/llvm-readobj/ELFDumper.cpp Log Message: ----------- [llvm-readobj] - Allow dumping partially corrupted SHT_LLVM_CALL_GRAPH_PROFILE sections. The code we have currently reports an error if something is not right with the profile section. Instead we can report a warning and continue dumping when it is possible. This patch does it. Differential revision: https://reviews.llvm.org/D83129 From all-commits at lists.llvm.org Tue Jul 7 03:41:13 2020 From: all-commits at lists.llvm.org (Georgii Rymar via All-commits) Date: Tue, 07 Jul 2020 03:41:13 -0700 Subject: [all-commits] [llvm/llvm-project] 2953ac: [llvm-readobj] - Refactor ELFDumper::getStat... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 2953ac0975bc7e5dbe61fbd6538f02487efa62d2 https://github.com/llvm/llvm-project/commit/2953ac0975bc7e5dbe61fbd6538f02487efa62d2 Author: Georgii Rymar Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/test/tools/llvm-readobj/ELF/addrsig.test M llvm/tools/llvm-readobj/ELFDumper.cpp Log Message: ----------- [llvm-readobj] - Refactor ELFDumper::getStaticSymbolName. This is a followup for D83129. It is possible to make `getStaticSymbolName` report warnings inside and return the "" on a error. This allows to encapsulate errors handling and slightly simplifies the logic in callers code. Differential revision: https://reviews.llvm.org/D83208 From all-commits at lists.llvm.org Tue Jul 7 04:01:14 2020 From: all-commits at lists.llvm.org (kmclaughlin-arm via All-commits) Date: Tue, 07 Jul 2020 04:01:14 -0700 Subject: [all-commits] [llvm/llvm-project] cdf2ee: [SVE][CodeGen] Legalisation of unpredicated store ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: cdf2eef613f7d6949e2929b316925c3553a8e3d0 https://github.com/llvm/llvm-project/commit/cdf2eef613f7d6949e2929b316925c3553a8e3d0 Author: Kerry McLaughlin Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp A llvm/test/CodeGen/AArch64/sve-split-store.ll Log Message: ----------- [SVE][CodeGen] Legalisation of unpredicated store instructions Summary: When splitting a store of a scalable type, the new address is calculated in SplitVecOp_STORE using a vscale and an add instruction. Reviewers: sdesmalen, efriedma, david-arm Reviewed By: david-arm Subscribers: tschuett, hiraditya, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83041 From all-commits at lists.llvm.org Tue Jul 7 04:02:02 2020 From: all-commits at lists.llvm.org (Georgii Rymar via All-commits) Date: Tue, 07 Jul 2020 04:02:02 -0700 Subject: [all-commits] [llvm/llvm-project] 8f0f7d: [llvm-readobj] - Split the printHashSymbols. NFCI. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 8f0f7dbcea34e2e89fb0946067af3488c20c4532 https://github.com/llvm/llvm-project/commit/8f0f7dbcea34e2e89fb0946067af3488c20c4532 Author: Georgii Rymar Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/tools/llvm-readobj/ELFDumper.cpp Log Message: ----------- [llvm-readobj] - Split the printHashSymbols. NFCI. This introduces `printHashTableSymbols` and `printGNUHashTableSymbols` to split the `printHashSymbols`. It makes the code more readable and consistent. Differential revision: https://reviews.llvm.org/D83040 From all-commits at lists.llvm.org Tue Jul 7 04:12:55 2020 From: all-commits at lists.llvm.org (Georgii Rymar via All-commits) Date: Tue, 07 Jul 2020 04:12:55 -0700 Subject: [all-commits] [llvm/llvm-project] 0d656c: [llvm-readobj] - Refine the error reporting in LLV... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 0d656cb25dc760cdfe0adfdd7256651b7bd0bcab https://github.com/llvm/llvm-project/commit/0d656cb25dc760cdfe0adfdd7256651b7bd0bcab Author: Georgii Rymar Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/test/tools/llvm-readobj/ELF/linker-options.test M llvm/tools/llvm-readobj/ELFDumper.cpp Log Message: ----------- [llvm-readobj] - Refine the error reporting in LLVMStyle::printELFLinkerOptions. It is possible to: 1) Avoid using the `unwrapOrError` calls and hence allow to continue dumping even when something is not OK with one of SHT_LLVM_LINKER_OPTIONS sections. 2) replace `reportWarning` with `reportUniqueWarning` calls. In this method it is no-op, because it is not possible to have a duplicated warnings anyways, but since we probably want to switch to `reportUniqueWarning` globally, this is a good thing to do. This patch addresses both these points. Differential revision: https://reviews.llvm.org/D83131 From all-commits at lists.llvm.org Tue Jul 7 04:37:17 2020 From: all-commits at lists.llvm.org (Haojian Wu via All-commits) Date: Tue, 07 Jul 2020 04:37:17 -0700 Subject: [all-commits] [llvm/llvm-project] 3b1e3d: [clang-tidy] Fix an unused-raii check crash on obj... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 3b1e3d22735b37eea3ce52d655009f5cd4ad2262 https://github.com/llvm/llvm-project/commit/3b1e3d22735b37eea3ce52d655009f5cd4ad2262 Author: Haojian Wu Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang-tools-extra/clang-tidy/bugprone/UnusedRaiiCheck.cpp A clang-tools-extra/test/clang-tidy/checkers/bugprone-unused-raii-crash.mm Log Message: ----------- [clang-tidy] Fix an unused-raii check crash on objective-c++. Differential Revision: https://reviews.llvm.org/D83293 From all-commits at lists.llvm.org Tue Jul 7 04:46:46 2020 From: all-commits at lists.llvm.org (Georgii Rymar via All-commits) Date: Tue, 07 Jul 2020 04:46:46 -0700 Subject: [all-commits] [llvm/llvm-project] a25619: [llvm-readobj] - Add prepending # to mips-got.test... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a256193afa4869ae749eaeec7548244772843da3 https://github.com/llvm/llvm-project/commit/a256193afa4869ae749eaeec7548244772843da3 Author: Georgii Rymar Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/test/tools/llvm-readobj/ELF/mips-got.test M llvm/test/tools/llvm-readobj/ELF/mips-plt.test Log Message: ----------- [llvm-readobj] - Add prepending # to mips-got.test and mips-plt.test. NFC. It was requested in D83225 review to do it separately. From all-commits at lists.llvm.org Tue Jul 7 04:54:47 2020 From: all-commits at lists.llvm.org (Raphael Isemann via All-commits) Date: Tue, 07 Jul 2020 04:54:47 -0700 Subject: [all-commits] [llvm/llvm-project] de0175: [lldb] Make TestIOHandlerResizeNoEditline pass wit... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: de0175d04bc3679c7bd8dc64520e790bf38f30b0 https://github.com/llvm/llvm-project/commit/de0175d04bc3679c7bd8dc64520e790bf38f30b0 Author: Raphael Isemann Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M lldb/test/API/iohandler/resize/TestIOHandlerResizeNoEditline.py A lldb/test/API/iohandler/resize/input_file Log Message: ----------- [lldb] Make TestIOHandlerResizeNoEditline pass with Python 2 io.BytesIO seems to produce a stream in Python 2 which isn't recognized as a file object in the SWIG API, so this test fails for Python 2 (and I assume also an old SWIG version needs to be involved). Instead just open an empty input file which is a file object in all Python versions to make this test pass everywhere. From all-commits at lists.llvm.org Tue Jul 7 05:05:31 2020 From: all-commits at lists.llvm.org (azaks via All-commits) Date: Tue, 07 Jul 2020 05:05:31 -0700 Subject: [all-commits] [llvm/llvm-project] 7bf299: [LV] Vectorize without versioning-for-unit-stride ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7bf299c8d8d59304fb821f8811618cdeb1d1f1fd https://github.com/llvm/llvm-project/commit/7bf299c8d8d59304fb821f8811618cdeb1d1f1fd Author: Ayal Zaks Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Analysis/LoopAccessAnalysis.cpp M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp M llvm/test/Transforms/LoopVectorize/X86/optsize.ll M llvm/test/Transforms/LoopVectorize/X86/tail_loop_folding.ll M llvm/test/Transforms/LoopVectorize/optsize.ll M llvm/test/Transforms/LoopVectorize/pr39417-optsize-scevchecks.ll M llvm/test/Transforms/LoopVectorize/runtime-check.ll Log Message: ----------- [LV] Vectorize without versioning-for-unit-stride under -Os/-Oz If a loop is in a function marked OptSize, Loop Access Analysis should refrain from generating runtime checks for unit strides that will version the loop. If a loop is in a function marked OptSize and its vectorization is enabled, it should be vectorized w/o any versioning. Fixes PR46228. Differential Revision: https://reviews.llvm.org/D81345 From all-commits at lists.llvm.org Tue Jul 7 05:33:00 2020 From: all-commits at lists.llvm.org (Lei Zhang via All-commits) Date: Tue, 07 Jul 2020 05:33:00 -0700 Subject: [all-commits] [llvm/llvm-project] b80508: [mlir][spirv] Introduce OwningSPIRVModuleRef for o... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b80508703fd7f88a7922c9c8f02c696be1db8034 https://github.com/llvm/llvm-project/commit/b80508703fd7f88a7922c9c8f02c696be1db8034 Author: Lei Zhang Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: A mlir/include/mlir/Dialect/SPIRV/SPIRVModule.h M mlir/include/mlir/Dialect/SPIRV/Serialization.h M mlir/include/mlir/IR/Module.h A mlir/include/mlir/IR/OwningOpRefBase.h M mlir/lib/Dialect/SPIRV/Serialization/Deserializer.cpp M mlir/lib/Dialect/SPIRV/Serialization/TranslateRegistration.cpp M mlir/unittests/Dialect/SPIRV/DeserializationTest.cpp Log Message: ----------- [mlir][spirv] Introduce OwningSPIRVModuleRef for ownership Similar to OwningModuleRef, OwningSPIRVModuleRef signals ownership transfer clearly. This is useful for APIs like spirv::deserialize, where a spirv::ModuleOp is returned by deserializing SPIR-V binary module. This addresses the ASAN error as reported in https://bugs.llvm.org/show_bug.cgi?id=46272 Differential Revision: https://reviews.llvm.org/D81652 From all-commits at lists.llvm.org Tue Jul 7 05:42:55 2020 From: all-commits at lists.llvm.org (Benjamin Kramer via All-commits) Date: Tue, 07 Jul 2020 05:42:55 -0700 Subject: [all-commits] [llvm/llvm-project] cca4ac: [mlir][VectorOps] Lower vector.outerproduct of int... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: cca4ac523e183b33be3d4c7da68d45b697a081bd https://github.com/llvm/llvm-project/commit/cca4ac523e183b33be3d4c7da68d45b697a081bd Author: Benjamin Kramer Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M mlir/lib/Dialect/Vector/VectorTransforms.cpp M mlir/test/Dialect/Vector/vector-contract-transforms.mlir Log Message: ----------- [mlir][VectorOps] Lower vector.outerproduct of int vectors vector.fma and mulf don't work on integers. Use a muli/addi pair or plain muli instead. Differential Revision: https://reviews.llvm.org/D83292 From all-commits at lists.llvm.org Tue Jul 7 05:54:11 2020 From: all-commits at lists.llvm.org (Sam McCall via All-commits) Date: Tue, 07 Jul 2020 05:54:11 -0700 Subject: [all-commits] [llvm/llvm-project] 9b55bc: [clangd] Store index in '.cache/clangd/index' inst... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9b55bc4d1197aedd76b0f4e04270265cb74cd0b8 https://github.com/llvm/llvm-project/commit/9b55bc4d1197aedd76b0f4e04270265cb74cd0b8 Author: Sam McCall Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M .gitignore M clang-tools-extra/clangd/index/Background.h M clang-tools-extra/clangd/index/BackgroundIndexStorage.cpp M clang-tools-extra/clangd/test/background-index.test M llvm/.gitignore Log Message: ----------- [clangd] Store index in '.cache/clangd/index' instead of '.clangd/index' Summary: .clangd/index was well-intentioned in 2754942cbaef, but `.clangd` is the best filename for the clangd config file (matching .clang-format and .clang-tidy). And of course we can't have both .clangd/index and .clangd... There are a few overlapping goals to satisfy: - it should be clear from the directory name that this is transient data that is safe to delete at the cost of recomputation, i.e. a cache - it should be easy and self-documenting to blacklist these files in .gitignore - we should have some consistency between filenames in-tree and corresponding files in user storage (e.g. under XDG's ~/.cache/) - we should be consistent across platforms (including windows, which doesn't have distinct cache vs config directories) So the plan is: $PROJECT/.clangd (project config) $PROJECT/.cache/clangd/index/ (project index) $PROJECT/.cache/clangd/modules/ (maybe in future) $XDG_CONFIG_HOME/clangd/config.yaml (user config) $XDG_CACHE_HOME/clangd/index/ (index of non-project files) $XDG_CACHE_HOME/clangd/modules/ (maybe in future) This is sensible if XDG_{CONFIG,CACHE}_HOME coincide, and has a simple .gitignore rule going forward: `.cache/`. The monorepo gitignore is updated to reflect the backwards-compatible practice: ignore .clangd/ (with trailing slash) matching index files from clangd 9/10 ignore .cache matching index from clangd 11+, and potentially other tools. The entries from llvm-project/llvm gitignore are removed (obsolete). Reviewers: kadircet, hokein Subscribers: ilya-biryukov, MaskRay, jkorous, omtcyfz, arphaman, usaxena95, cfe-commits, llvm-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D83099 From all-commits at lists.llvm.org Tue Jul 7 06:15:17 2020 From: all-commits at lists.llvm.org (Georgii Rymar via All-commits) Date: Tue, 07 Jul 2020 06:15:17 -0700 Subject: [all-commits] [llvm/llvm-project] 4a3c3d: [llvm-readobj] - Don't abort when dumping dynamic ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4a3c3d741a1711e0da618e4fdaee0b74dd2d6ace https://github.com/llvm/llvm-project/commit/4a3c3d741a1711e0da618e4fdaee0b74dd2d6ace Author: Georgii Rymar Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/test/tools/llvm-readobj/ELF/broken-dynamic-reloc.test M llvm/tools/llvm-readobj/ELFDumper.cpp Log Message: ----------- [llvm-readobj] - Don't abort when dumping dynamic relocations when an object has both REL and RELA. Currently, llvm-readobj calls `report_fatal_error` when an object has both REL and RELA dynamic relocations. llvm-readelf is able to handle this case properly. This patch adds such a test case and adjusts the llvm-readobj code to follow (and be consistent with its own RELR and PLTREL cases). Differential revision: https://reviews.llvm.org/D83232 From all-commits at lists.llvm.org Tue Jul 7 06:23:00 2020 From: all-commits at lists.llvm.org (Georgii Rymar via All-commits) Date: Tue, 07 Jul 2020 06:23:00 -0700 Subject: [all-commits] [llvm/llvm-project] f7522a: [llvm-readobj] - Fix indentation in broken-dynamic... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f7522a5823d66303edfd8d872232dd6b07190f42 https://github.com/llvm/llvm-project/commit/f7522a5823d66303edfd8d872232dd6b07190f42 Author: Georgii Rymar Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/test/tools/llvm-readobj/ELF/broken-dynamic-reloc.test Log Message: ----------- [llvm-readobj] - Fix indentation in broken-dynamic-reloc.test. NFC. Fix a broken indentation introduced my myself in rG4a3c3d741a17. From all-commits at lists.llvm.org Tue Jul 7 06:31:36 2020 From: all-commits at lists.llvm.org (Nathan James via All-commits) Date: Tue, 07 Jul 2020 06:31:36 -0700 Subject: [all-commits] [llvm/llvm-project] 41bbb8: [NFC] Use hasAnyName matcher in place of anyOf(has... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 41bbb875e4da392ae37300d3a6282b6595f14503 https://github.com/llvm/llvm-project/commit/41bbb875e4da392ae37300d3a6282b6595f14503 Author: Nathan James Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang-tools-extra/clang-move/Move.cpp M clang-tools-extra/clang-tidy/bugprone/MisplacedOperatorInStrlenInAllocCheck.cpp M clang-tools-extra/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.cpp M clang-tools-extra/clang-tidy/bugprone/SpuriouslyWakeUpFunctionsCheck.cpp M clang-tools-extra/clang-tidy/cert/CommandProcessorCheck.cpp M clang-tools-extra/clang-tidy/cert/DontModifyStdNamespaceCheck.cpp M clang-tools-extra/clang-tidy/llvm/PreferIsaOrDynCastInConditionalsCheck.cpp M clang-tools-extra/clang-tidy/modernize/AvoidBindCheck.cpp M clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp M clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp Log Message: ----------- [NFC] Use hasAnyName matcher in place of anyOf(hasName()...) From all-commits at lists.llvm.org Tue Jul 7 06:44:33 2020 From: all-commits at lists.llvm.org (Georgii Rymar via All-commits) Date: Tue, 07 Jul 2020 06:44:33 -0700 Subject: [all-commits] [llvm/llvm-project] e7abed: [llvm-readobj] - Refactor the MipsGOTParser ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e7abed3d48ec40350006bc76ad5c6c1f64b1bfad https://github.com/llvm/llvm-project/commit/e7abed3d48ec40350006bc76ad5c6c1f64b1bfad Author: Georgii Rymar Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/test/tools/llvm-readobj/ELF/mips-got.test M llvm/test/tools/llvm-readobj/ELF/mips-plt.test M llvm/tools/llvm-readobj/ELFDumper.cpp Log Message: ----------- [llvm-readobj] - Refactor the MipsGOTParser to stop using report_fatal_error(). `MipsGOTParser` is a helper class that is used to dump MIPS GOT and PLT. There is a problem with it: it might call report_fatal_error() on invalid input. When this happens, the tool reports a crash: ``` # command stderr: LLVM ERROR: Cannot find PLTGOT dynamic table tag. PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backt race. Stack dump: ... ``` Such error were not tested. In this patch I've refactored `MipsGOTParser`: I've splitted handling of GOT and PLT to separate methods. This allows to propagate any possible errors to caller and should allow to dump the PLT when something is wrong with the GOT and vise versa in the future. I've added tests for each `report_fatal_error()` and now calling the `reportError` instead. In the future we might want to switch to reporting warnings, but it requres the additional testing and should be performed independently. I've kept `unwrapOrError` calls untouched for now as I'd like to focus on eliminating `report_fatal_error` calls in this patch only. Differential revision: https://reviews.llvm.org/D83225 From all-commits at lists.llvm.org Tue Jul 7 06:49:06 2020 From: all-commits at lists.llvm.org (Joel E. Denny via All-commits) Date: Tue, 07 Jul 2020 06:49:06 -0700 Subject: [all-commits] [llvm/llvm-project] ed39be: [OpenMP][NFC] Remove hard-coded line numbers from ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ed39becd274dae5537c24b2107737d718527e718 https://github.com/llvm/llvm-project/commit/ed39becd274dae5537c24b2107737d718527e718 Author: Joel E. Denny Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang/test/OpenMP/target_defaultmap_codegen.cpp M clang/test/OpenMP/target_map_codegen.cpp Log Message: ----------- [OpenMP][NFC] Remove hard-coded line numbers from more tests This is a continuation of D82224. Reviewed By: grokos Differential Revision: https://reviews.llvm.org/D83057 From all-commits at lists.llvm.org Tue Jul 7 06:50:27 2020 From: all-commits at lists.llvm.org (MorningLiu via All-commits) Date: Tue, 07 Jul 2020 06:50:27 -0700 Subject: [all-commits] [llvm/llvm-project] ea85ff: [X86] Fix a bug that when lowering byval argument Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ea85ff82c82687496453bc14c4ac60548a42d8f3 https://github.com/llvm/llvm-project/commit/ea85ff82c82687496453bc14c4ac60548a42d8f3 Author: Liu, Chen3 Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Target/X86/X86ISelLowering.cpp M llvm/lib/Target/X86/X86ISelLowering.h M llvm/test/CodeGen/X86/win64-byval.ll Log Message: ----------- [X86] Fix a bug that when lowering byval argument When an argument has 'byval' attribute and should be passed on the stack according calling convention, a stack copy would be emitted twice. This will cause the real value will be put into stack where the pointer should be passed. Differential Revision: https://reviews.llvm.org/D83175 From all-commits at lists.llvm.org Tue Jul 7 07:05:02 2020 From: all-commits at lists.llvm.org (Roman Lebedev via All-commits) Date: Tue, 07 Jul 2020 07:05:02 -0700 Subject: [all-commits] [llvm/llvm-project] 16266e: [Scalarizer] When gathering scattered scalar, don'... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 16266e63963ad6ee27ad21983a9366ab313dfd03 https://github.com/llvm/llvm-project/commit/16266e63963ad6ee27ad21983a9366ab313dfd03 Author: Roman Lebedev Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Transforms/Scalar/Scalarizer.cpp M llvm/test/Transforms/Scalarizer/crash-bug.ll Log Message: ----------- [Scalarizer] When gathering scattered scalar, don't replace it with itself The (previously-crashing) test-case would cause us to seemingly-harmlessly replace some use with something else, but we can't replace it with itself, so we would crash. From all-commits at lists.llvm.org Tue Jul 7 07:07:57 2020 From: all-commits at lists.llvm.org (Pavel Labath via All-commits) Date: Tue, 07 Jul 2020 07:07:57 -0700 Subject: [all-commits] [llvm/llvm-project] 72ae70: [lldb/test] Fix lldbutil.run_to_***_breakpoint for... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 72ae70032ca3fa3e3bd9a3524bf245d5978c0467 https://github.com/llvm/llvm-project/commit/72ae70032ca3fa3e3bd9a3524bf245d5978c0467 Author: Pavel Labath Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M lldb/packages/Python/lldbsuite/test/lldbutil.py Log Message: ----------- [lldb/test] Fix lldbutil.run_to_***_breakpoint for shared libraries Even non-remote targets may need to set the launch environment ((DY)LD_LIBRARY_PATH, specifically) to run successfully. Also, add an assertion to better detect the case when launching a target fails and the breakpoint is never hit. From all-commits at lists.llvm.org Tue Jul 7 07:11:19 2020 From: all-commits at lists.llvm.org (Alexey Bataev via All-commits) Date: Tue, 07 Jul 2020 07:11:19 -0700 Subject: [all-commits] [llvm/llvm-project] c9fb7f: [DEBUGINFO]Add dwarf versions to the test, NFC. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c9fb7f81715a321a00096e0463b0e8635204641e https://github.com/llvm/llvm-project/commit/c9fb7f81715a321a00096e0463b0e8635204641e Author: Alexey Bataev Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/test/DebugInfo/X86/packed_bitfields.ll Log Message: ----------- [DEBUGINFO]Add dwarf versions to the test, NFC. From all-commits at lists.llvm.org Tue Jul 7 07:15:11 2020 From: all-commits at lists.llvm.org (Ye Luo via All-commits) Date: Tue, 07 Jul 2020 07:15:11 -0700 Subject: [all-commits] [llvm/llvm-project] c5348a: [OpenMP] Use primary context in CUDA plugin Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c5348aecd7723e7aa7b18406d0c97724c0659f34 https://github.com/llvm/llvm-project/commit/c5348aecd7723e7aa7b18406d0c97724c0659f34 Author: Ye Luo Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M openmp/libomptarget/plugins/cuda/src/rtl.cpp Log Message: ----------- [OpenMP] Use primary context in CUDA plugin Summary: Retaining per device primary context is preferred to creating a context owned by the plugin. >From CUDA documentation 1. Note that the use of multiple CUcontext s per device within a single process will substantially degrade performance and is strongly discouraged. Instead, it is highly recommended that the implicit one-to-one device-to-context mapping for the process provided by the CUDA Runtime API be used." from https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__DRIVER.html 2. Right under cuCtxCreate. In most cases it is recommended to use cuDevicePrimaryCtxRetain. https://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__CTX.html#group__CUDA__CTX_1g65dc0012348bc84810e2103a40d8e2cf 3. The primary context is unique per device and shared with the CUDA runtime API. These functions allow integration with other libraries using CUDA. https://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__PRIMARY__CTX.html#group__CUDA__PRIMARY__CTX Two issues are addressed by this patch: 1. Not using the primary context caused interoperability issue with libraries like cublas, cusolver. CUBLAS_STATUS_EXECUTION_FAILED and cudaErrorInvalidResourceHandle 2. On OLCF summit, "Error returned from cuCtxCreate" and "CUDA error is: invalid device ordinal" Regarding the flags of the primary context. If it is inactive, we set CU_CTX_SCHED_BLOCKING_SYNC. If it is already active, we respect the current flags. Reviewers: grokos, ABataev, jdoerfert, protze.joachim, AndreyChurbanov, Hahnfeld Reviewed By: jdoerfert Subscribers: openmp-commits, yaxunl, guansong, sstefan1, tianshilei1992 Tags: #openmp Differential Revision: https://reviews.llvm.org/D82718 From all-commits at lists.llvm.org Tue Jul 7 07:22:25 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?QmFsw6F6cyBLw6lyaQ==?= via All-commits) Date: Tue, 07 Jul 2020 07:22:25 -0700 Subject: [all-commits] [llvm/llvm-project] 85f5d1: [ASTImporter] Corrected import of repeated friend ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 85f5d1261c9a3f0abc4ae370005a1127174f2ce1 https://github.com/llvm/llvm-project/commit/85f5d1261c9a3f0abc4ae370005a1127174f2ce1 Author: Balázs Kéri <1.int32 at gmail.com> Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang/lib/AST/ASTImporter.cpp M clang/unittests/AST/ASTImporterTest.cpp M clang/unittests/AST/StructuralEquivalenceTest.cpp Log Message: ----------- [ASTImporter] Corrected import of repeated friend declarations. Summary: Import declarations in correct order if a class contains multiple redundant friend (type or decl) declarations. If the order is incorrect this could cause false structural equivalences and wrong declaration chains after import. Reviewers: a.sidorin, shafik, a_sidorin Reviewed By: shafik Subscribers: dkrupp, Szelethus, gamesh411, teemperor, martong, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D75740 From all-commits at lists.llvm.org Tue Jul 7 07:32:19 2020 From: all-commits at lists.llvm.org (Eric Schweitz via All-commits) Date: Tue, 07 Jul 2020 07:32:19 -0700 Subject: [all-commits] [llvm/llvm-project] 216a54: [flang] Add lowering of I/O statements. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 216a54a04b9b25fe6d1bcf7f516befd87bc0d976 https://github.com/llvm/llvm-project/commit/216a54a04b9b25fe6d1bcf7f516befd87bc0d976 Author: Eric Schweitz Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: A flang/include/flang/Lower/IO.h M flang/lib/Lower/CMakeLists.txt A flang/lib/Lower/IO.cpp Log Message: ----------- [flang] Add lowering of I/O statements. The IO module is where I/O related statements are lowered to calls to the runtime library. Differential revision: https://reviews.llvm.org/D83267 From all-commits at lists.llvm.org Tue Jul 7 07:35:37 2020 From: all-commits at lists.llvm.org (Guillaume Chatelet via All-commits) Date: Tue, 07 Jul 2020 07:35:37 -0700 Subject: [all-commits] [llvm/llvm-project] abdd36: [Bitfields][NFC] Make sure bitfields are contiguous Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: abdd367b200a0bf4176dbdaf200b23f750a35cb0 https://github.com/llvm/llvm-project/commit/abdd367b200a0bf4176dbdaf200b23f750a35cb0 Author: Guillaume Chatelet Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/include/llvm/ADT/Bitfields.h M llvm/include/llvm/IR/InstrTypes.h M llvm/include/llvm/IR/Instruction.h M llvm/include/llvm/IR/Instructions.h M llvm/unittests/ADT/BitFieldsTest.cpp Log Message: ----------- [Bitfields][NFC] Make sure bitfields are contiguous Differential Revision: https://reviews.llvm.org/D83202 From all-commits at lists.llvm.org Tue Jul 7 07:43:07 2020 From: all-commits at lists.llvm.org (rithik sharma via All-commits) Date: Tue, 07 Jul 2020 07:43:07 -0700 Subject: [all-commits] [llvm/llvm-project] 082e39: [CodeMoverUtils] Make specific analysis dependent ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 082e3952300003ecf2eaa6bf346ae2e783b7a02e https://github.com/llvm/llvm-project/commit/082e3952300003ecf2eaa6bf346ae2e783b7a02e Author: SharmaRithik Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/include/llvm/Transforms/Utils/CodeMoverUtils.h M llvm/lib/Transforms/Scalar/LoopFuse.cpp M llvm/lib/Transforms/Utils/CodeMoverUtils.cpp M llvm/unittests/Transforms/Utils/CodeMoverUtilsTest.cpp Log Message: ----------- [CodeMoverUtils] Make specific analysis dependent checks optional Summary: This patch makes code motion checks optional which are dependent on specific analysis example, dominator tree, post dominator tree and dependence info. The aim is to make the adoption of CodeMoverUtils easier for clients that don't use analysis which were strictly required by CodeMoverUtils. This will also help in diversifying code motion checks using other analysis example MSSA. Authored By: RithikSharma Reviewer: Whitney, bmahjour, etiotto Reviewed By: Whitney Subscribers: Prazek, hiraditya, george.burgess.iv, asbirlea, llvm-commits Tag: LLVM Differential Revision: https://reviews.llvm.org/D82566 From all-commits at lists.llvm.org Tue Jul 7 08:00:34 2020 From: all-commits at lists.llvm.org (Pavel Labath via All-commits) Date: Tue, 07 Jul 2020 08:00:34 -0700 Subject: [all-commits] [llvm/llvm-project] 52495b: [lldb/Utility] Fix float->integral conversions in ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 52495b98eecefcbaea2e30edec6816e43653d175 https://github.com/llvm/llvm-project/commit/52495b98eecefcbaea2e30edec6816e43653d175 Author: Pavel Labath Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M lldb/source/Utility/Scalar.cpp M lldb/unittests/Utility/ScalarTest.cpp Log Message: ----------- [lldb/Utility] Fix float->integral conversions in Scalar APInt getters These functions were doing a bitcast on the float value, which is not consistent with the other getters, which were doing a numeric conversion (47.0 -> 47). Change these to do numeric conversions too. From all-commits at lists.llvm.org Tue Jul 7 08:05:34 2020 From: all-commits at lists.llvm.org (Nathan James via All-commits) Date: Tue, 07 Jul 2020 15:05:34 +0000 (UTC) Subject: [all-commits] [llvm/llvm-project] b0d3ea: [ASTMatchers] Added hasDirectBase Matcher Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b0d3ea171bd56b3b079be9213935925e1499df15 https://github.com/llvm/llvm-project/commit/b0d3ea171bd56b3b079be9213935925e1499df15 Author: Nathan James Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang/docs/LibASTMatchersReference.html M clang/include/clang/ASTMatchers/ASTMatchers.h M clang/lib/ASTMatchers/Dynamic/Registry.cpp M clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp Log Message: ----------- [ASTMatchers] Added hasDirectBase Matcher Adds a matcher called `hasDirectBase` for matching the `CXXBaseSpecifier` of a class that directly derives from another class. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D81552 From all-commits at lists.llvm.org Tue Jul 7 08:15:27 2020 From: all-commits at lists.llvm.org (OhYoooo via All-commits) Date: Tue, 07 Jul 2020 08:15:27 -0700 Subject: [all-commits] [llvm/llvm-project] 1a2f48: [Clang] Handle AIX Include management in the driver Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1a2f4824cb2d472649e65f845510ac0e47ca98c1 https://github.com/llvm/llvm-project/commit/1a2f4824cb2d472649e65f845510ac0e47ca98c1 Author: Shuhong Liu Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang/lib/Driver/ToolChains/AIX.cpp M clang/lib/Driver/ToolChains/AIX.h M clang/lib/Frontend/InitHeaderSearch.cpp A clang/test/Driver/aix-toolchain-include.cpp Log Message: ----------- [Clang] Handle AIX Include management in the driver Summary: Modify the AIX clang toolchain to include AIX dependencies in the search path Reviewers: daltenty, stevewan, hubert.reinterpretcast Reviewed By: daltenty, stevewan, hubert.reinterpretcast Subscribers: ormris, hubert.reinterpretcast, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82677 From all-commits at lists.llvm.org Tue Jul 7 08:25:29 2020 From: all-commits at lists.llvm.org (Muhammad Omair Javaid via All-commits) Date: Tue, 07 Jul 2020 08:25:29 -0700 Subject: [all-commits] [llvm/llvm-project] 7fa7b8: Combine multiple defs of arm64 register sets Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7fa7b81bcbd040d036f9a4155486ccebc3c13be7 https://github.com/llvm/llvm-project/commit/7fa7b81bcbd040d036f9a4155486ccebc3c13be7 Author: Muhammad Omair Javaid Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp M lldb/source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_arm64.cpp M lldb/source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_arm64.h M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.h M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h M lldb/source/Plugins/Process/Utility/NativeRegisterContextRegisterInfo.h M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.cpp M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.h A lldb/source/Plugins/Process/Utility/RegisterInfoAndSetInterface.h M lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.cpp M lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.h M lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.cpp M lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.h M lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp Log Message: ----------- Combine multiple defs of arm64 register sets Summary: This patch aims to combine similar arm64 register set definitions defined in NativeRegisterContextLinux_arm64 and RegisterContextPOSIX_arm64. I have implemented a register set interface out of RegisterInfoInterface class and moved arm64 register sets into RegisterInfosPOSIX_arm64 which is similar to Utility/RegisterContextLinux_* implemented by various other targets. This will help in managing register sets of new ARM64 architecture features in one place. Built and tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabihf targets. Reviewers: labath Reviewed By: labath Subscribers: mhorne, emaste, kristof.beyls, atanasyan, danielkiss, lldb-commits Differential Revision: https://reviews.llvm.org/D80105 From all-commits at lists.llvm.org Tue Jul 7 08:47:36 2020 From: all-commits at lists.llvm.org (Mehdi Amini via All-commits) Date: Tue, 07 Jul 2020 08:47:36 -0700 Subject: [all-commits] [llvm/llvm-project] e10e03: Revert "Create the framework and testing environme... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e10e034f4bb7d3c639cc65a8d60147ff1e330e56 https://github.com/llvm/llvm-project/commit/e10e034f4bb7d3c639cc65a8d60147ff1e330e56 Author: Mehdi Amini Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: R mlir/include/mlir/Reducer/Tester.h M mlir/lib/CMakeLists.txt R mlir/lib/Reducer/CMakeLists.txt R mlir/lib/Reducer/Tester.cpp M mlir/test/CMakeLists.txt R mlir/test/mlir-reduce/test.bat R mlir/test/mlir-reduce/test.sh R mlir/test/mlir-reduce/testcase-linux.mlir R mlir/test/mlir-reduce/testcase-windows.mlir M mlir/tools/CMakeLists.txt R mlir/tools/mlir-reduce/CMakeLists.txt R mlir/tools/mlir-reduce/mlir-reduce.cpp Log Message: ----------- Revert "Create the framework and testing environment for MLIR Reduce - a tool" This reverts commit 28a45d54a7fe722248233165fc7fdbd18d18d233. Windows bot is broken with: LLVM ERROR: Error running interestingness test: posix_spawn failed: Permission denied From all-commits at lists.llvm.org Tue Jul 7 09:25:20 2020 From: all-commits at lists.llvm.org (RotateRight via All-commits) Date: Tue, 07 Jul 2020 09:25:20 -0700 Subject: [all-commits] [llvm/llvm-project] 1c956a: [x86] add test for buildvector lowering miscompile... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1c956a3eb934fffd719ab027829d616e762eca2d https://github.com/llvm/llvm-project/commit/1c956a3eb934fffd719ab027829d616e762eca2d Author: Sanjay Patel Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/test/CodeGen/X86/buildvec-insertvec.ll Log Message: ----------- [x86] add test for buildvector lowering miscompile (PR46586); NFC From all-commits at lists.llvm.org Tue Jul 7 09:45:44 2020 From: all-commits at lists.llvm.org (Aaron Enye Shi via All-commits) Date: Tue, 07 Jul 2020 09:45:44 -0700 Subject: [all-commits] [llvm/llvm-project] c64bb3: [HIP] Use default triple in llvm-mc for system ld Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c64bb3f7367a924e9d17dfccccc1c92897e6cbe1 https://github.com/llvm/llvm-project/commit/c64bb3f7367a924e9d17dfccccc1c92897e6cbe1 Author: Aaron En Ye Shi Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang/lib/Driver/ToolChains/HIP.cpp M clang/test/Driver/hip-link-save-temps.hip M clang/test/Driver/hip-toolchain-rdc-separate.hip M clang/test/Driver/hip-toolchain-rdc-static-lib.hip M clang/test/Driver/hip-toolchain-rdc.hip Log Message: ----------- [HIP] Use default triple in llvm-mc for system ld The Ubuntu system ld does not recognize the amdgcn-amd-amdhsa target. Instead the host object with embedded device fat binary should not be assembled by that triple. It should use default triple, so that the object is compatible with system ld. Reviewed By: yaxunl Differential Revision: https://reviews.llvm.org/D83145 From all-commits at lists.llvm.org Tue Jul 7 09:48:36 2020 From: all-commits at lists.llvm.org (Fangrui Song via All-commits) Date: Tue, 07 Jul 2020 09:48:36 -0700 Subject: [all-commits] [llvm/llvm-project] 09b81a: [ELF] Ignore --no-relax for RISC-V Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 09b81a72ac67c035f74ff369e6862d75cc4c4090 https://github.com/llvm/llvm-project/commit/09b81a72ac67c035f74ff369e6862d75cc4c4090 Author: Fangrui Song Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M lld/ELF/Options.td M lld/docs/ld.lld.1 M lld/test/ELF/silent-ignore.test Log Message: ----------- [ELF] Ignore --no-relax for RISC-V In GNU ld, --no-relax can disable x86-64 GOTPCRELX relaxation. It is not useful, so we don't implement it. For RISC-V, --no-relax disables linker relaxations which have larger impact. Linux kernel specifies --no-relax when CONFIG_DYNAMIC_FTRACE is specified (since http://git.kernel.org/linus/a1d2a6b4cee858a2f27eebce731fbf1dfd72cb4e ). LLD has not implemented the relaxations, so this option is a no-op. Reviewed By: grimar Differential Revision: https://reviews.llvm.org/D81359 From all-commits at lists.llvm.org Tue Jul 7 10:00:17 2020 From: all-commits at lists.llvm.org (Amy Huang via All-commits) Date: Tue, 07 Jul 2020 10:00:17 -0700 Subject: [all-commits] [llvm/llvm-project] 9ee90a: [NativeSession] Add column numbers to NativeLineNu... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9ee90a490563a735ddaa739a34c2204c7494826f https://github.com/llvm/llvm-project/commit/9ee90a490563a735ddaa739a34c2204c7494826f Author: Amy Huang Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/include/llvm/DebugInfo/PDB/Native/NativeLineNumber.h M llvm/include/llvm/DebugInfo/PDB/Native/SymbolCache.h M llvm/lib/DebugInfo/PDB/Native/NativeLineNumber.cpp M llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp A llvm/test/tools/llvm-symbolizer/pdb/Inputs/test-columns.exe A llvm/test/tools/llvm-symbolizer/pdb/Inputs/test-columns.pdb M llvm/test/tools/llvm-symbolizer/pdb/Inputs/test.cpp A llvm/test/tools/llvm-symbolizer/pdb/pdb-native-columns.test Log Message: ----------- [NativeSession] Add column numbers to NativeLineNumber. Summary: This adds column numbers if they are present, and otherwise sets the column number to be zero. Bug: https://bugs.llvm.org/show_bug.cgi?id=41795 Reviewers: amccarth Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D81950 From all-commits at lists.llvm.org Tue Jul 7 10:02:53 2020 From: all-commits at lists.llvm.org (RotateRight via All-commits) Date: Tue, 07 Jul 2020 10:02:53 -0700 Subject: [all-commits] [llvm/llvm-project] 642eed: [x86] fix miscompile in buildvector v16i8 lowering Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 642eed37134db4aca953704d1e4ae856af675f51 https://github.com/llvm/llvm-project/commit/642eed37134db4aca953704d1e4ae856af675f51 Author: Sanjay Patel Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Target/X86/X86ISelLowering.cpp M llvm/test/CodeGen/X86/buildvec-insertvec.ll Log Message: ----------- [x86] fix miscompile in buildvector v16i8 lowering In the test based on PR46586: https://bugs.llvm.org/show_bug.cgi?id=46586 ...we are inserting 16-bits into the high element of the vector, shuffling it to element 0, and extracting 32-bits. But xmm1 was never initialized, so the top 16-bits of the extract are undef without this patch. (It seems like we could do better than this by recognizing that we only demand a subsection of the build vector, but I want to make sure we fix the miscompile 1st.) This path is only used for pre-SSE4.1, and simpler patterns get squashed somewhere along the way, so the test still includes a 'urem' as it did in the original test from the bug report. Differential Revision: https://reviews.llvm.org/D83319 From all-commits at lists.llvm.org Tue Jul 7 10:03:15 2020 From: all-commits at lists.llvm.org (Hans via All-commits) Date: Tue, 07 Jul 2020 10:03:15 -0700 Subject: [all-commits] [llvm/llvm-project] 7fc279: [GlobalOpt] Don't remove inalloca from musttail-ca... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7fc279ca3d414c0997998cb30d1adc2c63c837a5 https://github.com/llvm/llvm-project/commit/7fc279ca3d414c0997998cb30d1adc2c63c837a5 Author: Hans Wennborg Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Transforms/IPO/GlobalOpt.cpp M llvm/test/Transforms/GlobalOpt/fastcc.ll Log Message: ----------- [GlobalOpt] Don't remove inalloca from musttail-called functions Otherwise the verifier complains about the mismatching function ABIs. Differential revision: https://reviews.llvm.org/D83300 From all-commits at lists.llvm.org Tue Jul 7 10:14:01 2020 From: all-commits at lists.llvm.org (Jonas Devlieghere via All-commits) Date: Tue, 07 Jul 2020 10:14:01 -0700 Subject: [all-commits] [llvm/llvm-project] 5e9b16: [lldb] Fix unaligned load in DataExtractor Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 5e9b16b67f5b9543e8d22b5b0f22cc0980c310bd https://github.com/llvm/llvm-project/commit/5e9b16b67f5b9543e8d22b5b0f22cc0980c310bd Author: Jonas Devlieghere Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M lldb/include/lldb/Utility/DataExtractor.h M lldb/source/Utility/DataExtractor.cpp M lldb/unittests/Utility/DataExtractorTest.cpp Log Message: ----------- [lldb] Fix unaligned load in DataExtractor Somehow UBSan would only report the unaligned load in TestLinuxCore.py when running the tests with reproducers. This patch fixes the issue by using a memcpy in the GetDouble and the GetFloat method. Differential revision: https://reviews.llvm.org/D83256 From all-commits at lists.llvm.org Tue Jul 7 10:16:24 2020 From: all-commits at lists.llvm.org (danliew via All-commits) Date: Tue, 07 Jul 2020 17:16:24 +0000 (UTC) Subject: [all-commits] [llvm/llvm-project] 888951: Disable interception of sigaltstack on i386 macOS. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 888951aaca583bcce85b42ea6166416db8f96fe0 https://github.com/llvm/llvm-project/commit/888951aaca583bcce85b42ea6166416db8f96fe0 Author: Dan Liew Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M compiler-rt/lib/sanitizer_common/sanitizer_platform.h M compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h Log Message: ----------- Disable interception of sigaltstack on i386 macOS. Summary: 28c91219c7e introduced an interceptor for `sigaltstack`. It turns out this broke `setjmp` on i386 macOS. This is because the implementation of `setjmp` on i386 macOS is written in assembly and makes the assumption that the call to `sigaltstack` does not clobber any registers. Presumably that assumption was made because it's a system call. In particular `setjmp` assumes that before and after the call that `%ecx` will contain a pointer the `jmp_buf`. The current interceptor breaks this assumption because it's written in C++ and `%ecx` is not a callee-saved register. This could be fixed by writing a trampoline interceptor to the existing interceptor in assembly that ensures all the registers are preserved. However, this is a lot of work for very little gain. Instead this patch just disables the interceptor on i386 macOS. For other Darwin architectures it currently appears to be safe to intercept `sigaltstack` using the current implementation because: * `setjmp` for x86_64 saves the pointer `jmp_buf` to the stack before calling `sigaltstack`. * `setjmp` for armv7/arm64/arm64_32/arm64e appears to not call `sigaltstack` at all. This patch should unbreak (once they are re-enabled) the following tests: ``` AddressSanitizer-Unit :: ./Asan-i386-calls-Test/AddressSanitizer.LongJmpTest AddressSanitizer-Unit :: ./Asan-i386-calls-Test/AddressSanitizer.SigLongJmpTest AddressSanitizer-Unit :: ./Asan-i386-inline-Test/AddressSanitizer.LongJmpTest AddressSanitizer-Unit :: ./Asan-i386-inline-Test/AddressSanitizer.SigLongJmpTest AddressSanitizer-i386-darwin :: TestCases/longjmp.cpp ``` This patch introduces a `SANITIZER_I386` macro for convenience. rdar://problem/62141412 Reviewers: kubamracek, yln, eugenis Subscribers: kristof.beyls, #sanitizers, llvm-commits Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D82691 Commit: 8a8d6e2b727112fafc52477acaf25affb62b6e65 https://github.com/llvm/llvm-project/commit/8a8d6e2b727112fafc52477acaf25affb62b6e65 Author: Dan Liew Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M compiler-rt/lib/asan/tests/asan_test.cpp Log Message: ----------- Revert "Temporarily disable the following failing tests on Darwin:" This reverts commit f3a089506fdcc4a1d658697009572c93e00c4373. 888951aaca583bcce85b42ea6166416db8f96fe0 introduced a fix that should make the disabled tests work again. rdar://problem/62141412 Compare: https://github.com/llvm/llvm-project/compare/5e9b16b67f5b...8a8d6e2b7271 From all-commits at lists.llvm.org Tue Jul 7 10:21:31 2020 From: all-commits at lists.llvm.org (jyu2-git via All-commits) Date: Tue, 07 Jul 2020 10:21:31 -0700 Subject: [all-commits] [llvm/llvm-project] 6cf0da: orrectly generate invert xor value for Binary Atom... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6cf0dac1ca3fd56c51f6a60f0be01cc25a1a2c6a https://github.com/llvm/llvm-project/commit/6cf0dac1ca3fd56c51f6a60f0be01cc25a1a2c6a Author: Jennifer Yu Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang/lib/CodeGen/CGBuiltin.cpp M clang/test/CodeGen/Atomics.c Log Message: ----------- orrectly generate invert xor value for Binary Atomics of int size > 64 When using __sync_nand_and_fetch with __int128, a problem is found that the wrong value for the 'invert' value gets emitted to the xor in case where the int size is greater than 64 bits. This is because uses of llvm::ConstantInt::get which zero extends the greater than 64 bits, so instead -1 that we require, it end up getting 18446744073709551615 This patch replaces the call to llvm::ConstantInt::get with the call to llvm::Constant::getAllOnesValue which works for all integer types. Reviewers: jfp, erichkeane, rjmccall, hfinkel Differential Revision: https://reviews.llvm.org/D82832 From all-commits at lists.llvm.org Tue Jul 7 10:24:44 2020 From: all-commits at lists.llvm.org (biplmish via All-commits) Date: Tue, 07 Jul 2020 10:24:44 -0700 Subject: [all-commits] [llvm/llvm-project] 62ba48: [PowerPC] Implement Vector Replace Builtins in LLVM Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 62ba48b45f6525a3e453b54a6e5562d2f3dc7324 https://github.com/llvm/llvm-project/commit/62ba48b45f6525a3e453b54a6e5562d2f3dc7324 Author: Biplob Mishra Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/include/llvm/IR/IntrinsicsPowerPC.td M llvm/lib/Target/PowerPC/PPCInstrPrefix.td M llvm/test/CodeGen/PowerPC/builtins-ppc-p10permute.ll Log Message: ----------- [PowerPC] Implement Vector Replace Builtins in LLVM Provide the LLVM intrinsics needed to implement vector replace element builtins in altivec.h which will be added in a subsequent patch. Differential Revision: https://reviews.llvm.org/D83308 From all-commits at lists.llvm.org Tue Jul 7 10:30:17 2020 From: all-commits at lists.llvm.org (Erik Pilkington via All-commits) Date: Tue, 07 Jul 2020 10:30:17 -0700 Subject: [all-commits] [llvm/llvm-project] 7437a9: [SemaObjC] Add a warning for @selector expressions... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7437a9496528b838e6939dbcbb69a0acb5e1332d https://github.com/llvm/llvm-project/commit/7437a9496528b838e6939dbcbb69a0acb5e1332d Author: Erik Pilkington Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang/include/clang/Basic/DiagnosticGroups.td M clang/include/clang/Basic/DiagnosticSemaKinds.td M clang/lib/Sema/SemaExprObjC.cpp A clang/test/SemaObjC/potentially-direct-selector.m Log Message: ----------- [SemaObjC] Add a warning for @selector expressions that potentially refer to objc_direct methods By default, only warn when the selector matches a direct method in the current class. This commit also adds a more strict off-by-default warning when there isn't a non-direct method in the current class. rdar://64621668 Differential revision: https://reviews.llvm.org/D82611 Commit: 2f71cf6d77c5cc679968851080d0513d84ddccb6 https://github.com/llvm/llvm-project/commit/2f71cf6d77c5cc679968851080d0513d84ddccb6 Author: Erik Pilkington Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang/lib/Sema/SemaChecking.cpp M clang/test/SemaObjC/signed-char-bool-conversion.m Log Message: ----------- [SemaObjC] Fix a -Wobjc-signed-char-bool false-positive with binary conditional operator We were previously bypassing the conditional expression special case for binary conditional expressions. rdar://64134411 Differential revision: https://reviews.llvm.org/D81751 Compare: https://github.com/llvm/llvm-project/compare/62ba48b45f65...2f71cf6d77c5 From all-commits at lists.llvm.org Tue Jul 7 10:30:45 2020 From: all-commits at lists.llvm.org (Chris Lattner via All-commits) Date: Tue, 07 Jul 2020 17:30:45 +0000 (UTC) Subject: [all-commits] [llvm/llvm-project] 79b30a: Expand the LLVM Developer Policy to include new se... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 79b30af0ec53de7c7e3378465124ff1026a77f75 https://github.com/llvm/llvm-project/commit/79b30af0ec53de7c7e3378465124ff1026a77f75 Author: Chris Lattner Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/docs/DeveloperPolicy.rst Log Message: ----------- Expand the LLVM Developer Policy to include new sections on adding a project to the LLVM Monorepo, and a second about the LLVM Incubator projects. Differential Revision: https://reviews.llvm.org/D83182 From all-commits at lists.llvm.org Tue Jul 7 10:31:37 2020 From: all-commits at lists.llvm.org (Ellis Hoag via All-commits) Date: Tue, 07 Jul 2020 10:31:37 -0700 Subject: [all-commits] [llvm/llvm-project] dfa0db: Warn pointer captured in async block Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: dfa0db79d0e37d5cf24a63d1e2b7ba5f40617574 https://github.com/llvm/llvm-project/commit/dfa0db79d0e37d5cf24a63d1e2b7ba5f40617574 Author: Ellis Hoag Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp M clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt A clang-tools-extra/clang-tidy/bugprone/NoEscapeCheck.cpp A clang-tools-extra/clang-tidy/bugprone/NoEscapeCheck.h M clang-tools-extra/docs/ReleaseNotes.rst A clang-tools-extra/docs/clang-tidy/checks/bugprone-no-escape.rst M clang-tools-extra/docs/clang-tidy/checks/list.rst A clang-tools-extra/test/clang-tidy/checkers/bugprone-no-escape.m Log Message: ----------- Warn pointer captured in async block The block arguments in dispatch_async() and dispatch_after() are guaranteed to escape. If those blocks capture any pointers with the noescape attribute then it is an error. From all-commits at lists.llvm.org Tue Jul 7 10:33:21 2020 From: all-commits at lists.llvm.org (Simon Pilgrim via All-commits) Date: Tue, 07 Jul 2020 10:33:21 -0700 Subject: [all-commits] [llvm/llvm-project] 3030e6: [X86][AVX] Add AVX2 tests to extractelement-load.ll Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 3030e6b94b21f4d37ada6bef7cde6920415409d8 https://github.com/llvm/llvm-project/commit/3030e6b94b21f4d37ada6bef7cde6920415409d8 Author: Simon Pilgrim Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/test/CodeGen/X86/extractelement-load.ll Log Message: ----------- [X86][AVX] Add AVX2 tests to extractelement-load.ll Commit: 6cff71e92e644adf5eab8cb411e5ac053746bbac https://github.com/llvm/llvm-project/commit/6cff71e92e644adf5eab8cb411e5ac053746bbac Author: Simon Pilgrim Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/test/CodeGen/X86/extractelement-load.ll Log Message: ----------- [X86][AVX] Add test case showing incorrect extraction from VBROADCAST_LOAD on AVX2 targets On AVX2 we tend to lower BUILD_VECTOR of constants as broadcasts if we can, in this case a <2 x i16> non-uniform constant has been lowered as a <4 x i32> broadcast. The test case shows that the extraction folding code has incorrectly extracted the wrong part (lower WORD) of the resulting i32 memory source. Found by internal fuzzing tests. Compare: https://github.com/llvm/llvm-project/compare/dfa0db79d0e3...6cff71e92e64 From all-commits at lists.llvm.org Tue Jul 7 10:40:25 2020 From: all-commits at lists.llvm.org (Sean Silva via All-commits) Date: Tue, 07 Jul 2020 10:40:25 -0700 Subject: [all-commits] [llvm/llvm-project] a084b9: [mlir] Convert function signatures before converti... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a084b94f1198df600fff0632ad54fe6121e23943 https://github.com/llvm/llvm-project/commit/a084b94f1198df600fff0632ad54fe6121e23943 Author: Sean Silva Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M mlir/include/mlir/Target/LLVMIR/ModuleTranslation.h M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp M mlir/test/Target/llvmir.mlir Log Message: ----------- [mlir] Convert function signatures before converting globals Summary: This allows global initializers to reference functions. Differential Revision: https://reviews.llvm.org/D83266 From all-commits at lists.llvm.org Tue Jul 7 10:43:41 2020 From: all-commits at lists.llvm.org (aeubanks via All-commits) Date: Tue, 07 Jul 2020 10:43:41 -0700 Subject: [all-commits] [llvm/llvm-project] 1143f0: [NewPM][LoopFusion] Rename loop-fuse -> loop-fusion Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1143f09678f42352620d373939b0655e7a332268 https://github.com/llvm/llvm-project/commit/1143f09678f42352620d373939b0655e7a332268 Author: Arthur Eubanks Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Passes/PassRegistry.def Log Message: ----------- [NewPM][LoopFusion] Rename loop-fuse -> loop-fusion The legacy pass name is "loop-fusion". Fixes most tests under Transforms/LoopFusion under NPM. Reviewed By: Whitney Differential Revision: https://reviews.llvm.org/D83066 From all-commits at lists.llvm.org Tue Jul 7 10:44:20 2020 From: all-commits at lists.llvm.org (Alexander Belyaev via All-commits) Date: Tue, 07 Jul 2020 10:44:20 -0700 Subject: [all-commits] [llvm/llvm-project] 1a2ed7: [mlir] Support unranked types in func signature co... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1a2ed71a8a81a61e98a9f50fe5fa64b36e722632 https://github.com/llvm/llvm-project/commit/1a2ed71a8a81a61e98a9f50fe5fa64b36e722632 Author: Alexander Belyaev Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M mlir/lib/Transforms/BufferPlacement.cpp M mlir/test/Transforms/buffer-placement-preparation-allowed-memref-results.mlir M mlir/test/Transforms/buffer-placement-preparation.mlir Log Message: ----------- [mlir] Support unranked types in func signature conversion in BufferPlacement. Currently, only ranked tensor args and results can be converted to memref types. Differential Revision: https://reviews.llvm.org/D83324 From all-commits at lists.llvm.org Tue Jul 7 10:44:45 2020 From: all-commits at lists.llvm.org (aeubanks via All-commits) Date: Tue, 07 Jul 2020 10:44:45 -0700 Subject: [all-commits] [llvm/llvm-project] 83158c: [BasicAA] Remove -basicaa alias Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 83158cf95dd7fd9fa8a1eb515f16bf47856601ef https://github.com/llvm/llvm-project/commit/83158cf95dd7fd9fa8a1eb515f16bf47856601ef Author: Arthur Eubanks Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/include/llvm/IR/LegacyPassNameParser.h M llvm/test/Analysis/BasicAA/empty.ll Log Message: ----------- [BasicAA] Remove -basicaa alias Follow up of https://reviews.llvm.org/D82607. Reviewed By: ychen Differential Revision: https://reviews.llvm.org/D83067 From all-commits at lists.llvm.org Tue Jul 7 10:45:48 2020 From: all-commits at lists.llvm.org (Thomas Lively via All-commits) Date: Tue, 07 Jul 2020 17:45:48 +0000 (UTC) Subject: [all-commits] [llvm/llvm-project] 0d7286: [WebAssembly] Avoid scalarizing vector shifts in m... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 0d7286a652371bca460357348f3b4828cd4ca214 https://github.com/llvm/llvm-project/commit/0d7286a652371bca460357348f3b4828cd4ca214 Author: Thomas Lively Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td A llvm/test/CodeGen/WebAssembly/simd-shift-complex-splats.ll R llvm/test/CodeGen/WebAssembly/simd-shift-unroll.ll Log Message: ----------- [WebAssembly] Avoid scalarizing vector shifts in more cases Since WebAssembly's vector shift instructions take a scalar shift amount rather than a vector shift amount, we have to check in ISel that the vector shift amount is a splat. Previously, we were checking explicitly for splat BUILD_VECTOR nodes, but this change uses the standard utilities for detecting splat values that can handle more complex splat patterns. Since the C++ ISel lowering is now more general than the ISel patterns, this change also simplifies shift lowering by using the C++ lowering for all SIMD shifts rather than mixing C++ and normal pattern-based lowering. This change improves ISel for shifts to the point that the simd-shift-unroll.ll regression test no longer tests the code path it was originally meant to test. The bug corresponding to that regression test is no longer reproducible with its original reported reproducer, so rather than try to fix the regression test, this change just removes it. Differential Revision: https://reviews.llvm.org/D83278 From all-commits at lists.llvm.org Tue Jul 7 10:53:36 2020 From: all-commits at lists.llvm.org (llvmgnsyncbot via All-commits) Date: Tue, 07 Jul 2020 10:53:36 -0700 Subject: [all-commits] [llvm/llvm-project] 907f15: [gn build] Port dfa0db79d0e Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 907f15c5914187b2831977e10599bede6bbafe72 https://github.com/llvm/llvm-project/commit/907f15c5914187b2831977e10599bede6bbafe72 Author: LLVM GN Syncbot Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/bugprone/BUILD.gn Log Message: ----------- [gn build] Port dfa0db79d0e From all-commits at lists.llvm.org Tue Jul 7 10:54:52 2020 From: all-commits at lists.llvm.org (Aaron Ballman via All-commits) Date: Tue, 07 Jul 2020 10:54:52 -0700 Subject: [all-commits] [llvm/llvm-project] aef04d: Speculatively fix the sphinx build. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: aef04d3306bff492f69f50675f65c9c4eedfab57 https://github.com/llvm/llvm-project/commit/aef04d3306bff492f69f50675f65c9c4eedfab57 Author: Aaron Ballman Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang-tools-extra/docs/clang-tidy/checks/bugprone-no-escape.rst Log Message: ----------- Speculatively fix the sphinx build. From all-commits at lists.llvm.org Tue Jul 7 10:57:11 2020 From: all-commits at lists.llvm.org (Ulrich Weigand via All-commits) Date: Tue, 07 Jul 2020 10:57:11 -0700 Subject: [all-commits] [llvm/llvm-project] 80a1b9: [SystemZ ABI] Allow class types in GetSingleElemen... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 80a1b95b8e72674cef7efb39636dc73c248ae6f3 https://github.com/llvm/llvm-project/commit/80a1b95b8e72674cef7efb39636dc73c248ae6f3 Author: Ulrich Weigand Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang/lib/CodeGen/TargetInfo.cpp M clang/test/CodeGen/systemz-abi.c M clang/test/CodeGen/systemz-abi.cpp Log Message: ----------- [SystemZ ABI] Allow class types in GetSingleElementType The SystemZ ABI specifies that aggregate types with just a single member of floating-point type shall be passed as if they were just a scalar of that type. This applies to both struct and class types (but not unions). However, the current ABI support code in clang only checks this case for struct types, which means that for class types, generated code does not adhere to the platform ABI. Fixed by accepting both struct and class types in the SystemZABIInfo::GetSingleElementType routine. From all-commits at lists.llvm.org Tue Jul 7 11:05:45 2020 From: all-commits at lists.llvm.org (zbrid via All-commits) Date: Tue, 07 Jul 2020 11:05:45 -0700 Subject: [all-commits] [llvm/llvm-project] dfabff: [x86][lvi][seses] Use SESES at O0 for LVI mitigation Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: dfabffb195ee7c9f9db327f29feb781cbec53724 https://github.com/llvm/llvm-project/commit/dfabffb195ee7c9f9db327f29feb781cbec53724 Author: Zola Bridges Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Target/X86/X86.h M llvm/lib/Target/X86/X86LoadValueInjectionLoadHardening.cpp M llvm/lib/Target/X86/X86SpeculativeExecutionSideEffectSuppression.cpp M llvm/lib/Target/X86/X86TargetMachine.cpp M llvm/test/CodeGen/X86/O0-pipeline.ll M llvm/test/CodeGen/X86/lvi-hardening-loads.ll Log Message: ----------- [x86][lvi][seses] Use SESES at O0 for LVI mitigation Use SESES as the fallback at O0 where the optimized LVI pass isn't desired due to its effect on build times at O0. I updated the LVI tests since this changes the code gen for the tests touched in the parent revision. This is a follow up to the comments I made here: https://reviews.llvm.org/D80964 Hopefully we can continue the discussion here. Also updated SESES to handle LFENCE instructions properly instead of adding redundant LFENCEs. In particular, 1) no longer add LFENCE if the current instruction being processed is an LFENCE and 2) no longer add LFENCE if the instruction right before the instruction being processed is an LFENCE Reviewed By: sconstab Differential Revision: https://reviews.llvm.org/D82037 From all-commits at lists.llvm.org Tue Jul 7 11:14:46 2020 From: all-commits at lists.llvm.org (Simon Pilgrim via All-commits) Date: Tue, 07 Jul 2020 11:14:46 -0700 Subject: [all-commits] [llvm/llvm-project] 931ec7: [X86][AVX] Don't fold PEXTR(VBROADCAST_LOAD(X)) ->... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 931ec74f7a29f53e18b574dc9500012ecbeba23a https://github.com/llvm/llvm-project/commit/931ec74f7a29f53e18b574dc9500012ecbeba23a Author: Simon Pilgrim Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Target/X86/X86ISelLowering.cpp M llvm/test/CodeGen/X86/extractelement-load.ll Log Message: ----------- [X86][AVX] Don't fold PEXTR(VBROADCAST_LOAD(X)) -> LOAD(X). We were checking the VBROADCAST_LOAD element size against the extraction destination size instead of the extracted vector element size - PEXTRW/PEXTB have implicit zext'ing so have i32 destination sizes for v8i16/v16i8 vectors, resulting in us extracting from the wrong part of a load. This patch bails from the fold if the vector element sizes don't match, and we now use the target constant extraction code later on like the pre-AVX2 targets, fixing the test case. Found by internal fuzzing tests. From all-commits at lists.llvm.org Tue Jul 7 11:23:15 2020 From: all-commits at lists.llvm.org (Nikita Popov via All-commits) Date: Tue, 07 Jul 2020 11:23:15 -0700 Subject: [all-commits] [llvm/llvm-project] 9dfea0: [SCCP] Handle assume predicates Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9dfea0351797e1e10b6e28e290c134c179eba504 https://github.com/llvm/llvm-project/commit/9dfea0351797e1e10b6e28e290c134c179eba504 Author: Nikita Popov Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Transforms/Scalar/SCCP.cpp A llvm/test/Transforms/SCCP/assume.ll Log Message: ----------- [SCCP] Handle assume predicates Take assume predicates into account when visiting ssa.copy. The handling is the same as for branch predicates, with the difference that we're always on the true edge. Differential Revision: https://reviews.llvm.org/D83257 From all-commits at lists.llvm.org Tue Jul 7 11:38:25 2020 From: all-commits at lists.llvm.org (Med Ismail Bennani via All-commits) Date: Tue, 07 Jul 2020 11:38:25 -0700 Subject: [all-commits] [llvm/llvm-project] 7177e6: [lldb/Core] Fix crash in ValueObject::CreateChildA... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7177e63fb554cfac3c252327e344fb5a17d6bd65 https://github.com/llvm/llvm-project/commit/7177e63fb554cfac3c252327e344fb5a17d6bd65 Author: Med Ismail Bennani Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M lldb/source/Core/ValueObject.cpp M lldb/test/API/functionalities/target_var/Makefile M lldb/test/API/functionalities/target_var/TestTargetVar.py R lldb/test/API/functionalities/target_var/globals.c R lldb/test/API/functionalities/target_var/globals.ll A lldb/test/API/functionalities/target_var/main.c Log Message: ----------- [lldb/Core] Fix crash in ValueObject::CreateChildAtIndex The patch fixes a crash in ValueObject::CreateChildAtIndex caused by a null pointer dereferencing. This is a corner case that is happening when trying to dereference a variable with an incomplete type, and this same variable doesn't have a synthetic value to get the child ValueObject. If this happens, lldb will now return a null pointer that will results in an error message. rdar://65181171 Signed-off-by: Med Ismail Bennani From all-commits at lists.llvm.org Tue Jul 7 11:41:11 2020 From: all-commits at lists.llvm.org (Vy Nguyen via All-commits) Date: Tue, 07 Jul 2020 11:41:11 -0700 Subject: [all-commits] [llvm/llvm-project] a707da: Clang crashed while checking for deletion of copy ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a707da4728dea51c1446cf582a46fb271f3969c3 https://github.com/llvm/llvm-project/commit/a707da4728dea51c1446cf582a46fb271f3969c3 Author: Vy Nguyen Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang/lib/Sema/SemaDeclCXX.cpp A clang/test/SemaCXX/attr-trivial-abi.cpp M clang/test/SemaObjCXX/attr-trivial-abi.mm Log Message: ----------- Clang crashed while checking for deletion of copy and move ctors Crash: @ 0x559d129463fc clang::CXXRecordDecl::defaultedCopyConstructorIsDeleted() @ 0x559d1288d3e5 clang::Sema::checkIllFormedTrivialABIStruct()::$_7::operator()() @ 0x559d12884c34 clang::Sema::checkIllFormedTrivialABIStruct() @ 0x559d1288412e clang::Sema::CheckCompletedCXXClass() @ 0x559d1288d843 clang::Sema::ActOnFinishCXXMemberSpecification() @ 0x559d12020109 clang::Parser::ParseCXXMemberSpecification() @ 0x559d1201e80c clang::Parser::ParseClassSpecifier() @ 0x559d1204e807 clang::Parser::ParseDeclarationSpecifiers() @ 0x559d120e9aa9 clang::Parser::ParseSingleDeclarationAfterTemplate() @ 0x559d120e8f21 clang::Parser::ParseTemplateDeclarationOrSpecialization() @ 0x559d120e8886 clang::Parser::ParseDeclarationStartingWithTemplate() @ 0x559d1204a1d4 clang::Parser::ParseDeclaration() @ 0x559d12004b1d clang::Parser::ParseExternalDeclaration() @ 0x559d12017689 clang::Parser::ParseInnerNamespace() @ 0x559d12017024 clang::Parser::ParseNamespace() @ 0x559d1204a29b clang::Parser::ParseDeclaration() @ 0x559d12004c74 clang::Parser::ParseExternalDeclaration() Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D83263 From all-commits at lists.llvm.org Tue Jul 7 11:52:54 2020 From: all-commits at lists.llvm.org (Stanislav Mekhanoshin via All-commits) Date: Tue, 07 Jul 2020 11:52:54 -0700 Subject: [all-commits] [llvm/llvm-project] 7c0387: LIS: fix handleMove to properly extend main range Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7c038726453b76d6f40590b22304c43ffa05aaf1 https://github.com/llvm/llvm-project/commit/7c038726453b76d6f40590b22304c43ffa05aaf1 Author: Stanislav Mekhanoshin Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/CodeGen/LiveIntervals.cpp M llvm/unittests/MI/LiveIntervalTest.cpp Log Message: ----------- LIS: fix handleMove to properly extend main range handleMoveDown or handleMoveUp cannot properly repair a main range of a LiveInterval since they only get LiveRange. There is a problem if certain use has moved few segments away and there is a hole in the main range in between of these two locations. We may get a SubRange with a very extended Segment spanning several Segments of the main range and also spanning that hole. If that happens then we end up with the main range not covering its SubRange which is an error. It might be possible to attempt fixing the main range in place just between of the old and new index by extending all of its Segments in between, but it is unclear this logic will be faster than just straight constructMainRangeFromSubranges, which itself is pretty cheap since it only contains interval logic. That will also require shrinkToUses() call after which is probably even more expensive. In the test second move is from 64B to 92B for the sub1. Subrange is correctly fixed: L000000000000000C [16r,32B:0)[32B,92r:1) 0 at 16r 1 at 32B-phi But the main range has a hole in between 80d and 88r after updateRange(): %1 [16r,32B:0)[32B,80r:4)[80r,80d:3)[88r,96r:1)[96r,160B:2) Since source position is 64B this segment is not even considered by the updateRange(). Differential Revision: https://reviews.llvm.org/D82916 From all-commits at lists.llvm.org Tue Jul 7 11:59:31 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= via All-commits) Date: Tue, 07 Jul 2020 11:59:31 -0700 Subject: [all-commits] [llvm/llvm-project] 446e3d: [llvm] [docs] Do not require recommonmark for manp... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 446e3df25483312c8a7dfb3c53eef0de0e13074a https://github.com/llvm/llvm-project/commit/446e3df25483312c8a7dfb3c53eef0de0e13074a Author: Michał Górny Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/cmake/modules/AddSphinxTarget.cmake M llvm/docs/conf.py Log Message: ----------- [llvm] [docs] Do not require recommonmark for manpage build Do not enforce recommonmark dependency if sphinx is called to build manpages. In order to do this, try to import recommonmark first and do not configure it if it's not available. Additionally, declare a custom tags for the selected builder via CMake, and ignore recommonmark import failure when 'man' target is used. This will permit us to avoid the problematic recommonmark dependency for the majority of Gentoo users that do not need to locally build the complete documentation but want to have tool manpages. Differential Revision: https://reviews.llvm.org/D83161 From all-commits at lists.llvm.org Tue Jul 7 12:11:44 2020 From: all-commits at lists.llvm.org (Nikita Popov via All-commits) Date: Tue, 07 Jul 2020 12:11:44 -0700 Subject: [all-commits] [llvm/llvm-project] 869154: [SCCP] Use range metadata for loads and calls Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 8691544a276744474ff04b71d7e220069435c7fe https://github.com/llvm/llvm-project/commit/8691544a276744474ff04b71d7e220069435c7fe Author: Nikita Popov Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Transforms/Scalar/SCCP.cpp M llvm/test/Transforms/SCCP/metadata.ll Log Message: ----------- [SCCP] Use range metadata for loads and calls When all else fails, use range metadata to constrain the result of loads and calls. It should also be possible to use !nonnull, but that would require some general support for inequalities in SCCP first. Differential Revision: https://reviews.llvm.org/D83179 From all-commits at lists.llvm.org Tue Jul 7 12:31:39 2020 From: all-commits at lists.llvm.org (Katherine Rasmussen via All-commits) Date: Tue, 07 Jul 2020 12:31:39 -0700 Subject: [all-commits] [llvm/llvm-project] c6a23d: [flang] Make 'num_images()' intrinsic Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c6a23df691fbfb1330d1fef71a4ac8b453b62a87 https://github.com/llvm/llvm-project/commit/c6a23df691fbfb1330d1fef71a4ac8b453b62a87 Author: Katherine Rasmussen Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M flang/documentation/Intrinsics.md M flang/lib/Evaluate/intrinsics.cpp M flang/test/Semantics/call10.f90 A flang/test/Semantics/num_images.f90 M flang/unittests/Evaluate/intrinsics.cpp Log Message: ----------- [flang] Make 'num_images()' intrinsic I added 'num_images()' to the list of functions that are evaluated as intrinsic. I also added a test file in flang/test/Semantics to test calls to 'num_images()'. There was a call to 'num_images()' in flang/test/Semantics/call10.f90 that expected an error, now it no longer produces an error. So I edited that file accordingly. I also edited the intrinsics unit test to add further testing of 'num_images()'. Differential Revision: https://reviews.llvm.org/D83142 From all-commits at lists.llvm.org Tue Jul 7 12:34:25 2020 From: all-commits at lists.llvm.org (Zachary Selk via All-commits) Date: Tue, 07 Jul 2020 12:34:25 -0700 Subject: [all-commits] [llvm/llvm-project] 4b9b64: [flang] Added missing runtime I/O definitions Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4b9b64d561e952e64288cdec3bae1952269c1bcf https://github.com/llvm/llvm-project/commit/4b9b64d561e952e64288cdec3bae1952269c1bcf Author: Zachary Selk Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M flang/runtime/io-api.cpp Log Message: ----------- [flang] Added missing runtime I/O definitions Added runtime function definitions for 32-bit real I/O and 32-bit complex output Differential Revision: https://reviews.llvm.org/D83112 From all-commits at lists.llvm.org Tue Jul 7 12:35:13 2020 From: all-commits at lists.llvm.org (Aart Bik via All-commits) Date: Tue, 07 Jul 2020 12:35:13 -0700 Subject: [all-commits] [llvm/llvm-project] 6404fb: [mlir] [VectorOps] [integration-test] Add i64 type... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6404fb428a2c6ad4da2b0d79825aa92453ad9bdb https://github.com/llvm/llvm-project/commit/6404fb428a2c6ad4da2b0d79825aa92453ad9bdb Author: aartbik Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: A mlir/integration_test/Dialect/Vector/CPU/test-outerproduct-f32.mlir A mlir/integration_test/Dialect/Vector/CPU/test-outerproduct-i64.mlir R mlir/integration_test/Dialect/Vector/CPU/test-outerproduct.mlir Log Message: ----------- [mlir] [VectorOps] [integration-test] Add i64 typed outer product Yields proper SIMD vpmullq/vpaddq on x86. Reviewed By: bkramer Differential Revision: https://reviews.llvm.org/D83328 From all-commits at lists.llvm.org Tue Jul 7 13:03:10 2020 From: all-commits at lists.llvm.org (aeubanks via All-commits) Date: Tue, 07 Jul 2020 13:03:10 -0700 Subject: [all-commits] [llvm/llvm-project] 227938: [Inliner] Don't skip inlining alwaysinline in optn... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 2279380eab08219911910e1ecdcef3eacb0b7f0c https://github.com/llvm/llvm-project/commit/2279380eab08219911910e1ecdcef3eacb0b7f0c Author: Arthur Eubanks Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Transforms/IPO/Inliner.cpp M llvm/test/Transforms/Inline/inline-optnone.ll Log Message: ----------- [Inliner] Don't skip inlining alwaysinline in optnone functions Previously the NPM inliner would skip all potential inlines in an optnone function, but alwaysinline callees should be inlined regardless of optnone. Fixes inline-optnone.ll under NPM. Reviewed By: kazu Differential Revision: https://reviews.llvm.org/D83021 From all-commits at lists.llvm.org Tue Jul 7 13:07:57 2020 From: all-commits at lists.llvm.org (Muhammad Omair Javaid via All-commits) Date: Tue, 07 Jul 2020 13:07:57 -0700 Subject: [all-commits] [llvm/llvm-project] 2bf6c5: Minor fixups to LLDB AArch64 register infos macros... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 2bf6c50c7fe2a68b0cf61568bc31c9966bbf1c3e https://github.com/llvm/llvm-project/commit/2bf6c50c7fe2a68b0cf61568bc31c9966bbf1c3e Author: Muhammad Omair Javaid Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M lldb/source/Plugins/Process/Utility/RegisterInfos_arm64.h Log Message: ----------- Minor fixups to LLDB AArch64 register infos macros for SVE register infos Summary: This patch adds some cosmetic changes to LLDB AArch64 register infos macros in order to use them in SVE register infos struct in follow up patches. This patch initially added invalidate lists to register infos struct but that is no longer needed and problem disappeared after updating qemu testing environment. old headline comments for reference: AArch64 reigster X and V registers are primary GPR and vector registers respectively. If these registers are modified their corresponding children w regs or s/d regs should be invalidated. Specially when a register write fails it is important that failure gets reflected to all the registers which draw their value from a particular value register. Reviewers: labath, rengolin Reviewed By: labath Subscribers: tschuett, kristof.beyls, danielkiss, lldb-commits Differential Revision: https://reviews.llvm.org/D77045 From all-commits at lists.llvm.org Tue Jul 7 13:21:48 2020 From: all-commits at lists.llvm.org (zbrid via All-commits) Date: Tue, 07 Jul 2020 13:21:48 -0700 Subject: [all-commits] [llvm/llvm-project] 9d9e49: [x86][seses] Add clang flag; Use lvi-cfi with seses Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9d9e499840af670b9644af77ce846c52085c23a1 https://github.com/llvm/llvm-project/commit/9d9e499840af670b9644af77ce846c52085c23a1 Author: Zola Bridges Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang/docs/ClangCommandLineReference.rst M clang/include/clang/Driver/Options.td M clang/lib/Driver/ToolChains/Arch/X86.cpp M clang/test/Driver/x86-target-features.c M llvm/lib/Target/X86/X86.td M llvm/lib/Target/X86/X86SpeculativeExecutionSideEffectSuppression.cpp M llvm/lib/Target/X86/X86Subtarget.h M llvm/test/CodeGen/X86/speculative-execution-side-effect-suppression.ll Log Message: ----------- [x86][seses] Add clang flag; Use lvi-cfi with seses This patch creates a clang flag to enable SESES. This flag also ensures that lvi-cfi is on when using seses via clang. SESES should use lvi-cfi to mitigate returns and indirect branches. The flag to enable the SESES functionality only without lvi-cfi is now -x86-seses-enable-without-lvi-cfi to warn users part of the mitigation is not enabled if they use this flag. This is useful in case folks want to see the cost of SESES separate from the LVI-CFI. Reviewed By: sconstab Differential Revision: https://reviews.llvm.org/D79910 From all-commits at lists.llvm.org Tue Jul 7 13:34:52 2020 From: all-commits at lists.llvm.org (Philip Reames via All-commits) Date: Tue, 07 Jul 2020 13:34:52 -0700 Subject: [all-commits] [llvm/llvm-project] b172cd: [Statepoint] Factor out logic for non-stack non-vr... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b172cd7812405beaa9db817d85ac1458f7e31547 https://github.com/llvm/llvm-project/commit/b172cd7812405beaa9db817d85ac1458f7e31547 Author: Philip Reames Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp M llvm/test/CodeGen/X86/statepoint-vector.ll Log Message: ----------- [Statepoint] Factor out logic for non-stack non-vreg lowering [almost NFC] This is inspired by D81648. The basic idea is to have the set of SDValues which are lowered as either constants or direct frame references explicit in one place, and to separate them clearly from the spilling logic. This is not NFC in that the handling of constants larger than > 64 bit has changed. The old lowering would crash on values which could not be encoded as a sign extended 64 bit value. The new lowering just spills all constants > 64 bits. We could be consistent about doing the sext(Con64) optimization, but I happen to know that this code path is utterly unexercised in practice, so simple is better for now. From all-commits at lists.llvm.org Tue Jul 7 13:36:32 2020 From: all-commits at lists.llvm.org (Matt Arsenault via All-commits) Date: Tue, 07 Jul 2020 13:36:32 -0700 Subject: [all-commits] [llvm/llvm-project] 42bb48: AMDGPU/GlobalISel: Fix skipping unused kernel argu... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 42bb481442c3368f2e98f26da6151e7c5ad3ae8e https://github.com/llvm/llvm-project/commit/42bb481442c3368f2e98f26da6151e7c5ad3ae8e Author: Matt Arsenault Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_kernel.ll M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-function-args.ll Log Message: ----------- AMDGPU/GlobalISel: Fix skipping unused kernel arguments The tests in a5b9ad7e9aca1329ba310e638dafa58c47468a58 actually failed the verifier, which for some reason is not the default. Also add tests for 0-sized function arguments, which do not add entries to the expected register lists. Commit: 23157f3bdb4f6af1d24aac7d4fbf439b71bba216 https://github.com/llvm/llvm-project/commit/23157f3bdb4f6af1d24aac7d4fbf439b71bba216 Author: Matt Arsenault Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-function-args.ll M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-ptrmask.ll M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sat.ll Log Message: ----------- GlobalISel: Handle EVT argument lowering correctly handleAssignments was assuming every argument type is an MVT, and assignArg would always fail. This fixes one of the hacks in the current AMDGPU calling convention code that pre-processes the arguments. Compare: https://github.com/llvm/llvm-project/compare/b172cd781240...23157f3bdb4f From all-commits at lists.llvm.org Tue Jul 7 13:46:20 2020 From: all-commits at lists.llvm.org (Christopher Tetreault via All-commits) Date: Tue, 07 Jul 2020 13:46:20 -0700 Subject: [all-commits] [llvm/llvm-project] 021d56: [SVE] Make Constant::getSplatValue work for scalab... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 021d56abb9ee3028cb88895144d71365e566c32f https://github.com/llvm/llvm-project/commit/021d56abb9ee3028cb88895144d71365e566c32f Author: Christopher Tetreault Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/IR/Constants.cpp M llvm/test/Transforms/InstSimplify/vscale.ll M llvm/unittests/IR/ConstantsTest.cpp Log Message: ----------- [SVE] Make Constant::getSplatValue work for scalable vector splats Summary: Make Constant::getSplatValue recognize scalable vector splats of the form created by ConstantVector::getSplat. Add unit test to verify that C == ConstantVector::getSplat(C)->getSplatValue() for fixed width and scalable vector splats Reviewers: efriedma, spatel, fpetrogalli, c-rhodes Reviewed By: efriedma Subscribers: sdesmalen, tschuett, hiraditya, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82416 From all-commits at lists.llvm.org Tue Jul 7 13:49:49 2020 From: all-commits at lists.llvm.org (Nicolas Vasilache via All-commits) Date: Tue, 07 Jul 2020 13:49:49 -0700 Subject: [all-commits] [llvm/llvm-project] 24ed3a: [mlir][Vector] Add ExtractOp folding Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 24ed3a9403fa0494275212765026a1bb4169ac76 https://github.com/llvm/llvm-project/commit/24ed3a9403fa0494275212765026a1bb4169ac76 Author: Nicolas Vasilache Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M mlir/include/mlir/Dialect/Vector/VectorOps.td M mlir/include/mlir/IR/AffineMap.h M mlir/lib/Dialect/Vector/VectorOps.cpp M mlir/lib/IR/AffineMap.cpp M mlir/test/Dialect/Vector/canonicalize.mlir Log Message: ----------- [mlir][Vector] Add ExtractOp folding This revision adds foldings for ExtractOp operations that come from previous InsertOp. InsertOp have cumulative semantic where multiple chained inserts are necessary to produce the final value from which the extracts are obtained. Additionally, TransposeOp may be interleaved and need to be tracked in order to follow the producer consumer relationships and properly compute positions. Differential revision: https://reviews.llvm.org/D83150 From all-commits at lists.llvm.org Tue Jul 7 14:02:54 2020 From: all-commits at lists.llvm.org (Eric Astor via All-commits) Date: Tue, 07 Jul 2020 14:02:54 -0700 Subject: [all-commits] [llvm/llvm-project] bc8e26: [ms] [llvm-ml] Add initial MASM STRUCT/UNION support Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: bc8e262afe833fce2bff46c73d9e77ed23fd720f https://github.com/llvm/llvm-project/commit/bc8e262afe833fce2bff46c73d9e77ed23fd720f Author: Eric Astor Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/include/llvm/MC/MCParser/MCAsmParser.h M llvm/include/llvm/MC/MCParser/MCTargetAsmParser.h M llvm/lib/MC/MCParser/MasmParser.cpp M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp A llvm/test/tools/llvm-ml/struct.test A llvm/test/tools/llvm-ml/struct_errors.test Log Message: ----------- [ms] [llvm-ml] Add initial MASM STRUCT/UNION support Summary: Add support for user-defined types to MasmParser, including initialization and field access. Known issues: - Omitted entry initializers (e.g., <,0>) do not work consistently for nested structs/arrays. - Size checking/inference for values with known types is not yet implemented. - Some ml64.exe syntaxes for accessing STRUCT fields are not recognized. - `[.].` - `[[.]]` - `( PTR []).` - `[.].` - `( PTR ).` Reviewed By: thakis Differential Revision: https://reviews.llvm.org/D75306 From all-commits at lists.llvm.org Tue Jul 7 14:09:19 2020 From: all-commits at lists.llvm.org (Chris Gyurgyik via All-commits) Date: Tue, 07 Jul 2020 14:09:19 -0700 Subject: [all-commits] [llvm/llvm-project] b6a20a: [libc] Add memchr implementation. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b6a20a4970813e0c64e2799f83ec246a82f70438 https://github.com/llvm/llvm-project/commit/b6a20a4970813e0c64e2799f83ec246a82f70438 Author: cgyurgyik Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M libc/config/linux/aarch64/entrypoints.txt M libc/config/linux/x86_64/entrypoints.txt M libc/src/string/CMakeLists.txt A libc/src/string/memchr.cpp A libc/src/string/memchr.h M libc/test/src/CMakeLists.txt M libc/test/src/string/CMakeLists.txt A libc/test/src/string/memchr_test.cpp Log Message: ----------- [libc] Add memchr implementation. From all-commits at lists.llvm.org Tue Jul 7 14:31:01 2020 From: all-commits at lists.llvm.org (Hubert Tong via All-commits) Date: Tue, 07 Jul 2020 14:31:01 -0700 Subject: [all-commits] [llvm/llvm-project] ef32c6: [tests] Revert unhelpful change from d73eed42d1dc Message-ID: Branch: refs/heads/release/10.x Home: https://github.com/llvm/llvm-project Commit: ef32c611aa214dea855364efd7ba451ec5ec3f74 https://github.com/llvm/llvm-project/commit/ef32c611aa214dea855364efd7ba451ec5ec3f74 Author: Hubert Tong Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/test/CodeGen/X86/asm-modifier.ll Log Message: ----------- [tests] Revert unhelpful change from d73eed42d1dc (cherry picked from commit 0e8608b3c38886c224d252c6b126c804645b7761) From all-commits at lists.llvm.org Tue Jul 7 14:31:03 2020 From: all-commits at lists.llvm.org (Med Ismail Bennani via All-commits) Date: Tue, 07 Jul 2020 14:31:03 -0700 Subject: [all-commits] [llvm/llvm-project] 0d7401: [lldb/api] Add checks for StackFrame::GetRegisterC... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 0d7401cf9d5cc0db3de9a8ddb8ea2362d5412d2f https://github.com/llvm/llvm-project/commit/0d7401cf9d5cc0db3de9a8ddb8ea2362d5412d2f Author: Med Ismail Bennani Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M lldb/source/API/SBFrame.cpp Log Message: ----------- [lldb/api] Add checks for StackFrame::GetRegisterContext calls (NFC) This patch fixes a crash that is happening because of a null pointer dereference in SBFrame. StackFrame::GetRegisterContext says explicitly that you might not get a valid RegisterContext back but the pointer wasn't tested before, resulting in crashes. This should solve the issue. rdar://54462095 Differential Revision: https://reviews.llvm.org/D83343 Signed-off-by: Med Ismail Bennani From all-commits at lists.llvm.org Tue Jul 7 14:56:14 2020 From: all-commits at lists.llvm.org (Christopher Tetreault via All-commits) Date: Tue, 07 Jul 2020 14:56:14 -0700 Subject: [all-commits] [llvm/llvm-project] c17120: [SVE] Remove calls to VectorType::getNumElements f... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c17120a3a4c14940982320beafa455437d60d170 https://github.com/llvm/llvm-project/commit/c17120a3a4c14940982320beafa455437d60d170 Author: Christopher Tetreault Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/unittests/AsmParser/AsmParserTest.cpp Log Message: ----------- [SVE] Remove calls to VectorType::getNumElements from AsmParserTest Reviewers: efriedma, c-rhodes, david-arm, kmclaughlin, fpetrogalli, sdesmalen Reviewed By: efriedma Subscribers: tschuett, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83339 From all-commits at lists.llvm.org Tue Jul 7 15:01:22 2020 From: all-commits at lists.llvm.org (Fangrui Song via All-commits) Date: Tue, 07 Jul 2020 15:01:22 -0700 Subject: [all-commits] [llvm/llvm-project] 8c5825: [llvm-readobj][test] Fix ELF/verneed-flags.yaml Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 8c5825befb7bbb2e76f7eccedc6d3bf26e9b2a6a https://github.com/llvm/llvm-project/commit/8c5825befb7bbb2e76f7eccedc6d3bf26e9b2a6a Author: Fangrui Song Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/test/tools/llvm-readobj/ELF/verneed-flags.yaml Log Message: ----------- [llvm-readobj][test] Fix ELF/verneed-flags.yaml *.yaml tests don't currently run, so we failed to update it. From all-commits at lists.llvm.org Tue Jul 7 15:01:42 2020 From: all-commits at lists.llvm.org (Davide Italiano via All-commits) Date: Tue, 07 Jul 2020 15:01:42 -0700 Subject: [all-commits] [llvm/llvm-project] 583247: Do not set LLDB_DEBUGSERVER_PATH if --out-of-tree-... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 5832473dcf4e5b22c9eb6381fb291be92f431208 https://github.com/llvm/llvm-project/commit/5832473dcf4e5b22c9eb6381fb291be92f431208 Author: Davide Italiano Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M lldb/packages/Python/lldbsuite/test/dotest.py Log Message: ----------- Do not set LLDB_DEBUGSERVER_PATH if --out-of-tree-debugserver is passed. This gets rid of some surprising interplay between the flags. Mainly needed because of Rosetta debugserver & Apple Silicon. Differential Revision: https://reviews.llvm.org/D82804 From all-commits at lists.llvm.org Tue Jul 7 15:03:49 2020 From: all-commits at lists.llvm.org (Davide Italiano via All-commits) Date: Tue, 07 Jul 2020 15:03:49 -0700 Subject: [all-commits] [llvm/llvm-project] 4dba3f: [dotest] Log a warning when --server and --out-of-... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4dba3f4e030a906f9ec7e940dfc4a57b94374154 https://github.com/llvm/llvm-project/commit/4dba3f4e030a906f9ec7e940dfc4a57b94374154 Author: Davide Italiano Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M lldb/packages/Python/lldbsuite/test/dotest.py Log Message: ----------- [dotest] Log a warning when --server and --out-of-tree-debugserver are set Suggested by Vedant. From all-commits at lists.llvm.org Tue Jul 7 15:06:09 2020 From: all-commits at lists.llvm.org (Fangrui Song via All-commits) Date: Tue, 07 Jul 2020 15:06:09 -0700 Subject: [all-commits] [llvm/llvm-project] bdc313: [RuntimeDyld][test] Fix ExecutionEngine/RuntimeDyl... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: bdc3134e237737dd46b51cd1ecd41ecbbe9f921a https://github.com/llvm/llvm-project/commit/bdc3134e237737dd46b51cd1ecd41ecbbe9f921a Author: Fangrui Song Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_x86-64_none.yaml Log Message: ----------- [RuntimeDyld][test] Fix ExecutionEngine/RuntimeDyld/X86/ELF_x86-64_none.yaml after D60122 *.yaml tests don't currently run, so we failed to notice it. From all-commits at lists.llvm.org Tue Jul 7 15:20:10 2020 From: all-commits at lists.llvm.org (Florian Hahn via All-commits) Date: Tue, 07 Jul 2020 15:20:10 -0700 Subject: [all-commits] [llvm/llvm-project] 04b85e: Revert "[SLP] Make sure instructions are ordered w... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 04b85e2bcbffcbe4ff4eb1ef3762f326525cae7c https://github.com/llvm/llvm-project/commit/04b85e2bcbffcbe4ff4eb1ef3762f326525cae7c Author: Florian Hahn Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp M llvm/test/Transforms/SLPVectorizer/AArch64/spillcost-order.ll Log Message: ----------- Revert "[SLP] Make sure instructions are ordered when computing spill cost." This seems to break http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/24371 This reverts commit eb46137daa92723b75d828f2db959f2061612622. From all-commits at lists.llvm.org Tue Jul 7 15:21:45 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Tue, 07 Jul 2020 15:21:45 -0700 Subject: [all-commits] [llvm/llvm-project] 91f706: [X86] Add back the assert in getImpliedFeatures th... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 91f70675cc6e5c872e0059c11d797b8726eeac67 https://github.com/llvm/llvm-project/commit/91f70675cc6e5c872e0059c11d797b8726eeac67 Author: Craig Topper Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/include/llvm/Support/X86TargetParser.def M llvm/lib/Support/X86TargetParser.cpp Log Message: ----------- [X86] Add back the assert in getImpliedFeatures that I removed in ef4cc70f3ed2a91e0a48c6448c517c3ba34c2846 I've added additional features to the table so I want to see if the bots are happier with this. From all-commits at lists.llvm.org Tue Jul 7 15:27:52 2020 From: all-commits at lists.llvm.org (Joachim via All-commits) Date: Tue, 07 Jul 2020 15:27:52 -0700 Subject: [all-commits] [llvm/llvm-project] 0fa0cf: [OpenMP][Tests] Update compatibility with GCC (NFC) Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 0fa0cf8638b0777a1a44feebf78a63865e48ecf6 https://github.com/llvm/llvm-project/commit/0fa0cf8638b0777a1a44feebf78a63865e48ecf6 Author: Joachim Protze Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M openmp/runtime/test/ompt/worksharing/for/runtime.c M openmp/runtime/test/ompt/worksharing/for/runtime_serialized.c M openmp/runtime/test/ompt/worksharing/for/runtime_split.c M openmp/runtime/test/worksharing/for/bug_set_schedule_0.c M openmp/runtime/test/worksharing/for/omp_for_schedule_runtime.c M openmp/runtime/test/worksharing/for/omp_nonmonotonic_dynamic1.c Log Message: ----------- [OpenMP][Tests] Update compatibility with GCC (NFC) Commit 95a28df5c provided implementation for GOMP*_nonmonotonic*runtime* functions. Now the tests succeed with gcc 9 and 10 From all-commits at lists.llvm.org Tue Jul 7 16:15:01 2020 From: all-commits at lists.llvm.org (Michael Spencer via All-commits) Date: Tue, 07 Jul 2020 16:15:01 -0700 Subject: [all-commits] [llvm/llvm-project] 64788d: [clang] Include missing LangOpts in `getModuleHash`. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 64788d7d5377345af5e3080d26cb6a76c324ab5b https://github.com/llvm/llvm-project/commit/64788d7d5377345af5e3080d26cb6a76c324ab5b Author: Michael Spencer Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang/include/clang/Basic/ObjCRuntime.h M clang/lib/Frontend/CompilerInvocation.cpp M clang/test/Modules/context-hash.c M llvm/include/llvm/Support/VersionTuple.h Log Message: ----------- [clang] Include missing LangOpts in `getModuleHash`. `ObjCRuntime` and `CommentOpts.BlockCommandNames` are checked by `ASTReader::checkLanguageOptions`, but are not part of the module context hash. This can lead to errors when using implicit modules if different TUs have different values for these options when using the same module cache. This was not hit very often due to the rare usage of `-fblock-command-names=` and that `ObjCRuntime` is by default set by the target triple, which is part of the existing context hash. From all-commits at lists.llvm.org Tue Jul 7 16:19:25 2020 From: all-commits at lists.llvm.org (Philip Reames via All-commits) Date: Tue, 07 Jul 2020 16:19:25 -0700 Subject: [all-commits] [llvm/llvm-project] 995587: [Statepoint] Reduce intendation and change a varia... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9955876d74a51659791fd72f8acb1fba27deacb0 https://github.com/llvm/llvm-project/commit/9955876d74a51659791fd72f8acb1fba27deacb0 Author: Philip Reames Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp Log Message: ----------- [Statepoint] Reduce intendation and change a variable name [NFC] Commit: 22596e7b2f3e22b99b828f8dc17434c53f1f67e7 https://github.com/llvm/llvm-project/commit/22596e7b2f3e22b99b828f8dc17434c53f1f67e7 Author: Philip Reames Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp Log Message: ----------- [Statepoint] Use early return to reduce nesting and clarify comments [NFC] Compare: https://github.com/llvm/llvm-project/compare/64788d7d5377...22596e7b2f3e From all-commits at lists.llvm.org Tue Jul 7 16:39:25 2020 From: all-commits at lists.llvm.org (Peter Klausler via All-commits) Date: Tue, 07 Jul 2020 16:39:25 -0700 Subject: [all-commits] [llvm/llvm-project] 8f0f9e: [flang] Fix CHARACTER length folding problem Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 8f0f9eaddf9ea8cbab418a64fb6557928b3c907a https://github.com/llvm/llvm-project/commit/8f0f9eaddf9ea8cbab418a64fb6557928b3c907a Author: peter klausler Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M flang/include/flang/Evaluate/type.h M flang/lib/Evaluate/fold-integer.cpp M flang/lib/Evaluate/shape.cpp M flang/lib/Evaluate/type.cpp M flang/lib/Evaluate/variable.cpp Log Message: ----------- [flang] Fix CHARACTER length folding problem Do not rewrite LEN(x) or x%len to the expression that specifies the length of x when that length is not a constant expression. Its value may have changed since the value of the expression was first captured in the definition of the object. Reviewed By: tskeith, sscalpone Differential Revision: https://reviews.llvm.org/D83352 From all-commits at lists.llvm.org Tue Jul 7 16:43:58 2020 From: all-commits at lists.llvm.org (Mauricio Sifontes via All-commits) Date: Tue, 07 Jul 2020 16:43:58 -0700 Subject: [all-commits] [llvm/llvm-project] ec04ce: Create the MLIR Reduce framework Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ec04ce4623522a326672f03fecb41812386a8c0e https://github.com/llvm/llvm-project/commit/ec04ce4623522a326672f03fecb41812386a8c0e Author: Mauricio Sifontes Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: A mlir/include/mlir/Reducer/Tester.h M mlir/lib/CMakeLists.txt A mlir/lib/Reducer/CMakeLists.txt A mlir/lib/Reducer/Tester.cpp M mlir/test/CMakeLists.txt A mlir/test/mlir-reduce/test.sh A mlir/test/mlir-reduce/testcase-linux.mlir M mlir/tools/CMakeLists.txt A mlir/tools/mlir-reduce/CMakeLists.txt A mlir/tools/mlir-reduce/mlir-reduce.cpp Log Message: ----------- Create the MLIR Reduce framework Create the framework and testing environment for MLIR Reduce - a tool with the objective to reduce large test cases into smaller ones while preserving their interesting behavior. Implement the functionality to parse command line arguments, parse the MLIR test cases into modules and run the interestingness tests on the modules. Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D82803 From all-commits at lists.llvm.org Tue Jul 7 17:48:16 2020 From: all-commits at lists.llvm.org (Akira Hatanaka via All-commits) Date: Tue, 07 Jul 2020 17:48:16 -0700 Subject: [all-commits] [llvm/llvm-project] 040270: [Sema] Teach -Wcast-align to compute alignment of ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 04027052a72f982c9e09472427ec7339415fb777 https://github.com/llvm/llvm-project/commit/04027052a72f982c9e09472427ec7339415fb777 Author: Akira Hatanaka Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang/lib/Sema/SemaChecking.cpp M clang/test/SemaCXX/warn-cast-align.cpp Log Message: ----------- [Sema] Teach -Wcast-align to compute alignment of CXXThisExpr This fixes https://bugs.llvm.org/show_bug.cgi?id=46605. rdar://problem/65158878 Differential Revision: https://reviews.llvm.org/D83317 From all-commits at lists.llvm.org Tue Jul 7 17:50:42 2020 From: all-commits at lists.llvm.org (SidManning via All-commits) Date: Tue, 07 Jul 2020 17:50:42 -0700 Subject: [all-commits] [llvm/llvm-project] baca8f: [compiler-rt][Hexagon] Remove fma/fmin/max code Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: baca8f977edce6edb0f9074b77a38c753f8f0c79 https://github.com/llvm/llvm-project/commit/baca8f977edce6edb0f9074b77a38c753f8f0c79 Author: Sid Manning Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M compiler-rt/lib/builtins/CMakeLists.txt M compiler-rt/lib/builtins/hexagon/dffma.S R compiler-rt/lib/builtins/hexagon/fabs_opt.S R compiler-rt/lib/builtins/hexagon/fma_opt.S R compiler-rt/lib/builtins/hexagon/fmax_opt.S R compiler-rt/lib/builtins/hexagon/fmin_opt.S Log Message: ----------- [compiler-rt][Hexagon] Remove fma/fmin/max code This code should reside in the c-library. Differential Revision: https://reviews.llvm.org/D82263 From all-commits at lists.llvm.org Tue Jul 7 17:56:17 2020 From: all-commits at lists.llvm.org (Wouter van Oortmerssen via All-commits) Date: Tue, 07 Jul 2020 17:56:17 -0700 Subject: [all-commits] [llvm/llvm-project] fd0964: [WebAssembly] fix gcc 10 warning Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: fd0964ae8340d24ce7991767fbbfe4bc01af87b3 https://github.com/llvm/llvm-project/commit/fd0964ae8340d24ce7991767fbbfe4bc01af87b3 Author: Wouter van Oortmerssen Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/include/llvm/BinaryFormat/Wasm.h M llvm/lib/MC/WasmObjectWriter.cpp Log Message: ----------- [WebAssembly] fix gcc 10 warning From all-commits at lists.llvm.org Tue Jul 7 18:01:33 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Tue, 07 Jul 2020 18:01:33 -0700 Subject: [all-commits] [llvm/llvm-project] f1d290: [X86] Merge the FEATURE_64BIT and FEATURE_EM64T bi... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f1d290d81298092b693076725cef4f34e951e974 https://github.com/llvm/llvm-project/commit/f1d290d81298092b693076725cef4f34e951e974 Author: Craig Topper Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/include/llvm/Support/X86TargetParser.def M llvm/lib/Analysis/InstructionSimplify.cpp M llvm/lib/Support/Host.cpp M llvm/lib/Support/X86TargetParser.cpp Log Message: ----------- [X86] Merge the FEATURE_64BIT and FEATURE_EM64T bits in X86TargetParser.def. These represent the same thing but 64BIT only showed up from getHostCPUFeatures providing a list of featuers to clang. While EM64T showed up from getting the features for a named CPU. EM64T didn't have a string specifically so it would not be passed up to clang when getting features for a named CPU. While 64bit needed a name since that's how it is index. Merge them by filtering 64bit out before sending features to clang for named CPUs. From all-commits at lists.llvm.org Tue Jul 7 18:21:05 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Tue, 07 Jul 2020 18:21:05 -0700 Subject: [all-commits] [llvm/llvm-project] d92bf7: Revert "[X86] Merge the FEATURE_64BIT and FEATURE_... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: d92bf71a07c1787b535f8eb9deb27a4f11ac2d44 https://github.com/llvm/llvm-project/commit/d92bf71a07c1787b535f8eb9deb27a4f11ac2d44 Author: Craig Topper Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/include/llvm/Support/X86TargetParser.def M llvm/lib/Analysis/InstructionSimplify.cpp M llvm/lib/Support/Host.cpp M llvm/lib/Support/X86TargetParser.cpp Log Message: ----------- Revert "[X86] Merge the FEATURE_64BIT and FEATURE_EM64T bits in X86TargetParser.def." An accidental change snuck in here This reverts commit f1d290d81298092b693076725cef4f34e951e974. From all-commits at lists.llvm.org Tue Jul 7 18:22:56 2020 From: all-commits at lists.llvm.org (Rahul Joshi via All-commits) Date: Tue, 07 Jul 2020 18:22:56 -0700 Subject: [all-commits] [llvm/llvm-project] 74145d: [MLIR] Combine the 2 overloads of FuncOp::build() ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 74145d584126da2ce7a836d9b2240d56442f3ea1 https://github.com/llvm/llvm-project/commit/74145d584126da2ce7a836d9b2240d56442f3ea1 Author: Rahul Joshi Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M mlir/include/mlir/IR/Function.h M mlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp M mlir/lib/Conversion/LinalgToStandard/LinalgToStandard.cpp M mlir/lib/IR/Function.cpp Log Message: ----------- [MLIR] Combine the 2 overloads of FuncOp::build() into one. - This will eliminate the need to pass an empty `ArrayRef{}` when no named attributes are required on the function. Differential Revision: https://reviews.llvm.org/D83356 From all-commits at lists.llvm.org Tue Jul 7 18:28:51 2020 From: all-commits at lists.llvm.org (Richard Smith via All-commits) Date: Tue, 07 Jul 2020 18:28:51 -0700 Subject: [all-commits] [llvm/llvm-project] 065fc1: PR45521: Preserve the value kind when performing a... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 065fc1eafe7c6f67f8029bcd38e6864b3c429e35 https://github.com/llvm/llvm-project/commit/065fc1eafe7c6f67f8029bcd38e6864b3c429e35 Author: Richard Smith Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M clang/lib/Sema/SemaExprCXX.cpp M clang/lib/Sema/SemaOverload.cpp M clang/test/SemaCXX/references.cpp Log Message: ----------- PR45521: Preserve the value kind when performing a standard conversion sequence on a glvalue expression. If the sequence is supposed to perform an lvalue-to-rvalue conversion, then one will be specified as the first conversion in the sequence. Otherwise, one should not be invented. From all-commits at lists.llvm.org Tue Jul 7 18:38:49 2020 From: all-commits at lists.llvm.org (HazemAbdelhafez via All-commits) Date: Tue, 07 Jul 2020 18:38:49 -0700 Subject: [all-commits] [llvm/llvm-project] 34c485: [mlir][spirv] Add MatrixTimesMatrix operation Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 34c485201507de2602b70b0df368dbc6c0b0fecb https://github.com/llvm/llvm-project/commit/34c485201507de2602b70b0df368dbc6c0b0fecb Author: HazemAbdelhafez <23439402+HazemAbdelhafez at users.noreply.github.com> Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td M mlir/include/mlir/Dialect/SPIRV/SPIRVMatrixOps.td M mlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h M mlir/lib/Dialect/SPIRV/SPIRVDialect.cpp M mlir/lib/Dialect/SPIRV/SPIRVOps.cpp M mlir/lib/Dialect/SPIRV/SPIRVTypes.cpp M mlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp M mlir/test/Dialect/SPIRV/Serialization/matrix.mlir M mlir/test/Dialect/SPIRV/matrix-ops.mlir Log Message: ----------- [mlir][spirv] Add MatrixTimesMatrix operation Add MatrixTimesMatrix operation to SPIRV Dialect and add NoSideEffect trait to Matrix ops. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D82671 From all-commits at lists.llvm.org Tue Jul 7 18:50:48 2020 From: all-commits at lists.llvm.org (Ben Shi via All-commits) Date: Tue, 07 Jul 2020 18:50:48 -0700 Subject: [all-commits] [llvm/llvm-project] cb82de: [RISCV] Optimize multiplication by constant Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: cb82de29601745d6c4beaf51ee1dbd1bf7acc186 https://github.com/llvm/llvm-project/commit/cb82de29601745d6c4beaf51ee1dbd1bf7acc186 Author: Ben Shi Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Target/RISCV/RISCVISelLowering.cpp M llvm/lib/Target/RISCV/RISCVISelLowering.h M llvm/test/CodeGen/RISCV/mul.ll Log Message: ----------- [RISCV] Optimize multiplication by constant ... to shift/add or shift/sub. Do not enable it on riscv32 with the M extension where decomposeMulByConstant may not be an optimization. Reviewed By: luismarques, MaskRay Differential Revision: https://reviews.llvm.org/D82660 From all-commits at lists.llvm.org Tue Jul 7 18:58:01 2020 From: all-commits at lists.llvm.org (Ben Shi via All-commits) Date: Tue, 07 Jul 2020 18:58:01 -0700 Subject: [all-commits] [llvm/llvm-project] 1e9d08: [RISCV] optimize addition with a pair of (addi imm) Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1e9d0811c9bf40abbe07d591057869568f140036 https://github.com/llvm/llvm-project/commit/1e9d0811c9bf40abbe07d591057869568f140036 Author: Ben Shi Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp A llvm/test/CodeGen/RISCV/add-imm.ll Log Message: ----------- [RISCV] optimize addition with a pair of (addi imm) For an addition with an immediate in specific ranges, a pair of addi-addi can be generated instead of the ordinary lui-addi-add serial. Reviewed By: MaskRay, luismarques Differential Revision: https://reviews.llvm.org/D82262 From all-commits at lists.llvm.org Tue Jul 7 19:04:16 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Tue, 07 Jul 2020 19:04:16 -0700 Subject: [all-commits] [llvm/llvm-project] 51b0da: Recommit "[X86] Merge the FEATURE_64BIT and FEATUR... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 51b0da731af75c68dd521e04cc576d5a611b1612 https://github.com/llvm/llvm-project/commit/51b0da731af75c68dd521e04cc576d5a611b1612 Author: Craig Topper Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/include/llvm/Support/X86TargetParser.def M llvm/lib/Support/Host.cpp M llvm/lib/Support/X86TargetParser.cpp Log Message: ----------- Recommit "[X86] Merge the FEATURE_64BIT and FEATURE_EM64T bits in X86TargetParser.def." These represent the same thing but 64BIT only showed up from getHostCPUFeatures providing a list of featuers to clang. While EM64T showed up from getting the features for a named CPU. EM64T didn't have a string specifically so it would not be passed up to clang when getting features for a named CPU. While 64bit needed a name since that's how it is index. Merge them by filtering 64bit out before sending features to clang for named CPUs. From all-commits at lists.llvm.org Tue Jul 7 19:08:03 2020 From: all-commits at lists.llvm.org (Muhammad Omair Javaid via All-commits) Date: Tue, 07 Jul 2020 19:08:03 -0700 Subject: [all-commits] [llvm/llvm-project] 1f780c: [LLDB] Disable flaky lldb-vscode tests on arm Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1f780c997c3616465a4180ffb20a5db4ec9d7776 https://github.com/llvm/llvm-project/commit/1f780c997c3616465a4180ffb20a5db4ec9d7776 Author: Muhammad Omair Javaid Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M lldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py Log Message: ----------- [LLDB] Disable flaky lldb-vscode tests on arm Summary: These two tests are flaky on lldb Arm buildbot as well. They are already being skipped for aarch64. I am going to mark them skipped for Arm. Tags: #lldb Differential Revision: https://reviews.llvm.org/D81978 From all-commits at lists.llvm.org Tue Jul 7 19:29:44 2020 From: all-commits at lists.llvm.org (Nico Weber via All-commits) Date: Tue, 07 Jul 2020 19:29:44 -0700 Subject: [all-commits] [llvm/llvm-project] fe13ee: [gn build] Port baca8f977ed Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: fe13ee875b102e5bf66c212883852f08796168b3 https://github.com/llvm/llvm-project/commit/fe13ee875b102e5bf66c212883852f08796168b3 Author: Nico Weber Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn Log Message: ----------- [gn build] Port baca8f977ed From all-commits at lists.llvm.org Tue Jul 7 19:38:33 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?VmFsZW50aW4gQ2xlbWVudCAo44OQ44Os44Oz44K/44Kk44OzIOOCr+ODrA==?= =?UTF-8?B?44Oh44OzKQ==?= via All-commits) Date: Tue, 07 Jul 2020 19:38:33 -0700 Subject: [all-commits] [llvm/llvm-project] 0a4149: [openmp][NFC] Remove duplicate clause defaultmap f... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 0a41493b9822514daf72d036d088ac91d9235b0c https://github.com/llvm/llvm-project/commit/0a41493b9822514daf72d036d088ac91d9235b0c Author: clementval Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/include/llvm/Frontend/OpenMP/OMP.td Log Message: ----------- [openmp][NFC] Remove duplicate clause defaultmap for target parallel do From all-commits at lists.llvm.org Tue Jul 7 19:57:41 2020 From: all-commits at lists.llvm.org (Nico Weber via All-commits) Date: Tue, 07 Jul 2020 19:57:41 -0700 Subject: [all-commits] [llvm/llvm-project] e885f3: Revert "[X86] Add back the assert in getImpliedFea... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e885f336fd78e35ccb8e967e0664b356de333963 https://github.com/llvm/llvm-project/commit/e885f336fd78e35ccb8e967e0664b356de333963 Author: Nico Weber Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M llvm/include/llvm/Support/X86TargetParser.def M llvm/lib/Support/X86TargetParser.cpp Log Message: ----------- Revert "[X86] Add back the assert in getImpliedFeatures that I removed in ef4cc70f3ed2a91e0a48c6448c517c3ba34c2846" This reverts commit 91f70675cc6e5c872e0059c11d797b8726eeac67. It seems to break most (all?) hwasan tests. From all-commits at lists.llvm.org Tue Jul 7 21:06:10 2020 From: all-commits at lists.llvm.org (Mehdi Amini via All-commits) Date: Tue, 07 Jul 2020 21:06:10 -0700 Subject: [all-commits] [llvm/llvm-project] f54d0e: Rename `xla_lhlo.terminator` into `return` in SCF ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f54d0e36be6a4d5dab67244e85b8664282dcf5d1 https://github.com/llvm/llvm-project/commit/f54d0e36be6a4d5dab67244e85b8664282dcf5d1 Author: Mehdi Amini Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M mlir/test/Dialect/SCF/parallel-loop-fusion.mlir Log Message: ----------- Rename `xla_lhlo.terminator` into `return` in SCF parallel loop test (NFC) It seems that these were inserted here inadvertently instead of using standard `return`. From all-commits at lists.llvm.org Tue Jul 7 21:06:46 2020 From: all-commits at lists.llvm.org (Tom Stellard via All-commits) Date: Tue, 07 Jul 2020 21:06:46 -0700 Subject: [all-commits] [llvm/llvm-project] Message-ID: Branch: refs/tags/llvmorg-10.0.1-rc4 Home: https://github.com/llvm/llvm-project From all-commits at lists.llvm.org Tue Jul 7 23:36:08 2020 From: all-commits at lists.llvm.org (serge-sans-paille via All-commits) Date: Tue, 07 Jul 2020 23:36:08 -0700 Subject: [all-commits] [llvm/llvm-project] edc7da: Upgrade TypePromotionTransaction to be able to rep... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: edc7da24057b22896dc6522d3f98ccdd75a4e7f8 https://github.com/llvm/llvm-project/commit/edc7da24057b22896dc6522d3f98ccdd75a4e7f8 Author: serge-sans-paille Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/CodeGen/CodeGenPrepare.cpp Log Message: ----------- Upgrade TypePromotionTransaction to be able to report changes in CodeGenPrepare optimizeMemoryInst was reporting no change while still modifying the IR. Inspect the status of TypePromotionTransaction to get a better status. Related to https://reviews.llvm.org/D80916 Differential Revision: https://reviews.llvm.org/D81256 From all-commits at lists.llvm.org Wed Jul 8 00:52:16 2020 From: all-commits at lists.llvm.org (Nithin VR via All-commits) Date: Wed, 08 Jul 2020 00:52:16 -0700 Subject: [all-commits] [llvm/llvm-project] 20e271: [analyzer] Warning for default constructed unique_... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 20e271a98de5609e22766e56f9c374b150f06982 https://github.com/llvm/llvm-project/commit/20e271a98de5609e22766e56f9c374b150f06982 Author: Nithin Vadukkumchery Rajendrakumar Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/docs/analyzer/checkers.rst M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt A clang/lib/StaticAnalyzer/Checkers/SmartPtr.h A clang/lib/StaticAnalyzer/Checkers/SmartPtrChecker.cpp M clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp M clang/test/Analysis/Inputs/system-header-simulator-cxx.h M clang/test/Analysis/analyzer-config.c M clang/test/Analysis/smart-ptr.cpp M clang/test/Analysis/use-after-move.cpp Log Message: ----------- [analyzer] Warning for default constructed unique_ptr dereference Summary: Add support for warning incase of default constructed unique pointer dereferences Reviewed By: NoQ, Szelethus, vsavchenko, xazax.hun Tags: #clang Differential Revision: https://reviews.llvm.org/D81315 From all-commits at lists.llvm.org Wed Jul 8 00:58:58 2020 From: all-commits at lists.llvm.org (llvmgnsyncbot via All-commits) Date: Wed, 08 Jul 2020 00:58:58 -0700 Subject: [all-commits] [llvm/llvm-project] d8dfd6: [gn build] Port 20e271a98de Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: d8dfd6dcc143a2164ae781de6598e72b7183fc3f https://github.com/llvm/llvm-project/commit/d8dfd6dcc143a2164ae781de6598e72b7183fc3f Author: LLVM GN Syncbot Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Checkers/BUILD.gn Log Message: ----------- [gn build] Port 20e271a98de From all-commits at lists.llvm.org Wed Jul 8 01:00:09 2020 From: all-commits at lists.llvm.org (Florian Hahn via All-commits) Date: Wed, 08 Jul 2020 01:00:09 -0700 Subject: [all-commits] [llvm/llvm-project] 80970a: [DSE, MSSA] Eliminate stores by terminators (free, l... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 80970ac87574c6d0292894a4a912fa512336f434 https://github.com/llvm/llvm-project/commit/80970ac87574c6d0292894a4a912fa512336f434 Author: Florian Hahn Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp M llvm/test/Transforms/DeadStoreElimination/MSSA/2016-07-17-UseAfterFree.ll M llvm/test/Transforms/DeadStoreElimination/MSSA/free.ll M llvm/test/Transforms/DeadStoreElimination/MSSA/lifetime.ll M llvm/test/Transforms/DeadStoreElimination/MSSA/memset-missing-debugloc.ll M llvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-captures.ll M llvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-malloc-free.ll M llvm/test/Transforms/DeadStoreElimination/MSSA/simple.ll Log Message: ----------- [DSE,MSSA] Eliminate stores by terminators (free,lifetime.end). This patch adds support for eliminating stores by free & lifetime.end calls. We can remove stores that are not read before calling a memory terminator and we can eliminate all stores after a memory terminator until we see a new lifetime.start. The second case seems to not really trigger much in practice though. Reviewers: dmgreen, rnk, efriedma, bryant, asbirlea, Tyker Reviewed By: asbirlea Differential Revision: https://reviews.llvm.org/D72410 From all-commits at lists.llvm.org Wed Jul 8 01:02:29 2020 From: all-commits at lists.llvm.org (Heejin Ahn via All-commits) Date: Wed, 08 Jul 2020 01:02:29 -0700 Subject: [all-commits] [llvm/llvm-project] 7e6793: [WebAssembly] Generate unreachable after __stack_c... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7e6793aa33dd61ed9dd531871fce30c1b7978e13 https://github.com/llvm/llvm-project/commit/7e6793aa33dd61ed9dd531871fce30c1b7978e13 Author: Heejin Ahn Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp M llvm/test/CodeGen/WebAssembly/stack-protector.ll Log Message: ----------- [WebAssembly] Generate unreachable after __stack_chk_fail `__stack_chk_fail` does not return, but `unreachable` was not generated following `call __stack_chk_fail`. This had a possibility to generate an invalid binary for functions with a return type, because `__stack_chk_fail`'s return type is void and `call __stack_chk_fail` can be the last instruction in the function whose return type is non-void. Generating `unreachable` after it makes sure CFGStackify's `fixEndsAtEndOfFunction` handles it correctly. Reviewed By: tlively Differential Revision: https://reviews.llvm.org/D83277 From all-commits at lists.llvm.org Wed Jul 8 01:07:25 2020 From: all-commits at lists.llvm.org (George Mitenkov via All-commits) Date: Wed, 08 Jul 2020 01:07:25 -0700 Subject: [all-commits] [llvm/llvm-project] 005803: [MLIR][SPIRVToLLVM] Miscellaneous ops conversion: ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 00580349c39280a1d0a9ef5999c9826dad553470 https://github.com/llvm/llvm-project/commit/00580349c39280a1d0a9ef5999c9826dad553470 Author: George Mitenkov Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp M mlir/test/Conversion/SPIRVToLLVM/arithmetic-ops-to-llvm.mlir A mlir/test/Conversion/SPIRVToLLVM/misc-ops-to-llvm.mlir Log Message: ----------- [MLIR][SPIRVToLLVM] Miscellaneous ops conversion: select, fmul and undef This patch introduces 3 new direct conversions for SPIR-V ops: - `spv.Select` - `spv.Undef` - `spv.FMul` that was skipped in the patch with arithmetic ops Differential Revision: https://reviews.llvm.org/D83291 From all-commits at lists.llvm.org Wed Jul 8 01:16:29 2020 From: all-commits at lists.llvm.org (david-arm via All-commits) Date: Wed, 08 Jul 2020 01:16:29 -0700 Subject: [all-commits] [llvm/llvm-project] 15aeb8: [CodeGen] Fix warnings in sve-ld1-addressing-mode-... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 15aeb805dc46fbd268388af5f8de19e4de29cdb3 https://github.com/llvm/llvm-project/commit/15aeb805dc46fbd268388af5f8de19e4de29cdb3 Author: David Sherwood Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/CodeGen/CodeGenPrepare.cpp M llvm/test/CodeGen/AArch64/sve-ld1-addressing-mode-reg-imm.ll M llvm/test/CodeGen/AArch64/sve-st1-addressing-mode-reg-imm.ll Log Message: ----------- [CodeGen] Fix warnings in sve-ld1-addressing-mode-reg-imm.ll For the GetElementPtr case in function AddressingModeMatcher::matchOperationAddr I've changed the code to use the TypeSize class instead of relying upon the implicit conversion to a uint64_t. As part of this we now check for scalable types and if we encounter one just bail out for now as the subsequent optimisations doesn't currently support them. This changes fixes up all warnings in the following tests: llvm/test/CodeGen/AArch64/sve-ld1-addressing-mode-reg-imm.ll llvm/test/CodeGen/AArch64/sve-st1-addressing-mode-reg-imm.ll Differential Revision: https://reviews.llvm.org/D83124 From all-commits at lists.llvm.org Wed Jul 8 01:26:56 2020 From: all-commits at lists.llvm.org (mikaelholmen via All-commits) Date: Wed, 08 Jul 2020 01:26:56 -0700 Subject: [all-commits] [llvm/llvm-project] cfcf8e: [analyzer] Silence gcc -Wparentheses warning [NFC] Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: cfcf8e17ef537686e03c58921a10593a2b0c4a3d https://github.com/llvm/llvm-project/commit/cfcf8e17ef537686e03c58921a10593a2b0c4a3d Author: Mikael Holmen Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/lib/StaticAnalyzer/Core/BugReporter.cpp Log Message: ----------- [analyzer] Silence gcc -Wparentheses warning [NFC] From all-commits at lists.llvm.org Wed Jul 8 01:37:04 2020 From: all-commits at lists.llvm.org (david-arm via All-commits) Date: Wed, 08 Jul 2020 01:37:04 -0700 Subject: [all-commits] [llvm/llvm-project] 5b14f5: [CodeGen] Fix wrong use of getVectorNumElements in... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 5b14f5051f134d29f51b523e5c9b602c08a4a7af https://github.com/llvm/llvm-project/commit/5b14f5051f134d29f51b523e5c9b602c08a4a7af Author: David Sherwood Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp Log Message: ----------- [CodeGen] Fix wrong use of getVectorNumElements in PromoteIntRes_EXTRACT_SUBVECTOR Calling getVectorNumElements() is not safe for scalable vectors and we should normally use getVectorElementCount() instead. However, for the code changed in this patch I decided to simply move the instantiation of the variable 'OutNumElems' lower down to the place where only fixed-width vectors are used, and hence it is safe to call getVectorNumElements(). Fixes up one warning in this test: sve-sext-zext.ll Differential Revision: https://reviews.llvm.org/D83195 From all-commits at lists.llvm.org Wed Jul 8 01:58:09 2020 From: all-commits at lists.llvm.org (david-arm via All-commits) Date: Wed, 08 Jul 2020 01:58:09 -0700 Subject: [all-commits] [llvm/llvm-project] 9e66e9: [CodeGen] Fix wrong use of getVectorNumElements() ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9e66e9c30a19dc5923c85d3a3a4b757935299fba https://github.com/llvm/llvm-project/commit/9e66e9c30a19dc5923c85d3a3a4b757935299fba Author: David Sherwood Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp Log Message: ----------- [CodeGen] Fix wrong use of getVectorNumElements() in DAGTypeLegalizer::SplitVecRes_ExtendOp In DAGTypeLegalizer::SplitVecRes_ExtendOp I have replaced an invalid call to getVectorNumElements() with a call to getVectorMinNumElements(), since the code path works for both fixed and scalable vectors. This fixes up a warning in the following test: sve-sext-zext.ll Differential Revision: https://reviews.llvm.org/D83197 From all-commits at lists.llvm.org Wed Jul 8 02:06:30 2020 From: all-commits at lists.llvm.org (Georgii Rymar via All-commits) Date: Wed, 08 Jul 2020 02:06:30 -0700 Subject: [all-commits] [llvm/llvm-project] 1f84ac: [llvm-readobj] - Refine error reporting in MipsGOT... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1f84ace3c7266564801d79185ebb05eb451205f1 https://github.com/llvm/llvm-project/commit/1f84ace3c7266564801d79185ebb05eb451205f1 Author: Georgii Rymar Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/test/tools/llvm-readobj/ELF/mips-got.test M llvm/test/tools/llvm-readobj/ELF/mips-plt.test M llvm/tools/llvm-readobj/ELFDumper.cpp Log Message: ----------- [llvm-readobj] - Refine error reporting in MipsGOTParser helper. This is a follow-up for D83225. This does the following: 1) Adds missing tests for existent errors. 2) Stops using `unwrapOrError` to propagate errors to caller. (I am trying to get rid of all `unwrapOrErr` calls in the llvm-readelf code). 3) Improves error messages reported slightly. Differential revision: https://reviews.llvm.org/D83314 From all-commits at lists.llvm.org Wed Jul 8 02:18:16 2020 From: all-commits at lists.llvm.org (Georgii Rymar via All-commits) Date: Wed, 08 Jul 2020 02:18:16 -0700 Subject: [all-commits] [llvm/llvm-project] bee8cd: [DebugInfo/DWARF] - Test invalid CFI opcodes prope... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: bee8cdcabd2b3931be3f240e70b0b04e766ea4fe https://github.com/llvm/llvm-project/commit/bee8cdcabd2b3931be3f240e70b0b04e766ea4fe Author: Georgii Rymar Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp M llvm/unittests/DebugInfo/DWARF/DWARFDebugFrameTest.cpp Log Message: ----------- [DebugInfo/DWARF] - Test invalid CFI opcodes properly and refine related `CFIProgram::parse` code. There are following issues with `CFIProgram::parse` code: 1) Invalid CFI opcodes were never tested. And currently a test would fail when the `LLVM_ENABLE_ABI_BREAKING_CHECKS` is enabled. It happens because the `DataExtractor::Cursor C` remains unchecked when the "Invalid extended CFI opcode" error is reported: ``` .eh_frame section at offset 0x1128 address 0x0: Program aborted due to an unhandled Error: Error value was Success. (Note: Success values must still be checked prior to being destroyed). ``` 2) It is impossible to reach the "Invalid primary CFI opcode" error with the current code. There are 3 possible primary opcode values and all of them are handled. Hence this error should be replaced with llvm_unreachable. 3) Errors currently reported are upper-case. This patch refines the code in the `CFIProgram::parse` method to fix all issues mentioned and adds unit tests for all possible invalid extended CFI opcodes. Differential revision: https://reviews.llvm.org/D82868 From all-commits at lists.llvm.org Wed Jul 8 02:21:15 2020 From: all-commits at lists.llvm.org (Simon Pilgrim via All-commits) Date: Wed, 08 Jul 2020 02:21:15 -0700 Subject: [all-commits] [llvm/llvm-project] c00a27: [X86][AVX] Remove redundant EXTRACT_VECTOR_ELT(VBR... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c00a27752e4944db609a683504bb10e0975fdf76 https://github.com/llvm/llvm-project/commit/c00a27752e4944db609a683504bb10e0975fdf76 Author: Simon Pilgrim Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Target/X86/X86ISelLowering.cpp Log Message: ----------- [X86][AVX] Remove redundant EXTRACT_VECTOR_ELT(VBROADCAST(SCALAR())) fold Noticed while looking for similar cases to rG931ec74f7a29 - SimplifyDemandedVectorElts and shuffle combining both should handle this now. Commit: 997a3c29f4655e930a9ef44be98d28368d757d98 https://github.com/llvm/llvm-project/commit/997a3c29f4655e930a9ef44be98d28368d757d98 Author: Simon Pilgrim Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/MC/MCParser/MasmParser.cpp Log Message: ----------- Fix MSVC "not all control paths return a value" warnings. NFC. Compare: https://github.com/llvm/llvm-project/compare/bee8cdcabd2b...997a3c29f465 From all-commits at lists.llvm.org Wed Jul 8 02:26:39 2020 From: all-commits at lists.llvm.org (Roman Lebedev via All-commits) Date: Wed, 08 Jul 2020 02:26:39 -0700 Subject: [all-commits] [llvm/llvm-project] a39c7a: [NFCI][llvm-reduce] Cleanup Delta passes to use Or... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a39c7ab9c355670510341191a802f3799265e9ef https://github.com/llvm/llvm-project/commit/a39c7ab9c355670510341191a802f3799265e9ef Author: Roman Lebedev Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/tools/llvm-reduce/deltas/Delta.h M llvm/tools/llvm-reduce/deltas/ReduceArguments.cpp M llvm/tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp M llvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp M llvm/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp M llvm/tools/llvm-reduce/deltas/ReduceInstructions.cpp M llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp M llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.cpp Log Message: ----------- [NFCI][llvm-reduce] Cleanup Delta passes to use Oracle abstraction Summary: I think, this results in much more understandable/readable flow. At least the original logic was perhaps the most hard thing for me to grasp when taking an initial look on the delta passes. Reviewers: nickdesaulniers, dblaikie, diegotf, george.burgess.iv Reviewed By: nickdesaulniers Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83287 From all-commits at lists.llvm.org Wed Jul 8 02:31:20 2020 From: all-commits at lists.llvm.org (Jeremy Morse via All-commits) Date: Wed, 08 Jul 2020 02:31:20 -0700 Subject: [all-commits] [llvm/llvm-project] b9d977: [DWARF] Add cuttoff guarding quadratic validThroug... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b9d977b0ca60c54f11615ca9d144c9f08b29fd85 https://github.com/llvm/llvm-project/commit/b9d977b0ca60c54f11615ca9d144c9f08b29fd85 Author: Jeremy Morse Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h A llvm/test/DebugInfo/MIR/X86/singlelocation-cutoffs.mir Log Message: ----------- [DWARF] Add cuttoff guarding quadratic validThroughout behaviour Occasionally we see absolutely massive basic blocks, typically in global constructors that are vulnerable to heavy inlining. When these blocks are dense with DBG_VALUE instructions, we can hit near quadratic complexity in DwarfDebug's validThroughout function. The problem is caused by: * validThroughout having to step through all instructions in the block to examine their lexical scope, * and a high proportion of instructions in that block being DBG_VALUEs for a unique variable fragment, Leading to us stepping through every instruction in the block, for (nearly) each instruction in the block. By adding this guard, we force variables in large blocks to use a location list rather than a single-location expression, as shown in the added test. This shouldn't change the meaning of the output DWARF at all: instead we use a less efficient DWARF encoding to avoid a poor-performance code path. Differential Revision: https://reviews.llvm.org/D83236 From all-commits at lists.llvm.org Wed Jul 8 02:38:54 2020 From: all-commits at lists.llvm.org (George Mitenkov via All-commits) Date: Wed, 08 Jul 2020 02:38:54 -0700 Subject: [all-commits] [llvm/llvm-project] 7a4e39: [MLIR][SPIRVToLLVM] Implementation of spv.BitField... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7a4e39b326d0cc69e6b4fbe9010aaf5dc704a12f https://github.com/llvm/llvm-project/commit/7a4e39b326d0cc69e6b4fbe9010aaf5dc704a12f Author: George Mitenkov Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp M mlir/test/Conversion/SPIRVToLLVM/bitwise-ops-to-llvm.mlir Log Message: ----------- [MLIR][SPIRVToLLVM] Implementation of spv.BitFieldSExtract and spv.BitFieldUExtract patterns This patch adds conversion patterns for `spv.BitFieldSExtract` and `spv.BitFieldUExtract`. As in the patch for `spv.BitFieldInsert`, `offset` and `count` have to be broadcasted in vector case and casted to match the type of the base. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D82640 From all-commits at lists.llvm.org Wed Jul 8 02:47:29 2020 From: all-commits at lists.llvm.org (Raphael Isemann via All-commits) Date: Wed, 08 Jul 2020 02:47:29 -0700 Subject: [all-commits] [llvm/llvm-project] e9f943: [lldb] Skip TestIOHandlerResizeNoEditline on Windows Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e9f943429c895e4d6d29505fab2fad365fe2766e https://github.com/llvm/llvm-project/commit/e9f943429c895e4d6d29505fab2fad365fe2766e Author: Raphael Isemann Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M lldb/test/API/iohandler/resize/TestIOHandlerResizeNoEditline.py Log Message: ----------- [lldb] Skip TestIOHandlerResizeNoEditline on Windows It seems opening the empty file and trying use that file object as an input stream doesn't work on Windows. Skipping it for now. From all-commits at lists.llvm.org Wed Jul 8 02:51:40 2020 From: all-commits at lists.llvm.org (paulwalker-arm via All-commits) Date: Wed, 08 Jul 2020 02:51:40 -0700 Subject: [all-commits] [llvm/llvm-project] fb7545: [SVE] Custom ISel for fixed length extract/insert_... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: fb75451775f83c04d53e4e94bb4bd298ea9a882f https://github.com/llvm/llvm-project/commit/fb75451775f83c04d53e4e94bb4bd298ea9a882f Author: Paul Walker Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp M llvm/lib/Target/AArch64/AArch64ISelLowering.h A llvm/test/CodeGen/AArch64/sve-fixed-length-subvector.ll Log Message: ----------- [SVE] Custom ISel for fixed length extract/insert_subvector. We use extact_subvector and insert_subvector to "cast" between fixed length and scalable vectors. This patch adds custom c++ based ISel for the following cases: fixed_vector = ISD::EXTRACT_SUBVECTOR scalable_vector, 0 scalable_vector = ISD::INSERT_SUBVECTOR undef(scalable_vector), fixed_vector, 0 Which result in either EXTRACT_SUBREG/INSERT_SUBREG for NEON sized vectors or COPY_TO_REGCLASS otherwise. Differential Revision: https://reviews.llvm.org/D82871 From all-commits at lists.llvm.org Wed Jul 8 03:18:10 2020 From: all-commits at lists.llvm.org (Alexander Richardson via All-commits) Date: Wed, 08 Jul 2020 03:18:10 -0700 Subject: [all-commits] [llvm/llvm-project] aae413: [UpdateTestChecks] Move more update_test_checks.py... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: aae413462fae16c481df31ff23b951c5df494a60 https://github.com/llvm/llvm-project/commit/aae413462fae16c481df31ff23b951c5df494a60 Author: Alex Richardson Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/utils/UpdateTestChecks/common.py M llvm/utils/update_test_checks.py Log Message: ----------- [UpdateTestChecks] Move more update_test_checks.py logic to common.py I intend to reuse this to add UTC_ARGS support for update_llc_test_checks.py and update_cc_test_checks.py in D78478. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D78618 Commit: a80afc032859ebe65af283f76b38a0f5921b683f https://github.com/llvm/llvm-project/commit/a80afc032859ebe65af283f76b38a0f5921b683f Author: Alex Richardson Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/test/utils/update_cc_test_checks/Inputs/mangled_names.c.funcsig.expected A clang/test/utils/update_cc_test_checks/Inputs/on_the_fly_arg_change.c A clang/test/utils/update_cc_test_checks/Inputs/on_the_fly_arg_change.c.expected M clang/test/utils/update_cc_test_checks/mangled_names.test A clang/test/utils/update_cc_test_checks/on_the_fly_arg_change.test M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/basic.ll.expected A llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/on_the_fly_arg_change.ll A llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/on_the_fly_arg_change.ll.expected M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/basic.test A llvm/test/tools/UpdateTestChecks/update_llc_test_checks/on_the_fly_arg_change.test M llvm/utils/update_cc_test_checks.py M llvm/utils/update_llc_test_checks.py Log Message: ----------- [UpdateTestChecks] Add UTC_ARGS support for update_{llc,cc}_test_checks.py https://reviews.llvm.org/D69701 added support for on-the-fly argument changes for update scripts. I recently wanted to keep some manual check lines in a test generated by update_cc_test_checks.py in our CHERI fork, so this commit adds support for UTC_ARGS in update_cc_test_checks.py. And since I was refactoring the code to be in common.py, I also added it for update_llc_test_checks.py. Reviewed By: jdoerfert, MaskRay Differential Revision: https://reviews.llvm.org/D78478 Compare: https://github.com/llvm/llvm-project/compare/fb75451775f8...a80afc032859 From all-commits at lists.llvm.org Wed Jul 8 03:26:35 2020 From: all-commits at lists.llvm.org (ostannard via All-commits) Date: Wed, 08 Jul 2020 03:26:35 -0700 Subject: [all-commits] [llvm/llvm-project] a50c7e: [Support] Fix signed/unsigned comparison warning Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a50c7ebfd0f06982e8dc31020acae4d32e6d0e9f https://github.com/llvm/llvm-project/commit/a50c7ebfd0f06982e8dc31020acae4d32e6d0e9f Author: Oliver Stannard Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Support/FormattedStream.cpp Log Message: ----------- [Support] Fix signed/unsigned comparison warning From all-commits at lists.llvm.org Wed Jul 8 03:26:57 2020 From: all-commits at lists.llvm.org (Simon Pilgrim via All-commits) Date: Wed, 08 Jul 2020 03:26:57 -0700 Subject: [all-commits] [llvm/llvm-project] 75f9aa: [X86][AVX] Add SimplifyDemandedVectorEltsForTarget... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 75f9aa6ce0751064d89bb19c9767866d770adf84 https://github.com/llvm/llvm-project/commit/75f9aa6ce0751064d89bb19c9767866d770adf84 Author: Simon Pilgrim Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/test/CodeGen/X86/vector-shuffle-avx512.ll Log Message: ----------- [X86][AVX] Add SimplifyDemandedVectorEltsForTargetShuffle test for v32i8->v16i8 PSHUFB On SKX targets we end up loading a v16i8 PSHUFB mask from a v32i8 constant and scaling incorrectly indexes the demanded elts mask - we're missing a check that the constant pool is the same size as the loaded mask. Test case from D81791 post-commit review. From all-commits at lists.llvm.org Wed Jul 8 03:33:12 2020 From: all-commits at lists.llvm.org (petar-avramovic via All-commits) Date: Wed, 08 Jul 2020 03:33:12 -0700 Subject: [all-commits] [llvm/llvm-project] 419c92: [GlobalISel][InlineAsm] Fix matching input constra... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 419c92a749294a22a3deaa22719094ebd4e70568 https://github.com/llvm/llvm-project/commit/419c92a749294a22a3deaa22719094ebd4e70568 Author: Petar Avramovic Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp M llvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll Log Message: ----------- [GlobalISel][InlineAsm] Fix matching input constraints to mem operand Mark matching input constraint to mem operand as not supported. Differential Revision: https://reviews.llvm.org/D83235 From all-commits at lists.llvm.org Wed Jul 8 03:34:10 2020 From: all-commits at lists.llvm.org (Raphael Isemann via All-commits) Date: Wed, 08 Jul 2020 03:34:10 -0700 Subject: [all-commits] [llvm/llvm-project] ebee16: [lldb][NFC] Fix indentation in expect_expr Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ebee165184a8000b7f650f0946b25b6ea51859b8 https://github.com/llvm/llvm-project/commit/ebee165184a8000b7f650f0946b25b6ea51859b8 Author: Raphael Isemann Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M lldb/packages/Python/lldbsuite/test/lldbtest.py Log Message: ----------- [lldb][NFC] Fix indentation in expect_expr From all-commits at lists.llvm.org Wed Jul 8 03:40:07 2020 From: all-commits at lists.llvm.org (Alexander Richardson via All-commits) Date: Wed, 08 Jul 2020 03:40:07 -0700 Subject: [all-commits] [llvm/llvm-project] 1be92d: Add missing REQUIRES: x86-registered-target Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1be92dd207275e1ecf09dd38f44ead908fe4b8c9 https://github.com/llvm/llvm-project/commit/1be92dd207275e1ecf09dd38f44ead908fe4b8c9 Author: Alex Richardson Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/on_the_fly_arg_change.test Log Message: ----------- Add missing REQUIRES: x86-registered-target This should fix build bot failures after a80afc032859ebe65af283f76b38a0f5921b683f From all-commits at lists.llvm.org Wed Jul 8 03:48:57 2020 From: all-commits at lists.llvm.org (Simon Pilgrim via All-commits) Date: Wed, 08 Jul 2020 03:48:57 -0700 Subject: [all-commits] [llvm/llvm-project] 9dc250: [X86][AVX] SimplifyDemandedVectorEltsForTargetShuf... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9dc250db9db29b0264fbb1e59bde8efa86d90c9b https://github.com/llvm/llvm-project/commit/9dc250db9db29b0264fbb1e59bde8efa86d90c9b Author: Simon Pilgrim Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Target/X86/X86ISelLowering.cpp M llvm/test/CodeGen/X86/vector-shuffle-avx512.ll Log Message: ----------- [X86][AVX] SimplifyDemandedVectorEltsForTargetShuffle - ensure mask is same size as constant size Fixes test regression reported on D81791 From all-commits at lists.llvm.org Wed Jul 8 04:04:40 2020 From: all-commits at lists.llvm.org (Michael Forney via All-commits) Date: Wed, 08 Jul 2020 04:04:40 -0700 Subject: [all-commits] [llvm/llvm-project] b19913: [cmake] Use CMAKE_GENERATOR to determine if Ninja ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b19913188d03d59332908f6280af37325bc49492 https://github.com/llvm/llvm-project/commit/b19913188d03d59332908f6280af37325bc49492 Author: Michael Forney Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/cmake/modules/HandleLLVMOptions.cmake Log Message: ----------- [cmake] Use CMAKE_GENERATOR to determine if Ninja is used The name of the make program does not necessarily match "ninja", especially if an alternative implementation like samurai is used. Using CMAKE_GENERATOR is a more robust detection method, and is already used elsewhere in this file. Differential revision: https://reviews.llvm.org/D77091 From all-commits at lists.llvm.org Wed Jul 8 04:51:02 2020 From: all-commits at lists.llvm.org (Pavel Labath via All-commits) Date: Wed, 08 Jul 2020 04:51:02 -0700 Subject: [all-commits] [llvm/llvm-project] 695b33: [lldb/API] Overwrite variables with SBLaunchInfo::... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 695b33a56919af8873eecb47cb83fa17a271e99f https://github.com/llvm/llvm-project/commit/695b33a56919af8873eecb47cb83fa17a271e99f Author: Pavel Labath Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M lldb/source/API/SBLaunchInfo.cpp M lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py Log Message: ----------- [lldb/API] Overwrite variables with SBLaunchInfo::SetEnvironment(append=true) Summary: This function was documented to overwrite entries with D76111, which was adding a couple of similar functions. However, this function (unlike the functions added in that patch) was/is not actually overwriting variables -- any pre-existing variables would get ignored. This behavior does not seem to be intentional. In fact, before the refactor in D41359, this function could introduce duplicate entries, which could have very surprising effects both inside lldb and on other applications (some applications would take the first value, some the second one; in lldb, attempting to unset a variable could make the second variable become active, etc.). Overwriting seems to be the most reasonable behavior here, so change the code to match documentation. Reviewers: clayborg, wallace, jingham Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D83306 From all-commits at lists.llvm.org Wed Jul 8 04:55:33 2020 From: all-commits at lists.llvm.org (Haojian Wu via All-commits) Date: Wed, 08 Jul 2020 04:55:33 -0700 Subject: [all-commits] [llvm/llvm-project] 96a5cf: [AST][RecoveryExpr] Fix the value category for rec... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 96a5cfff208d8e86a598e64412d9ef5dde0f9c9e https://github.com/llvm/llvm-project/commit/96a5cfff208d8e86a598e64412d9ef5dde0f9c9e Author: Haojian Wu Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/lib/AST/Expr.cpp M clang/lib/AST/ExprClassification.cpp M clang/lib/Sema/SemaOverload.cpp M clang/test/AST/ast-dump-recovery.cpp M clang/test/SemaCXX/recovery-expr-type.cpp Log Message: ----------- [AST][RecoveryExpr] Fix the value category for recovery expr. RecoveryExpr was always lvalue, but it is wrong if we use it to model broken function calls, function call expression has more compliated rules: - a call to a function whose return type is an lvalue reference yields an lvalue; - a call to a function whose return type is an rvalue reference yields an xvalue; - a call to a function whose return type is nonreference type yields a prvalue; This patch makes the recovery-expr align with the function call if it is modeled a broken call. Differential revision: https://reviews.llvm.org/D83201 From all-commits at lists.llvm.org Wed Jul 8 04:57:53 2020 From: all-commits at lists.llvm.org (Pavel Labath via All-commits) Date: Wed, 08 Jul 2020 04:57:53 -0700 Subject: [all-commits] [llvm/llvm-project] 88c824: [lldb/Utility] Simplify Scalar float accessors Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 88c82474d2ef92d0cda7d902206d90a73eed9c9d https://github.com/llvm/llvm-project/commit/88c82474d2ef92d0cda7d902206d90a73eed9c9d Author: Pavel Labath Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M lldb/source/Utility/Scalar.cpp Log Message: ----------- [lldb/Utility] Simplify Scalar float accessors Make use of APFloat conversion methods to avoid needing to switch based on the stored value type. From all-commits at lists.llvm.org Wed Jul 8 05:02:39 2020 From: all-commits at lists.llvm.org (Sylvestre Ledru via All-commits) Date: Wed, 08 Jul 2020 05:02:39 -0700 Subject: [all-commits] [llvm/llvm-project] bbea4d: clang: Don't show a trailing space with --version ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: bbea4d5e6b82a683dccaa8f4916e2a44f5dd3490 https://github.com/llvm/llvm-project/commit/bbea4d5e6b82a683dccaa8f4916e2a44f5dd3490 Author: Sylvestre Ledru Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/lib/Basic/Version.cpp Log Message: ----------- clang: Don't show a trailing space with --version when not built from the repo Reported here: https://bugs.llvm.org/show_bug.cgi?id=38998#c15 Reviewers: hans Differential Revision: https://reviews.llvm.org/D83386 From all-commits at lists.llvm.org Wed Jul 8 05:04:22 2020 From: all-commits at lists.llvm.org (Med Ismail Bennani via All-commits) Date: Wed, 08 Jul 2020 05:04:22 -0700 Subject: [all-commits] [llvm/llvm-project] 9c31da: [lldb/Core] Update comment to make it more explici... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9c31da853855eb952bbad98b99978df8c515e9b2 https://github.com/llvm/llvm-project/commit/9c31da853855eb952bbad98b99978df8c515e9b2 Author: Med Ismail Bennani Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M lldb/source/Core/ValueObject.cpp Log Message: ----------- [lldb/Core] Update comment to make it more explicit (NFC) Signed-off-by: Med Ismail Bennani From all-commits at lists.llvm.org Wed Jul 8 05:23:21 2020 From: all-commits at lists.llvm.org (RotateRight via All-commits) Date: Wed, 08 Jul 2020 05:23:21 -0700 Subject: [all-commits] [llvm/llvm-project] 911490: [x86] improve codegen for non-splat bit-masked vec... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 91149002872f968673c8f01f641dfe11dc4a4d7c https://github.com/llvm/llvm-project/commit/91149002872f968673c8f01f641dfe11dc4a4d7c Author: Sanjay Patel Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Target/X86/X86ISelLowering.cpp M llvm/test/CodeGen/X86/vselect-pcmp.ll Log Message: ----------- [x86] improve codegen for non-splat bit-masked vector compare and select (PR46531) vselect ((X & Pow2C) == 0), LHS, RHS --> vselect ((shl X, C') < 0), RHS, LHS Follow-up to D83073 - the non-splat mask cases where we actually see an improvement are quite limited from what I can tell. AVX1 needs multiply and blend capabilities and AVX2 needs vector shift and blend capabilities. The intersection of those 2 constraints is only vectors with 32-bit or 64-bit elements. XOP is/was better. Differential Revision: https://reviews.llvm.org/D83181 From all-commits at lists.llvm.org Wed Jul 8 05:25:44 2020 From: all-commits at lists.llvm.org (Isuru Fernando via All-commits) Date: Wed, 08 Jul 2020 05:25:44 -0700 Subject: [all-commits] [llvm/llvm-project] 2ebf4b: [flang] Fix setting mxcsr on MSVC Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 2ebf4b6e4c35c93c97da9ed14db7b38757c0d7f9 https://github.com/llvm/llvm-project/commit/2ebf4b6e4c35c93c97da9ed14db7b38757c0d7f9 Author: Isuru Fernando Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M flang/lib/Evaluate/host.cpp M flang/lib/Evaluate/host.h M flang/unittests/Evaluate/fp-testing.cpp M flang/unittests/Evaluate/fp-testing.h Log Message: ----------- [flang] Fix setting mxcsr on MSVC Reviewers: sscalpone, jdoerfert, #flang, DavidTruby, jeanPerier Reviewed By: jeanPerier Subscribers: richard.barton.arm, jeanPerier, ro, llvm-commits Tags: #llvm, #flang Differential Revision: https://reviews.llvm.org/D77815 From all-commits at lists.llvm.org Wed Jul 8 05:33:16 2020 From: all-commits at lists.llvm.org (Alexander Belyaev via All-commits) Date: Wed, 08 Jul 2020 05:33:16 -0700 Subject: [all-commits] [llvm/llvm-project] 1ea289: [mlir] Add ViewLikeOpInterface to std.memref_cast. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1ea289681acf622ceda783c8fda2f16754b7c933 https://github.com/llvm/llvm-project/commit/1ea289681acf622ceda783c8fda2f16754b7c933 Author: Alexander Belyaev Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M mlir/include/mlir/Dialect/StandardOps/IR/Ops.td M mlir/lib/Dialect/StandardOps/IR/Ops.cpp Log Message: ----------- [mlir] Add ViewLikeOpInterface to std.memref_cast. Summery: It's needed for correct work of BufferPlacement. Differential Revision: https://reviews.llvm.org/D83385 From all-commits at lists.llvm.org Wed Jul 8 06:12:46 2020 From: all-commits at lists.llvm.org (Alexey Bataev via All-commits) Date: Wed, 08 Jul 2020 06:12:46 -0700 Subject: [all-commits] [llvm/llvm-project] 64363a: [NVPTX]Add a test for debug info for packed bitfie... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 64363a9d93006595d05825ce8fdbcc146aac15b1 https://github.com/llvm/llvm-project/commit/64363a9d93006595d05825ce8fdbcc146aac15b1 Author: Alexey Bataev Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: A llvm/test/DebugInfo/NVPTX/packed_bitfields.ll Log Message: ----------- [NVPTX]Add a test for debug info for packed bitfields, NFC. From all-commits at lists.llvm.org Wed Jul 8 07:29:56 2020 From: all-commits at lists.llvm.org (Eduardo Caldas via All-commits) Date: Wed, 08 Jul 2020 07:29:56 -0700 Subject: [all-commits] [llvm/llvm-project] ea8bba: Fix crash on overloaded postfix unary operators du... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ea8bba7e8d0db3541a386ad649c4bf21d53e8380 https://github.com/llvm/llvm-project/commit/ea8bba7e8d0db3541a386ad649c4bf21d53e8380 Author: Eduardo Caldas Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/lib/Tooling/Syntax/BuildTree.cpp M clang/unittests/Tooling/Syntax/TreeTest.cpp Log Message: ----------- Fix crash on overloaded postfix unary operators due to invalid sloc Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82954 From all-commits at lists.llvm.org Wed Jul 8 07:30:20 2020 From: all-commits at lists.llvm.org (Ties Stuij via All-commits) Date: Wed, 08 Jul 2020 07:30:20 -0700 Subject: [all-commits] [llvm/llvm-project] 26a224: [CodeGen] Don't combine extract + concat vectors w... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 26a22478cdfe6fe4d169320910c38958d5dafc38 https://github.com/llvm/llvm-project/commit/26a22478cdfe6fe4d169320910c38958d5dafc38 Author: Ties Stuij Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp A llvm/test/CodeGen/AArch64/regress-combine-extract-vectors.ll Log Message: ----------- [CodeGen] Don't combine extract + concat vectors with non-legal types Summary: The following combine currently breaks in the DAGCombiner: ``` extract_vector_elt (concat_vectors v4i16:a, v4i16:b), x -> extract_vector_elt a, x ``` This happens because after we have combined these nodes we have inserted nodes that use individual instances of the vector element type. In the above example i16. However this isn't a legal type on all backends, and when the combining pass calls the legalizer it breaks as it expects types to already be legal. The type legalizer has already been run, and running it again would make a mess of the nodes. In the example code at least, the generated code is still efficient after the change. Reviewers: miyuki, arsenm, dmgreen, lebedev.ri Reviewed By: miyuki, lebedev.ri Subscribers: lebedev.ri, wdng, hiraditya, steven.zhang, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83231 From all-commits at lists.llvm.org Wed Jul 8 07:32:31 2020 From: all-commits at lists.llvm.org (Pete Steinfeld via All-commits) Date: Wed, 08 Jul 2020 07:32:31 -0700 Subject: [all-commits] [llvm/llvm-project] 15fa28: [flang] Support for image selectors Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 15fa287b64d0ef845201339994cdf6eb3e4d51e1 https://github.com/llvm/llvm-project/commit/15fa287b64d0ef845201339994cdf6eb3e4d51e1 Author: Pete Steinfeld Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M flang/include/flang/Parser/tools.h M flang/lib/Parser/tools.cpp M flang/lib/Semantics/check-coarray.cpp M flang/lib/Semantics/check-coarray.h M flang/lib/Semantics/expression.cpp A flang/test/Semantics/resolve94.f90 Log Message: ----------- [flang] Support for image selectors Summary: This change implements support for image selectors and image selector specifications as described in section 9.6. In check-coarray[.h,cpp] I changed the `Leave()` function for `parser::ImageSelectorSpec` to take a `parser::ImageSelector`, which contains a list of image selector specifications. This allows us to detect when the same specification is used more than once. I also added code to analyze the expressions for the image selector specifications to expression.cpp and a test for all of the conditions to check at compile-time. Note that we do not check at compile-time to see if the value of the cosubscripts are within the specified cobounds. We also do not check anything related to selecting a valid team. We also do not check that the denotation of the `stat-variable` is not dependent on the evaluation of an entity in the same statement. Reviewers: klausler, tskeith, DavidTruby Subscribers: llvm-commits Tags: #llvm, #flang Differential Revision: https://reviews.llvm.org/D83336 From all-commits at lists.llvm.org Wed Jul 8 07:34:46 2020 From: all-commits at lists.llvm.org (Eric Schweitz via All-commits) Date: Wed, 08 Jul 2020 07:34:46 -0700 Subject: [all-commits] [llvm/llvm-project] 24b62f: [flang] Upstreaming intrinsic call lowering. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 24b62f28c5daa293a2602712e1eba82cb59f3a6f https://github.com/llvm/llvm-project/commit/24b62f28c5daa293a2602712e1eba82cb59f3a6f Author: Eric Schweitz Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M flang/include/flang/Lower/CharacterExpr.h M flang/include/flang/Lower/IntrinsicCall.h M flang/include/flang/Lower/Mangler.h M flang/include/flang/Optimizer/Dialect/FIRType.h M flang/lib/Lower/CMakeLists.txt M flang/lib/Lower/CharacterExpr.cpp A flang/lib/Lower/IntrinsicCall.cpp M flang/lib/Lower/Mangler.cpp M flang/lib/Optimizer/Dialect/FIRType.cpp Log Message: ----------- [flang] Upstreaming intrinsic call lowering. This module implements the lowering of Fortran intrinsics to the corresponding calls in support libraries (the Fortran runtime, math libraries, etc.) This revision is a tad larger because there are a large number of Fortran intrinsics and this adds lowering for a fair number of them. Differential revision: https://reviews.llvm.org/D83355 From all-commits at lists.llvm.org Wed Jul 8 07:53:39 2020 From: all-commits at lists.llvm.org (Sam McCall via All-commits) Date: Wed, 08 Jul 2020 07:53:39 -0700 Subject: [all-commits] [llvm/llvm-project] 69c22e: [clangd] Enable reading config from files behind a... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 69c22edb7d30983f1bb9d21154e427ebcc5f699c https://github.com/llvm/llvm-project/commit/69c22edb7d30983f1bb9d21154e427ebcc5f699c Author: Sam McCall Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang-tools-extra/clangd/tool/ClangdMain.cpp Log Message: ----------- [clangd] Enable reading config from files behind a flag Reviewers: kadircet, hokein Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D83233 From all-commits at lists.llvm.org Wed Jul 8 08:19:59 2020 From: all-commits at lists.llvm.org (Stanislav Mekhanoshin via All-commits) Date: Wed, 08 Jul 2020 08:19:59 -0700 Subject: [all-commits] [llvm/llvm-project] 640300: SLP: honor requested max vector size merging PHIs Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 64030099c378062131fa1b29742a783f2ca14c17 https://github.com/llvm/llvm-project/commit/64030099c378062131fa1b29742a783f2ca14c17 Author: Stanislav Mekhanoshin Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp M llvm/test/Transforms/SLPVectorizer/X86/remark_unsupported.ll M llvm/test/Transforms/SLPVectorizer/slp-max-phi-size.ll Log Message: ----------- SLP: honor requested max vector size merging PHIs At the moment this place does not check maximum size set by TTI and just creates a maximum possible vectors. Differential Revision: https://reviews.llvm.org/D82227 From all-commits at lists.llvm.org Wed Jul 8 08:25:58 2020 From: all-commits at lists.llvm.org (Stefan Stipanovic via All-commits) Date: Wed, 08 Jul 2020 08:25:58 -0700 Subject: [all-commits] [llvm/llvm-project] 6aab27: [OpenMPIRBuilder][Fix] Move llvm::omp::types to Op... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6aab27ba851f132f01ea8e87f92243918dc23cfd https://github.com/llvm/llvm-project/commit/6aab27ba851f132f01ea8e87f92243918dc23cfd Author: sstefan1 Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/lib/CodeGen/CGDecl.cpp M clang/lib/CodeGen/CGExpr.cpp M clang/lib/CodeGen/CGOpenMPRuntime.cpp M clang/lib/CodeGen/CGOpenMPRuntime.h M clang/lib/CodeGen/CGStmtOpenMP.cpp M clang/lib/CodeGen/CodeGenFunction.cpp M clang/lib/CodeGen/CodeGenModule.cpp M clang/lib/CodeGen/CodeGenModule.h M llvm/include/llvm/Frontend/OpenMP/OMPConstants.h M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h M llvm/lib/Frontend/OpenMP/OMPConstants.cpp M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp M llvm/lib/Transforms/IPO/OpenMPOpt.cpp M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp Log Message: ----------- [OpenMPIRBuilder][Fix] Move llvm::omp::types to OpenMPIRBuilder. Summary: D82193 exposed a problem with global type definitions in `OMPConstants.h`. This causes a race when running in thinLTO mode. Types now live inside of OpenMPIRBuilder to prevent this from happening. Reviewers: jdoerfert Subscribers: yaxunl, hiraditya, guansong, dexonsmith, aaron.ballman, cfe-commits, llvm-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D83176 From all-commits at lists.llvm.org Wed Jul 8 08:32:02 2020 From: all-commits at lists.llvm.org (Sam McCall via All-commits) Date: Wed, 08 Jul 2020 08:32:02 -0700 Subject: [all-commits] [llvm/llvm-project] a15d79: [clangd] Improve serialization error messages. NFC Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a15d798594ae340b037efec2cdba5ec77221e7e7 https://github.com/llvm/llvm-project/commit/a15d798594ae340b037efec2cdba5ec77221e7e7 Author: Sam McCall Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang-tools-extra/clangd/RIFF.cpp M clang-tools-extra/clangd/RIFF.h M clang-tools-extra/clangd/index/Serialization.cpp Log Message: ----------- [clangd] Improve serialization error messages. NFC From all-commits at lists.llvm.org Wed Jul 8 08:36:49 2020 From: all-commits at lists.llvm.org (serge-sans-paille via All-commits) Date: Wed, 08 Jul 2020 08:36:49 -0700 Subject: [all-commits] [llvm/llvm-project] 37afd9: Double check that passes correctly set their Modif... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 37afd99c768b29c7df7c5f2eb645362fb61f9915 https://github.com/llvm/llvm-project/commit/37afd99c768b29c7df7c5f2eb645362fb61f9915 Author: serge-sans-paille Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/IR/LegacyPassManager.cpp M llvm/unittests/IR/LegacyPassManagerTest.cpp Log Message: ----------- Double check that passes correctly set their Modified status The approach is simple: if a pass reports that it's not modifying a Function/Module, compute a loose hash of that Function/Module and compare it with the original one. If we report no change but there's a hash change, then we have an error. This approach misses a lot of change but it's not super intrusive and can detect most of the simple mistakes. Differential Revision: https://reviews.llvm.org/D80916 From all-commits at lists.llvm.org Wed Jul 8 08:39:38 2020 From: all-commits at lists.llvm.org (Bruno Ricci via All-commits) Date: Wed, 08 Jul 2020 08:39:38 -0700 Subject: [all-commits] [llvm/llvm-project] 7a7d50: [clang][NFC] Also test for serialization in test/A... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7a7d50e1f0d84c701fd2aa1b84a73a3e194fb91a https://github.com/llvm/llvm-project/commit/7a7d50e1f0d84c701fd2aa1b84a73a3e194fb91a Author: Bruno Ricci Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/test/AST/ast-dump-APValue-anon-union.cpp M clang/test/AST/ast-dump-APValue-arithmetic.cpp M clang/test/AST/ast-dump-APValue-array.cpp M clang/test/AST/ast-dump-APValue-struct.cpp M clang/test/AST/ast-dump-APValue-todo.cpp M clang/test/AST/ast-dump-APValue-union.cpp M clang/test/AST/ast-dump-APValue-vector.cpp Log Message: ----------- [clang][NFC] Also test for serialization in test/AST/ast-dump-APValue-* This does not actually exercise the serialization of APValue, but it will at least prevent a regression in the future. NFC. From all-commits at lists.llvm.org Wed Jul 8 08:41:43 2020 From: all-commits at lists.llvm.org (paulwalker-arm via All-commits) Date: Wed, 08 Jul 2020 08:41:43 -0700 Subject: [all-commits] [llvm/llvm-project] bb35f0: [SelectionDAG] Fix incorrect offset when expanding... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: bb35f0fd89ff4904cc954f1578b6bbe28a6795f1 https://github.com/llvm/llvm-project/commit/bb35f0fd89ff4904cc954f1578b6bbe28a6795f1 Author: Paul Walker Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp A llvm/test/CodeGen/AArch64/sve-fixed-length-shuffles.ll Log Message: ----------- [SelectionDAG] Fix incorrect offset when expanding CONCAT_VECTORS. ExpandVectorBuildThroughStack is also used for CONCAT_VECTORS. However, when calculating the offsets for each of the operands we incorrectly use the element size rather than actual size and thus the stores overlap. Differential Revision: https://reviews.llvm.org/D83303 From all-commits at lists.llvm.org Wed Jul 8 08:43:15 2020 From: all-commits at lists.llvm.org (Pavel Labath via All-commits) Date: Wed, 08 Jul 2020 08:43:15 -0700 Subject: [all-commits] [llvm/llvm-project] 7fd296: [lldb] Modernize/clean up ValueObject::GetChildMem... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7fd29699d6042af674c4f4ad185c91f82cb73b52 https://github.com/llvm/llvm-project/commit/7fd29699d6042af674c4f4ad185c91f82cb73b52 Author: Pavel Labath Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M lldb/source/Core/ValueObject.cpp Log Message: ----------- [lldb] Modernize/clean up ValueObject::GetChildMemberWithName From all-commits at lists.llvm.org Wed Jul 8 08:47:57 2020 From: all-commits at lists.llvm.org (Eric Schweitz via All-commits) Date: Wed, 08 Jul 2020 08:47:57 -0700 Subject: [all-commits] [llvm/llvm-project] c54a01: partial revert on RTBuilder.h to avoid warnings. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c54a013e5a8206645e2611974ff83d19d74accbe https://github.com/llvm/llvm-project/commit/c54a013e5a8206645e2611974ff83d19d74accbe Author: Eric Schweitz Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M flang/lib/Lower/RTBuilder.h Log Message: ----------- partial revert on RTBuilder.h to avoid warnings. From all-commits at lists.llvm.org Wed Jul 8 08:49:25 2020 From: all-commits at lists.llvm.org (aeubanks via All-commits) Date: Wed, 08 Jul 2020 08:49:25 -0700 Subject: [all-commits] [llvm/llvm-project] 470bf7: [Preallocated] Add @llvm.call.preallocated.teardown Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 470bf7b5a2976b5792a97b2d053a59d4b1082a5f https://github.com/llvm/llvm-project/commit/470bf7b5a2976b5792a97b2d053a59d4b1082a5f Author: Arthur Eubanks Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/docs/LangRef.rst M llvm/include/llvm/IR/Intrinsics.td M llvm/lib/IR/Verifier.cpp M llvm/test/Verifier/preallocated-invalid.ll M llvm/test/Verifier/preallocated-valid.ll Log Message: ----------- [Preallocated] Add @llvm.call.preallocated.teardown This cleans up the stack allocated by a @llvm.call.preallocated.setup. Should either call the teardown or the preallocated call to clean up the stack. Calling both is UB. Add LangRef. Add verifier check that the token argument is a @llvm.call.preallocated.setup. Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D83354 From all-commits at lists.llvm.org Wed Jul 8 08:50:34 2020 From: all-commits at lists.llvm.org (eleviant via All-commits) Date: Wed, 08 Jul 2020 08:50:34 -0700 Subject: [all-commits] [llvm/llvm-project] a07498: [MIR] Speedup parsing of function with large numbe... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a07498425099adbae38d3e8b01a0097fd6791c68 https://github.com/llvm/llvm-project/commit/a07498425099adbae38d3e8b01a0097fd6791c68 Author: Evgeny Leviant Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/CodeGen/MIRParser/MIParser.cpp Log Message: ----------- [MIR] Speedup parsing of function with large number of basic blocks Patch eliminates string length calculation when lexing a token. Speedup can be up to 1000x. Differential revision: https://reviews.llvm.org/D83389 From all-commits at lists.llvm.org Wed Jul 8 08:54:33 2020 From: all-commits at lists.llvm.org (aeubanks via All-commits) Date: Wed, 08 Jul 2020 08:54:33 -0700 Subject: [all-commits] [llvm/llvm-project] 481709: [NewPM][opt] Share -disable-loop-unrolling between... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 481709e831b9e14793dea0a825ecc9cd5f1950ca https://github.com/llvm/llvm-project/commit/481709e831b9e14793dea0a825ecc9cd5f1950ca Author: Arthur Eubanks Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/test/Transforms/LoopUnroll/FullUnroll.ll M llvm/tools/opt/NewPMDriver.cpp M llvm/tools/opt/opt.cpp Log Message: ----------- [NewPM][opt] Share -disable-loop-unrolling between pass managers There's no reason to introduce a new option for the NPM. The various PGO options are shared in this manner. Reviewed By: echristo Differential Revision: https://reviews.llvm.org/D83368 From all-commits at lists.llvm.org Wed Jul 8 08:56:38 2020 From: all-commits at lists.llvm.org (Chris Gyurgyik via All-commits) Date: Wed, 08 Jul 2020 08:56:38 -0700 Subject: [all-commits] [llvm/llvm-project] 9d8b4d: [libc] Fix typographical error in math_utils.h. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9d8b4defd3c363ede4b2efc69dae7376d0bc5ffe https://github.com/llvm/llvm-project/commit/9d8b4defd3c363ede4b2efc69dae7376d0bc5ffe Author: Chris Gyurgyik <37983775+cgyurgyik at users.noreply.github.com> Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M libc/src/math/math_utils.h Log Message: ----------- [libc] Fix typographical error in math_utils.h. From all-commits at lists.llvm.org Wed Jul 8 09:01:15 2020 From: all-commits at lists.llvm.org (Bruno Ricci via All-commits) Date: Wed, 08 Jul 2020 09:01:15 -0700 Subject: [all-commits] [llvm/llvm-project] 1ba6fb: [clang] Fix a crash when passing a C structure of ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1ba6fb9293967de21ae33be10603bf5ae0ce1c96 https://github.com/llvm/llvm-project/commit/1ba6fb9293967de21ae33be10603bf5ae0ce1c96 Author: Aleksandr Platonov Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/lib/Sema/SemaInit.cpp A clang/test/Sema/init-ref-c.c Log Message: ----------- [clang] Fix a crash when passing a C structure of incompatible type to a function with a reference parameter. __builtin_va_*() and __builtin_ms_va_*() are declared as functions with a parameter of reference type. This patch fixes a crash when using these functions in C where an argument of structure type is incompatible with the parameter type. Differential Revision: https://reviews.llvm.org/D82805 Reviewed By: riccibruno Patch by: Aleksandr Platonov From all-commits at lists.llvm.org Wed Jul 8 09:01:46 2020 From: all-commits at lists.llvm.org (aeubanks via All-commits) Date: Wed, 08 Jul 2020 09:01:46 -0700 Subject: [all-commits] [llvm/llvm-project] 3f1733: [NewPM][opt] Translate "-O#" to NPM's "default" Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 3f17332aa71542842ceb76e77b45315e6f3ff819 https://github.com/llvm/llvm-project/commit/3f17332aa71542842ceb76e77b45315e6f3ff819 Author: Arthur Eubanks Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/test/Other/opt-hot-cold-split.ll M llvm/tools/opt/opt.cpp Log Message: ----------- [NewPM][opt] Translate "-O#" to NPM's "default" Fixes 52 check-llvm tests under NPM. Reviewed By: hans Differential Revision: https://reviews.llvm.org/D83367 From all-commits at lists.llvm.org Wed Jul 8 09:02:59 2020 From: all-commits at lists.llvm.org (Louis Dionne via All-commits) Date: Wed, 08 Jul 2020 09:02:59 -0700 Subject: [all-commits] [llvm/llvm-project] a42a58: [libc++] Mark some tests as unsupported on GCC 5 Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a42a58c9ceedf7358a684e8f28b9dc7edd7a19f3 https://github.com/llvm/llvm-project/commit/a42a58c9ceedf7358a684e8f28b9dc7edd7a19f3 Author: Louis Dionne Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M libcxx/test/libcxx/debug/containers/db_sequence_container_iterators.multithread.pass.cpp M libcxx/test/libcxx/diagnostics/nodiscard_extensions.pass.cpp M libcxx/test/libcxx/double_include.sh.cpp M libcxx/test/libcxx/input.output/filesystems/convert_file_time.pass.cpp M libcxx/test/libcxx/memory/aligned_allocation_macro.pass.cpp M libcxx/test/libcxx/min_max_macros.compile.pass.cpp M libcxx/test/libcxx/no_assert_include.compile.pass.cpp M libcxx/test/libcxx/utilities/optional/optional.object/optional.object.assign/copy.pass.cpp M libcxx/test/libcxx/utilities/optional/optional.object/optional.object.assign/move.pass.cpp M libcxx/test/libcxx/utilities/variant/variant.variant/variant_size.pass.cpp M libcxx/test/libcxx/utilities/variant/version.pass.cpp M libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.fail.cpp M libcxx/test/std/containers/sequences/array/aggregate.pass.cpp M libcxx/test/std/containers/sequences/array/at.pass.cpp M libcxx/test/std/containers/sequences/array/at_const.pass.cpp M libcxx/test/std/containers/sequences/array/contiguous.pass.cpp M libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/make_move_iterator.pass.cpp M libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gt.pass.cpp M libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gte.pass.cpp M libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_lte.pass.cpp Log Message: ----------- [libc++] Mark some tests as unsupported on GCC 5 There used to be a workaround where we'd pretend that GCC 5 didn't support C++14 because it doesn't implement it properly. Since that workaround has been removed (in 1eb211ada17a), we need to mark a few individual tests as failing with GCC 5. From all-commits at lists.llvm.org Wed Jul 8 09:13:23 2020 From: all-commits at lists.llvm.org (sjoerdmeijer via All-commits) Date: Wed, 08 Jul 2020 09:13:23 -0700 Subject: [all-commits] [llvm/llvm-project] 0fc17e: [matrix] Add some more Verifier negative tests. NFC. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 0fc17e9edc8f95e2f52966b2187fa04002f30f3d https://github.com/llvm/llvm-project/commit/0fc17e9edc8f95e2f52966b2187fa04002f30f3d Author: Sjoerd Meijer Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/test/Verifier/matrix-intrinsics.ll Log Message: ----------- [matrix] Add some more Verifier negative tests. NFC. From all-commits at lists.llvm.org Wed Jul 8 09:15:53 2020 From: all-commits at lists.llvm.org (serge-sans-paille via All-commits) Date: Wed, 08 Jul 2020 16:15:53 +0000 (UTC) Subject: [all-commits] [llvm/llvm-project] bf9a94: Revert "Double check that passes correctly set the... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: bf9a940c3f1b460420b1106fe5b1565fd60be5a2 https://github.com/llvm/llvm-project/commit/bf9a940c3f1b460420b1106fe5b1565fd60be5a2 Author: serge-sans-paille Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/IR/LegacyPassManager.cpp M llvm/unittests/IR/LegacyPassManagerTest.cpp Log Message: ----------- Revert "Double check that passes correctly set their Modified status" This reverts commit 37afd99c768b29c7df7c5f2eb645362fb61f9915. From all-commits at lists.llvm.org Wed Jul 8 09:19:10 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?Tmljb2xhaSBIw6Robmxl?= via All-commits) Date: Wed, 08 Jul 2020 09:19:10 -0700 Subject: [all-commits] [llvm/llvm-project] 3fa989: DomTree: remove explicit use of DomTreeNodeBase::i... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 3fa989d4fd6b854209ba4e950d96b91d6d5797b4 https://github.com/llvm/llvm-project/commit/3fa989d4fd6b854209ba4e950d96b91d6d5797b4 Author: Nicolai Hähnle Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/include/clang/Analysis/Analyses/Dominators.h M llvm/include/llvm/CodeGen/MachineDominators.h M llvm/include/llvm/IR/Dominators.h M llvm/lib/Target/X86/X86InstrInfo.cpp M llvm/lib/Transforms/Scalar/EarlyCSE.cpp M llvm/lib/Transforms/Scalar/Sink.cpp M llvm/lib/Transforms/Vectorize/VPlanDominatorTree.h M mlir/include/mlir/IR/Dominance.h M mlir/lib/Transforms/CSE.cpp Log Message: ----------- DomTree: remove explicit use of DomTreeNodeBase::iterator Summary: Almost all uses of these iterators, including implicit ones, really only need the const variant (as it should be). The only exception is in NewGVN, which changes the order of dominator tree child nodes. Change-Id: I4b5bd71e32d71b0c67b03d4927d93fe9413726d4 Reviewers: arsenm, RKSimon, mehdi_amini, courbet, rriddle, aartbik Subscribers: wdng, Prazek, hiraditya, kuhar, rogfer01, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, vkmr, Kayjukh, jurahul, msifontes, cfe-commits, llvm-commits Tags: #clang, #mlir, #llvm Differential Revision: https://reviews.llvm.org/D83087 From all-commits at lists.llvm.org Wed Jul 8 09:21:04 2020 From: all-commits at lists.llvm.org (Ulrich Weigand via All-commits) Date: Wed, 08 Jul 2020 09:21:04 -0700 Subject: [all-commits] [llvm/llvm-project] cca857: [SystemZ] Allow specifying integer registers as pa... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: cca8578efab096fddcb0134b28b17f4758e9afa0 https://github.com/llvm/llvm-project/commit/cca8578efab096fddcb0134b28b17f4758e9afa0 Author: Ulrich Weigand Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp M llvm/test/MC/SystemZ/insn-bad.s M llvm/test/MC/SystemZ/insn-good-z13.s M llvm/test/MC/SystemZ/insn-good-z14.s M llvm/test/MC/SystemZ/insn-good-z15.s M llvm/test/MC/SystemZ/insn-good.s M llvm/test/MC/SystemZ/regs-good.s M llvm/test/MC/SystemZ/tokens.s Log Message: ----------- [SystemZ] Allow specifying integer registers as part of the address calculation Revision e1de2773a534957305d7a559c6d88c4b5ac354e2 provided support for accepting integer registers in inline asm i.e. __asm("lhi %r0, 5") -> lhi %r0, 5 __asm("lhi 0, 5") -> lhi 0,5 This patch aims to extend this support to instructions which compute addresses as well. (i.e instructions of type BDMem and BD[X|R|V|L]Mem) Author: anirudhp Differential Revision: https://reviews.llvm.org/D83251 From all-commits at lists.llvm.org Wed Jul 8 09:24:12 2020 From: all-commits at lists.llvm.org (wmi-11 via All-commits) Date: Wed, 08 Jul 2020 09:24:12 -0700 Subject: [all-commits] [llvm/llvm-project] e32469: [SampleFDO] Enable sample-profile-top-down-load an... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e32469a140374737ad0ece395d5b52444bd94cd1 https://github.com/llvm/llvm-project/commit/e32469a140374737ad0ece395d5b52444bd94cd1 Author: Wei Mi Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Transforms/IPO/SampleProfile.cpp M llvm/test/Transforms/SampleProfile/inline-mergeprof.ll M llvm/test/Transforms/SampleProfile/inline-topdown.ll Log Message: ----------- [SampleFDO] Enable sample-profile-top-down-load and sample-profile-merge-inlinee by default. sample-profile-top-down-load is an internal option which can enable top-down order of inlining and profile annotation in sample profile load pass. It was found to be beneficial for better profile annotation. Recently we found it could also solve some build time issue. Suppose function A has many callsites in function B. In the last release binary where sample profile was collected, the outline copy of A is large because there are many other functions inlined into A. However although all the callsites calling A in B are inlined, but every inlined body is small (A was inlined into B before other functions are inlined into A), there is no build time issue in last release. In an optimized build using the sample profile collected from last release, without top-down inlining, we saw a case that A got very large because of inlining, and then multiple callsites of A got inlined into B, and that led to a huge B which caused significant build time issue besides profile annotation issue. To solve that problem, the patch enables the flag sample-profile-top-down-load by default. sample-profile-top-down-load can have better performance when it is enabled together with sample-profile-merge-inlinee so in this patch we also enable sample-profile-merge-inlinee by default. Differential Revision: https://reviews.llvm.org/D82919 From all-commits at lists.llvm.org Wed Jul 8 09:33:18 2020 From: all-commits at lists.llvm.org (aeubanks via All-commits) Date: Wed, 08 Jul 2020 09:33:18 -0700 Subject: [all-commits] [llvm/llvm-project] 0b2536: [NewPM] Add PredicateInfoPrinterPass to PassRegist... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 0b2536d0bdb4cba2a0305067cc0d2ff988ab909d https://github.com/llvm/llvm-project/commit/0b2536d0bdb4cba2a0305067cc0d2ff988ab909d Author: Arthur Eubanks Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Passes/PassRegistry.def Log Message: ----------- [NewPM] Add PredicateInfoPrinterPass to PassRegistry.def Fixes tests under NPM in Transforms/Util/PredicateInfo. From all-commits at lists.llvm.org Wed Jul 8 09:47:29 2020 From: all-commits at lists.llvm.org (Simon Pilgrim via All-commits) Date: Wed, 08 Jul 2020 09:47:29 -0700 Subject: [all-commits] [llvm/llvm-project] 08a2c9: [X86] Fix copy+paste typo in combineVectorPack ass... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 08a2c9ce5c86d1754f71b24c5c83b4a07de00749 https://github.com/llvm/llvm-project/commit/08a2c9ce5c86d1754f71b24c5c83b4a07de00749 Author: Simon Pilgrim Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Target/X86/X86ISelLowering.cpp Log Message: ----------- [X86] Fix copy+paste typo in combineVectorPack assert message. NFC. Commit: 800fb68420681d14f7690b76421c57ff474349a1 https://github.com/llvm/llvm-project/commit/800fb68420681d14f7690b76421c57ff474349a1 Author: Simon Pilgrim Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Target/X86/X86ISelLowering.cpp Log Message: ----------- [X86][SSE] Pull out PACK(SHUFFLE(),SHUFFLE()) folds into its own function. NFC. Future patches will extend this so declutter combineVectorPack before we start. Compare: https://github.com/llvm/llvm-project/compare/0b2536d0bdb4...800fb6842068 From all-commits at lists.llvm.org Wed Jul 8 09:50:27 2020 From: all-commits at lists.llvm.org (RotateRight via All-commits) Date: Wed, 08 Jul 2020 09:50:27 -0700 Subject: [all-commits] [llvm/llvm-project] 39329d: [DAGCombiner] add enum for store source value; NFC Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 39329d5724d94737fda0212f8e89ca240f14474a https://github.com/llvm/llvm-project/commit/39329d5724d94737fda0212f8e89ca240f14474a Author: Sanjay Patel Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Log Message: ----------- [DAGCombiner] add enum for store source value; NFC This removes existing code duplication and allows us to assert that we are handling the expected cases. We have a list of outstanding bugs that could benefit by handling truncated source values, so that's a possible addition going forward. From all-commits at lists.llvm.org Wed Jul 8 09:50:31 2020 From: all-commits at lists.llvm.org (RotateRight via All-commits) Date: Wed, 08 Jul 2020 09:50:31 -0700 Subject: [all-commits] [llvm/llvm-project] 683a7f: [DAGCombiner] fix function-name formatting; NFC Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 683a7f7025b3115053449a76463e11916ecf350f https://github.com/llvm/llvm-project/commit/683a7f7025b3115053449a76463e11916ecf350f Author: Sanjay Patel Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Log Message: ----------- [DAGCombiner] fix function-name formatting; NFC From all-commits at lists.llvm.org Wed Jul 8 10:04:54 2020 From: all-commits at lists.llvm.org (Louis Dionne via All-commits) Date: Wed, 08 Jul 2020 10:04:54 -0700 Subject: [all-commits] [llvm/llvm-project] f69acb: [libc++][NFC] Remove outdated TODO item Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f69acb2af85ae71b823a15c6f73e50d4b90111b5 https://github.com/llvm/llvm-project/commit/f69acb2af85ae71b823a15c6f73e50d4b90111b5 Author: Louis Dionne Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M libcxx/TODO.TXT Log Message: ----------- [libc++][NFC] Remove outdated TODO item From all-commits at lists.llvm.org Wed Jul 8 10:07:38 2020 From: all-commits at lists.llvm.org (Shafik Yaghmour via All-commits) Date: Wed, 08 Jul 2020 10:07:38 -0700 Subject: [all-commits] [llvm/llvm-project] 63b0f8: [RecordLayout] Fix ItaniumRecordLayoutBuilder so t... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 63b0f8c788d8c6978feb099fd6db8fe219c4d166 https://github.com/llvm/llvm-project/commit/63b0f8c788d8c6978feb099fd6db8fe219c4d166 Author: shafik Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/lib/AST/RecordLayoutBuilder.cpp A lldb/test/API/lang/cpp/alignas_base_class/Makefile A lldb/test/API/lang/cpp/alignas_base_class/TestAlignAsBaseClass.py A lldb/test/API/lang/cpp/alignas_base_class/main.cpp Log Message: ----------- [RecordLayout] Fix ItaniumRecordLayoutBuilder so that is grabs the correct bases class offsets from the external source Currently the ItaniumRecordLayoutBuilder when laying out base classes has the virtual and non-virtual bases mixed up when pulling the base class layouts from the external source. This came up in an LLDB bug where on arm64 because of differences in how it deals with tail padding would layout the bases differently without the correct layout from the external source (LLDB). This would result in some fields being off by 4 bytes. Differential Revision: https://reviews.llvm.org/D83008 From all-commits at lists.llvm.org Wed Jul 8 10:11:19 2020 From: all-commits at lists.llvm.org (Yaxun (Sam) Liu via All-commits) Date: Wed, 08 Jul 2020 10:11:19 -0700 Subject: [all-commits] [llvm/llvm-project] 1eaad0: [CUDA][HIP] Let lambda be host device by default Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1eaad01046c88be6bf65265a2bcc53db5a5b48d0 https://github.com/llvm/llvm-project/commit/1eaad01046c88be6bf65265a2bcc53db5a5b48d0 Author: Yaxun (Sam) Liu Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/include/clang/Basic/DiagnosticSemaKinds.td M clang/include/clang/Sema/Sema.h M clang/lib/Sema/SemaCUDA.cpp M clang/lib/Sema/SemaLambda.cpp A clang/test/CodeGenCUDA/lambda.cu M clang/test/SemaCUDA/Inputs/cuda.h A clang/test/SemaCUDA/lambda.cu Log Message: ----------- [CUDA][HIP] Let lambda be host device by default This patch let lambda be host device by default and adds diagnostics for capturing host variable by reference in device lambda. Differential Revision: https://reviews.llvm.org/D78655 From all-commits at lists.llvm.org Wed Jul 8 10:12:06 2020 From: all-commits at lists.llvm.org (Pete Steinfeld via All-commits) Date: Wed, 08 Jul 2020 10:12:06 -0700 Subject: [all-commits] [llvm/llvm-project] 9520b6: [flang] Fix a crash when cosubscript list is empty Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9520b6c8ab63061e1734deef8614eaa60f704dc9 https://github.com/llvm/llvm-project/commit/9520b6c8ab63061e1734deef8614eaa60f704dc9 Author: Pete Steinfeld Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M flang/lib/Semantics/expression.cpp M flang/test/Semantics/resolve94.f90 Log Message: ----------- [flang] Fix a crash when cosubscript list is empty Summary: When there are errors in the evaluation of every cosubscript expression in a coindexed object, the compiler would crash. I fixed this by just checking to see if there were errors in the evaluation of the cosubscripts before constructing the `DataRef` for the coindexed object. Reviewers: klausler, tskeith, DavidTruby Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83410 From all-commits at lists.llvm.org Wed Jul 8 10:15:38 2020 From: all-commits at lists.llvm.org (Fangrui Song via All-commits) Date: Wed, 08 Jul 2020 10:15:38 -0700 Subject: [all-commits] [llvm/llvm-project] 4ce56b: [ELF] Add -z dead-reloc-in-nonalloc=... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4ce56b8122219f7b79d75d33184e3ec890a6e222 https://github.com/llvm/llvm-project/commit/4ce56b8122219f7b79d75d33184e3ec890a6e222 Author: Fangrui Song Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M lld/ELF/Config.h M lld/ELF/Driver.cpp M lld/ELF/InputSection.cpp M lld/docs/ld.lld.1 A lld/test/ELF/dead-reloc-in-nonalloc.s M lld/test/ELF/debug-dead-reloc.s Log Message: ----------- [ELF] Add -z dead-reloc-in-nonalloc== ... to customize the tombstone value we use for an absolute relocation referencing a discarded symbol. This can be used as a workaround when some debug processing tool has trouble with current -1 tombstone value (https://bugs.chromium.org/p/chromium/issues/detail?id=1102223#c11 ) For example, to get the current built-in rules (not considering the .debug_line special case for ICF): ``` -z dead-reloc-in-nonalloc='.debug_*=0xffffffffffffffff' -z dead-reloc-in-nonalloc=.debug_loc=0xfffffffffffffffe -z dead-reloc-in-nonalloc=.debug_ranges=0xfffffffffffffffe ``` To get GNU ld (as of binutils 2.35)'s behavior: ``` -z dead-reloc-in-nonalloc='*=0' -z dead-reloc-in-nonalloc=.debug_ranges=1 ``` This option has other use cases. For example, if we want to check whether a non-SHF_ALLOC section has dead relocations. With this patch, we can run a regular LLD and run another with a special -z dead-reloc-in-nonalloc=, then compare their output. Reviewed By: thakis Differential Revision: https://reviews.llvm.org/D83264 From all-commits at lists.llvm.org Wed Jul 8 10:24:42 2020 From: all-commits at lists.llvm.org (Fangrui Song via All-commits) Date: Wed, 08 Jul 2020 10:24:42 -0700 Subject: [all-commits] [llvm/llvm-project] e89c07: [test] Run llvm/test/**/*.yaml & don't run llvm/te... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e89c075f3251bc4778dceb890388483151f24659 https://github.com/llvm/llvm-project/commit/e89c075f3251bc4778dceb890388483151f24659 Author: Fangrui Song Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: R llvm/test/Object/lit.local.cfg R llvm/test/ObjectYAML/lit.local.cfg M llvm/test/lit.cfg.py M llvm/test/tools/llvm-as/lit.local.cfg R llvm/test/tools/llvm-dwarfdump/lit.local.cfg M llvm/test/tools/llvm-gsymutil/ARM_AArch64/lit.local.cfg M llvm/test/tools/llvm-gsymutil/X86/lit.local.cfg M llvm/test/tools/llvm-nm/lit.local.cfg R llvm/test/tools/llvm-objdump/lit.local.cfg R llvm/test/tools/llvm-readobj/COFF/lit.local.cfg R llvm/test/tools/llvm-xray/X86/lit.local.cfg R llvm/test/tools/obj2yaml/lit.local.cfg R llvm/test/tools/yaml2obj/lit.local.cfg Log Message: ----------- [test] Run llvm/test/**/*.yaml & don't run llvm/test/**/*.cxx (not exist) This patch extends D58439 (`llvm/test/{yaml2obj,obj2yaml}/**/*.yaml`) and runs all `llvm/test/**/*.yaml` Many directories have configured `.yaml` (see the deleted lit.local.cfg files). Yet still some don't configure .yaml and have caused stale tests: * 8c5825befb7bbb2e76f7eccedc6d3bf26e9b2a6a test/llvm-readobj * bdc3134e237737dd46b51cd1ecd41ecbbe9f921a test/ExecutionEngine Just hoist .yaml to `llvm/test/lit.cfg.py`. Also delete .cxx which is not used. The number of tests running on my machine increases from 38304 to 38309. The list of new tests: ``` ExecutionEngine/RuntimeDyld/X86/ELF_x86-64_none.yaml Object/archive-error-tmp.txt tools/llvm-ar/coff-weak.yaml tools/llvm-readobj/ELF/verneed-flags.yaml tools/obj2yaml/COFF/bss.s ``` Reviewed By: grimar, jhenderson, rupprecht Differential Revision: https://reviews.llvm.org/D83350 From all-commits at lists.llvm.org Wed Jul 8 10:28:51 2020 From: all-commits at lists.llvm.org (Fangrui Song via All-commits) Date: Wed, 08 Jul 2020 10:28:51 -0700 Subject: [all-commits] [llvm/llvm-project] 169ec2: [ELF] Rename canRelax to toExecRelax. NFC Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 169ec2d6b006ea31114a7d6ddc3f002d3cb4acb3 https://github.com/llvm/llvm-project/commit/169ec2d6b006ea31114a7d6ddc3f002d3cb4acb3 Author: Fangrui Song Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M lld/ELF/Relocations.cpp Log Message: ----------- [ELF] Rename canRelax to toExecRelax. NFC In the absence of TLS relaxation (rewrite of code sequences), there is still an applicable optimization: [gd]: General Dynamic: resolve DTPMOD to 1 and/or resolve DTPOFF statically All the other relaxations are only performed when transiting to executable (`!config->shared`). Since [gd] is handled differently, we can fold `!config->shared` into canRelax and simplify its use sites. Rename the variable to reflect to new semantics. Reviewed By: grimar, psmith Differential Revision: https://reviews.llvm.org/D83243 From all-commits at lists.llvm.org Wed Jul 8 10:37:29 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Wed, 08 Jul 2020 10:37:29 -0700 Subject: [all-commits] [llvm/llvm-project] 01d5cc: hwasan: Don't pass the tagged-globals target-featu... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 01d5cc5386affeda878e7e21b57c2a7e050d7b0a https://github.com/llvm/llvm-project/commit/01d5cc5386affeda878e7e21b57c2a7e050d7b0a Author: Craig Topper Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/lib/Driver/SanitizerArgs.cpp M clang/test/Driver/fsanitize.c Log Message: ----------- hwasan: Don't pass the tagged-globals target-feature to non-aarch64 backends. The other backends don't know what this feature is and print a message to stderr. I recently tried to rework some target feature stuff in X86 and this unknown feature tripped an assert I added. Differential Revision: https://reviews.llvm.org/D83369 From all-commits at lists.llvm.org Wed Jul 8 10:46:25 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Wed, 08 Jul 2020 10:46:25 -0700 Subject: [all-commits] [llvm/llvm-project] 82206e: [X86] Enabled a bunch of 64-bit Interlocked* funct... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 82206e7fb49d9593d946599b107e8a8ad29a7d22 https://github.com/llvm/llvm-project/commit/82206e7fb49d9593d946599b107e8a8ad29a7d22 Author: Craig Topper Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/include/clang/Basic/BuiltinsX86.def M clang/include/clang/Basic/BuiltinsX86_64.def M clang/lib/Headers/intrin.h M clang/test/CodeGen/ms-intrinsics.c Log Message: ----------- [X86] Enabled a bunch of 64-bit Interlocked* functions intrinsics on 32-bit Windows to match recent MSVC This enables _InterlockedAnd64/_InterlockedOr64/_InterlockedXor64/_InterlockedDecrement64/_InterlockedIncrement64/_InterlockedExchange64/_InterlockedExchangeAdd64/_InterlockedExchangeSub64 on 32-bit Windows The backend already knows how to expand these to a loop using cmpxchg8b on 32-bit targets. Fixes PR46595 Differential Revision: https://reviews.llvm.org/D83254 From all-commits at lists.llvm.org Wed Jul 8 10:47:23 2020 From: all-commits at lists.llvm.org (Michael Park via All-commits) Date: Wed, 08 Jul 2020 10:47:23 -0700 Subject: [all-commits] [llvm/llvm-project] 6ab320: Remove the unnecessary `is_nothrow_swappable` cond... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6ab3208d779ffb3b32744b0190d7035d4b369173 https://github.com/llvm/llvm-project/commit/6ab3208d779ffb3b32744b0190d7035d4b369173 Author: Michael Park Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M libcxx/include/variant Log Message: ----------- Remove the unnecessary `is_nothrow_swappable` condition in `swap`. Thanks to @lewissbaker who pointed out the unnecessary condition in https://reviews.llvm.org/D81954#inline-756872. Since this codepath does not make use of `swap` anyway (that codepath is a different branch), we can safely remove this condition and produce better codegen when all types are nothrow movable but are potentially-throwing swappable. See codegen in https://gcc.godbolt.org/z/uDFZjz Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D83274 From all-commits at lists.llvm.org Wed Jul 8 10:51:41 2020 From: all-commits at lists.llvm.org (Fangrui Song via All-commits) Date: Wed, 08 Jul 2020 10:51:41 -0700 Subject: [all-commits] [llvm/llvm-project] 4137ab: [Support] Define llvm::parallel::strategy for -DLL... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4137ab62cff268ed0de51ba2283143a6a992a932 https://github.com/llvm/llvm-project/commit/4137ab62cff268ed0de51ba2283143a6a992a932 Author: Fangrui Song Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Support/Parallel.cpp Log Message: ----------- [Support] Define llvm::parallel::strategy for -DLLVM_ENABLE_THREADS=off builds after D76885 From all-commits at lists.llvm.org Wed Jul 8 10:54:54 2020 From: all-commits at lists.llvm.org (Fangrui Song via All-commits) Date: Wed, 08 Jul 2020 10:54:54 -0700 Subject: [all-commits] [llvm/llvm-project] e81c05: [test] Add REQUIRES: x86-registered-target to tool... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e81c05777d67ec2dcbd55d34c7d2287e237bfbd1 https://github.com/llvm/llvm-project/commit/e81c05777d67ec2dcbd55d34c7d2287e237bfbd1 Author: Fangrui Song Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/test/tools/obj2yaml/COFF/bss.s Log Message: ----------- [test] Add REQUIRES: x86-registered-target to tools/obj2yaml/COFF/bss.s From all-commits at lists.llvm.org Wed Jul 8 11:05:59 2020 From: all-commits at lists.llvm.org (Louis Dionne via All-commits) Date: Wed, 08 Jul 2020 11:05:59 -0700 Subject: [all-commits] [llvm/llvm-project] 2be401: [libc++] Reimplement platform detection features w... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 2be4014fe6005e310b9e24c88d407c7a14eb625e https://github.com/llvm/llvm-project/commit/2be4014fe6005e310b9e24c88d407c7a14eb625e Author: Louis Dionne Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M libcxx/utils/libcxx/test/features.py Log Message: ----------- [libc++] Reimplement platform detection features without running on the test host It's sufficient to sniff the platform we're running on using the compiler macros -- we don't need to run any code. From all-commits at lists.llvm.org Wed Jul 8 11:08:50 2020 From: all-commits at lists.llvm.org (Christopher Tetreault via All-commits) Date: Wed, 08 Jul 2020 11:08:50 -0700 Subject: [all-commits] [llvm/llvm-project] c444b1: [SVE] Remove calls to VectorType::getNumElements f... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c444b1b904b11356c57980a41a19f4ef361b80a8 https://github.com/llvm/llvm-project/commit/c444b1b904b11356c57980a41a19f4ef361b80a8 Author: Christopher Tetreault Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp M llvm/lib/Transforms/Scalar/SROA.cpp M llvm/lib/Transforms/Scalar/Scalarizer.cpp Log Message: ----------- [SVE] Remove calls to VectorType::getNumElements from Scalar Reviewers: efriedma, fhahn, reames, kmclaughlin, sdesmalen Reviewed By: sdesmalen Subscribers: tschuett, hiraditya, rkruppe, psnobl, dantrushin, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82243 From all-commits at lists.llvm.org Wed Jul 8 11:15:37 2020 From: all-commits at lists.llvm.org (jayfoad via All-commits) Date: Wed, 08 Jul 2020 11:15:37 -0700 Subject: [all-commits] [llvm/llvm-project] f4bd01: [AMDGPU] Fix and simplify AMDGPUCodeGenPrepare::ex... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f4bd01c1918e90f232a098b4878b52c6f7d4a215 https://github.com/llvm/llvm-project/commit/f4bd01c1918e90f232a098b4878b52c6f7d4a215 Author: Jay Foad Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp M llvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i32.ll M llvm/test/CodeGen/AMDGPU/GlobalISel/srem.i32.ll M llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i32.ll M llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i32.ll M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-fold-binop-select.ll M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll M llvm/test/CodeGen/AMDGPU/bypass-div.ll M llvm/test/CodeGen/AMDGPU/idiv-licm.ll M llvm/test/CodeGen/AMDGPU/sdiv.ll M llvm/test/CodeGen/AMDGPU/udivrem.ll Log Message: ----------- [AMDGPU] Fix and simplify AMDGPUCodeGenPrepare::expandDivRem32 Fix the division/remainder algorithm by adding a second quotient refinement step, which is required in some cases like 0xFFFFFFFFu / 0x11111111u (https://bugs.llvm.org/show_bug.cgi?id=46212). Also document, rewrite and simplify it by ensuring that we always have a lower bound on inv(y), which simplifies the UNR step and the quotient refinement steps. Differential Revision: https://reviews.llvm.org/D83381 Commit: ecac951be92b71e5ec887a9fc768f202e4a8ab69 https://github.com/llvm/llvm-project/commit/ecac951be92b71e5ec887a9fc768f202e4a8ab69 Author: Jay Foad Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td M llvm/lib/Target/AMDGPU/CaymanInstructions.td M llvm/lib/Target/AMDGPU/SIInstructions.td M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll M llvm/test/CodeGen/AMDGPU/bypass-div.ll M llvm/test/CodeGen/AMDGPU/sdiv.ll M llvm/test/CodeGen/AMDGPU/udivrem.ll Log Message: ----------- [AMDGPU] Fix and simplify AMDGPUTargetLowering::LowerUDIVREM Use the algorithm from AMDGPUCodeGenPrepare::expandDivRem32. Differential Revision: https://reviews.llvm.org/D83382 Commit: a8816ebee01c1f923d928617bb4e55dcc1d7d6da https://github.com/llvm/llvm-project/commit/a8816ebee01c1f923d928617bb4e55dcc1d7d6da Author: Jay Foad Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sdiv.mir M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-srem.mir M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-udiv.mir M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-urem.mir M llvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i32.ll M llvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i64.ll M llvm/test/CodeGen/AMDGPU/GlobalISel/srem.i32.ll M llvm/test/CodeGen/AMDGPU/GlobalISel/srem.i64.ll M llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i32.ll M llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i64.ll M llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i32.ll M llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i64.ll Log Message: ----------- [AMDGPU] Fix and simplify AMDGPULegalizerInfo::legalizeUDIV_UREM32Impl Use the algorithm from AMDGPUCodeGenPrepare::expandDivRem32. Differential Revision: https://reviews.llvm.org/D83383 Compare: https://github.com/llvm/llvm-project/compare/c444b1b904b1...a8816ebee01c From all-commits at lists.llvm.org Wed Jul 8 11:35:28 2020 From: all-commits at lists.llvm.org (jayfoad via All-commits) Date: Wed, 08 Jul 2020 11:35:28 -0700 Subject: [all-commits] [llvm/llvm-project] 47788b: SILoadStoreOptimizer: add support for GFX10 image ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 47788b97a9eb1215d0ac01826f51fbe286f56c0b https://github.com/llvm/llvm-project/commit/47788b97a9eb1215d0ac01826f51fbe286f56c0b Author: Jay Foad Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp A llvm/test/CodeGen/AMDGPU/merge-image-load-gfx10.mir A llvm/test/CodeGen/AMDGPU/merge-image-sample-gfx10.mir Log Message: ----------- SILoadStoreOptimizer: add support for GFX10 image instructions GFX10 image instructions use one or more address operands starting at vaddr0, instead of a single vaddr operand, to allow for NSA forms. Differential Revision: https://reviews.llvm.org/D81675 From all-commits at lists.llvm.org Wed Jul 8 11:39:36 2020 From: all-commits at lists.llvm.org (Louis Dionne via All-commits) Date: Wed, 08 Jul 2020 11:39:36 -0700 Subject: [all-commits] [llvm/llvm-project] 26b0a2: [pstl] Fix a few errors when running PSTL tests th... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 26b0a23084f049f4084fc9f1d599ade66e4af185 https://github.com/llvm/llvm-project/commit/26b0a23084f049f4084fc9f1d599ade66e4af185 Author: Louis Dionne Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M pstl/include/pstl/internal/algorithm_impl.h M pstl/test/std/algorithms/alg.sorting/alg.set.operations/set.pass.cpp M pstl/test/std/numerics/numeric.ops/transform_reduce.pass.cpp Log Message: ----------- [pstl] Fix a few errors when running PSTL tests through the libc++ test suite From all-commits at lists.llvm.org Wed Jul 8 11:45:27 2020 From: all-commits at lists.llvm.org (Fangrui Song via All-commits) Date: Wed, 08 Jul 2020 11:45:27 -0700 Subject: [all-commits] [llvm/llvm-project] f86d96: [ELF] Enforce double-dash form for --warn-backrefs... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f86d96a96441eb9f83c2dedb0ba5d7e4dc8dc089 https://github.com/llvm/llvm-project/commit/f86d96a96441eb9f83c2dedb0ba5d7e4dc8dc089 Author: Fangrui Song Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M lld/ELF/Options.td Log Message: ----------- [ELF] Enforce double-dash form for --warn-backrefs-exclude This is an LLD-specific option. We have enforced double-dash forms for other options (reduce collision with short options) but missed this one. From all-commits at lists.llvm.org Wed Jul 8 11:48:40 2020 From: all-commits at lists.llvm.org (RotateRight via All-commits) Date: Wed, 08 Jul 2020 11:48:40 -0700 Subject: [all-commits] [llvm/llvm-project] 12c227: [DAGCombiner] fix code comment and improve readabi... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 12c2271e534c297b71e52c3a25b53f3d475db78d https://github.com/llvm/llvm-project/commit/12c2271e534c297b71e52c3a25b53f3d475db78d Author: Sanjay Patel Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Log Message: ----------- [DAGCombiner] fix code comment and improve readability; NFC From all-commits at lists.llvm.org Wed Jul 8 11:48:44 2020 From: all-commits at lists.llvm.org (RotateRight via All-commits) Date: Wed, 08 Jul 2020 11:48:44 -0700 Subject: [all-commits] [llvm/llvm-project] 1265eb: [DAGCombiner] clean up in mergeConsecutiveStores()... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1265eb2d5f7e9cdf6a557a2a1c338f370d730917 https://github.com/llvm/llvm-project/commit/1265eb2d5f7e9cdf6a557a2a1c338f370d730917 Author: Sanjay Patel Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Log Message: ----------- [DAGCombiner] clean up in mergeConsecutiveStores(); NFC From all-commits at lists.llvm.org Wed Jul 8 11:52:20 2020 From: all-commits at lists.llvm.org (Louis Dionne via All-commits) Date: Wed, 08 Jul 2020 11:52:20 -0700 Subject: [all-commits] [llvm/llvm-project] ef14e5: [pstl] Do not install the __config_site.in file Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ef14e52be4e1ce4a6aa2a28738aed2cfcc0a31f1 https://github.com/llvm/llvm-project/commit/ef14e52be4e1ce4a6aa2a28738aed2cfcc0a31f1 Author: Louis Dionne Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M pstl/CMakeLists.txt Log Message: ----------- [pstl] Do not install the __config_site.in file The generated version of the file is already installed -- we shouldn't install the pre-generation version of the file. From all-commits at lists.llvm.org Wed Jul 8 11:56:27 2020 From: all-commits at lists.llvm.org (Anh Tuyen Tran via All-commits) Date: Wed, 08 Jul 2020 11:56:27 -0700 Subject: [all-commits] [llvm/llvm-project] fead25: [NFC] Separate Peeling Properties into its own struct Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: fead250b439bbd4ec0f21e6a52d0c174e5fcdf5a https://github.com/llvm/llvm-project/commit/fead250b439bbd4ec0f21e6a52d0c174e5fcdf5a Author: Anh Tuyen Tran Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/include/llvm/Analysis/TargetTransformInfo.h M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h M llvm/include/llvm/CodeGen/BasicTTIImpl.h M llvm/include/llvm/Transforms/Utils/UnrollLoop.h M llvm/lib/Analysis/TargetTransformInfo.cpp M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp M llvm/lib/Target/ARM/ARMTargetTransformInfo.h M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h M llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp M llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.h M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h M llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp M llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h M llvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp M llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp M llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp Log Message: ----------- [NFC] Separate Peeling Properties into its own struct Summary: This patch makes the peeling properties of the loop accessible by other loop transformations. Author: sidbav (Sidharth Baveja) Reviewers: Whitney (Whitney Tsang), Meinersbur (Michael Kruse), skatkov (Serguei Katkov), ashlykov (Arkady Shlykov), bogner (Justin Bogner), hfinkel (Hal Finkel) Reviewed By: Meinersbur (Michael Kruse) Subscribers: fhahn (Florian Hahn), hiraditya (Aditya Kumar), llvm-commits, LLVM Tag: LLVM Differential Revision: https://reviews.llvm.org/D80580 From all-commits at lists.llvm.org Wed Jul 8 12:00:32 2020 From: all-commits at lists.llvm.org (Sidharth Baveja via All-commits) Date: Wed, 08 Jul 2020 12:00:32 -0700 Subject: [all-commits] [llvm/llvm-project] 6965af: Revert "[NFC] Separate Peeling Properties into its... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6965af43e6b83fda2c32663f55b1568ffe6d67f9 https://github.com/llvm/llvm-project/commit/6965af43e6b83fda2c32663f55b1568ffe6d67f9 Author: Anh Tuyen Tran Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/include/llvm/Analysis/TargetTransformInfo.h M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h M llvm/include/llvm/CodeGen/BasicTTIImpl.h M llvm/include/llvm/Transforms/Utils/UnrollLoop.h M llvm/lib/Analysis/TargetTransformInfo.cpp M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp M llvm/lib/Target/ARM/ARMTargetTransformInfo.h M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h M llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp M llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.h M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h M llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp M llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h M llvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp M llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp M llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp Log Message: ----------- Revert "[NFC] Separate Peeling Properties into its own struct" This reverts commit fead250b439bbd4ec0f21e6a52d0c174e5fcdf5a. Commit: 0369dc98f958a1ca2ec05f1897f091129bb16e8a https://github.com/llvm/llvm-project/commit/0369dc98f958a1ca2ec05f1897f091129bb16e8a Author: Sidharth Baveja Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/include/llvm/Analysis/TargetTransformInfo.h M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h M llvm/include/llvm/CodeGen/BasicTTIImpl.h M llvm/include/llvm/Transforms/Utils/UnrollLoop.h M llvm/lib/Analysis/TargetTransformInfo.cpp M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp M llvm/lib/Target/ARM/ARMTargetTransformInfo.h M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h M llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp M llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.h M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h M llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp M llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h M llvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp M llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp M llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp Log Message: ----------- [NFC] Separate Peeling Properties into its own struct Summary: This patch makes the peeling properties of the loop accessible by other loop transformations. Author: sidbav (Sidharth Baveja) Reviewers: Whitney (Whitney Tsang), Meinersbur (Michael Kruse), skatkov (Serguei Katkov), ashlykov (Arkady Shlykov), bogner (Justin Bogner), hfinkel (Hal Finkel) Reviewed By: Meinersbur (Michael Kruse) Subscribers: fhahn (Florian Hahn), hiraditya (Aditya Kumar), llvm-commits, LLVM Tag: LLVM Differential Revision: https://reviews.llvm.org/D80580 Compare: https://github.com/llvm/llvm-project/compare/fead250b439b...0369dc98f958 From all-commits at lists.llvm.org Wed Jul 8 12:01:43 2020 From: all-commits at lists.llvm.org (Louis Dionne via All-commits) Date: Wed, 08 Jul 2020 12:01:43 -0700 Subject: [all-commits] [llvm/llvm-project] 512c90: [libc++] Install PSTL when installing libc++ with ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 512c90389839a595ff592bf2f1345e0f1bc18530 https://github.com/llvm/llvm-project/commit/512c90389839a595ff592bf2f1345e0f1bc18530 Author: Louis Dionne Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M libcxx/src/CMakeLists.txt Log Message: ----------- [libc++] Install PSTL when installing libc++ with parallel algorithms enabled From all-commits at lists.llvm.org Wed Jul 8 12:02:25 2020 From: all-commits at lists.llvm.org (Gui Andrade via All-commits) Date: Wed, 08 Jul 2020 12:02:25 -0700 Subject: [all-commits] [llvm/llvm-project] 89f1ad: [LangRef] Introduce `noundef` attribute for fully ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 89f1ad88b3f1ecf32e797247b9eab5662ed4bcf4 https://github.com/llvm/llvm-project/commit/89f1ad88b3f1ecf32e797247b9eab5662ed4bcf4 Author: Gui Andrade Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/docs/BitCodeFormat.rst M llvm/docs/LangRef.rst Log Message: ----------- [LangRef] Introduce `noundef` attribute for fully defined function params LLVM currently does not require function parameters or return values to be fully initialized, and does not care if they are poison. This can be useful if the frontend ABI makes no such demands, but may prevent helpful backend transformations in case they do. Specifically, the C and C++ languages require all scalar function operands to be fully determined. Introducing this attribute is of particular use to MemorySanitizer today, although other transformations may benefit from it as well. We can modify MemorySanitizer instrumentation to provide modest (17%) space savings where `frozen` is present. This commit only adds the attribute to the Language Reference, and the actual implementation of the attribute will follow in a separate commit. Differential Revision: https://reviews.llvm.org/D82316 Commit: ff7900d5def4f645a6675d99ad39a38d8a468a63 https://github.com/llvm/llvm-project/commit/ff7900d5def4f645a6675d99ad39a38d8a468a63 Author: Gui Andrade Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/include/llvm/Bitcode/LLVMBitCodes.h M llvm/include/llvm/IR/Attributes.td M llvm/lib/AsmParser/LLLexer.cpp M llvm/lib/AsmParser/LLParser.cpp M llvm/lib/AsmParser/LLToken.h M llvm/lib/Bitcode/Reader/BitcodeReader.cpp M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp M llvm/lib/IR/Attributes.cpp M llvm/lib/Transforms/Utils/CodeExtractor.cpp M llvm/test/Bitcode/attributes.ll Log Message: ----------- [LLVM] Accept `noundef` attribute in function definitions/calls The `noundef` attribute indicates an argument or return value which may never have an undef value representation. This patch allows LLVM to parse the attribute. Differential Revision: https://reviews.llvm.org/D83412 Compare: https://github.com/llvm/llvm-project/compare/512c90389839...ff7900d5def4 From all-commits at lists.llvm.org Wed Jul 8 12:06:50 2020 From: all-commits at lists.llvm.org (Cameron McInally via All-commits) Date: Wed, 08 Jul 2020 12:06:50 -0700 Subject: [all-commits] [llvm/llvm-project] 05ce9a: Tighten description of ISD::BUILD_VECTOR Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 05ce9aaa69f9f58598730895bdb5535fea17213f https://github.com/llvm/llvm-project/commit/05ce9aaa69f9f58598730895bdb5535fea17213f Author: Cameron McInally Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/include/llvm/CodeGen/ISDOpcodes.h Log Message: ----------- Tighten description of ISD::BUILD_VECTOR VerifySDNode(...) in SelectionDAG.cpp shows that the operands of a BUILD_VECTOR must all be the same type. This patch cleans up the comment in ISDOpcodes.h to make that more obvious. Also, remove the requirement that the number of elements must be a power-of-2. That's not true. Differential Revision: https://reviews.llvm.org/D83413 From all-commits at lists.llvm.org Wed Jul 8 12:21:50 2020 From: all-commits at lists.llvm.org (Christopher Tetreault via All-commits) Date: Wed, 08 Jul 2020 12:21:50 -0700 Subject: [all-commits] [llvm/llvm-project] d2eb40: [Solaris] Fix Solaris build bots Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: d2eb40937976d858807faee6fbc3e016fd3a4108 https://github.com/llvm/llvm-project/commit/d2eb40937976d858807faee6fbc3e016fd3a4108 Author: Christopher Tetreault Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/unittests/IR/ConstantsTest.cpp Log Message: ----------- [Solaris] Fix Solaris build bots Reviewers: ro Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83415 From all-commits at lists.llvm.org Wed Jul 8 12:41:53 2020 From: all-commits at lists.llvm.org (Cameron McInally via All-commits) Date: Wed, 08 Jul 2020 12:41:53 -0700 Subject: [all-commits] [llvm/llvm-project] 898065: Reword description of ISD::BUILD_VECTOR Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 898065a7b879f204874820f16e4e16ea2a961de0 https://github.com/llvm/llvm-project/commit/898065a7b879f204874820f16e4e16ea2a961de0 Author: Cameron McInally Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/include/llvm/CodeGen/ISDOpcodes.h Log Message: ----------- Reword description of ISD::BUILD_VECTOR Move operand type restriction to the end of the description. This hopefully makes the intention more clear. Differential Revision: https://reviews.llvm.org/D83413 From all-commits at lists.llvm.org Wed Jul 8 12:46:15 2020 From: all-commits at lists.llvm.org (Nikita Popov via All-commits) Date: Wed, 08 Jul 2020 12:46:15 -0700 Subject: [all-commits] [llvm/llvm-project] a48cf7: [InstSimplify] Handle not inserted instruction gra... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a48cf72238e740adb2a45012736c0c655070fb8f https://github.com/llvm/llvm-project/commit/a48cf72238e740adb2a45012736c0c655070fb8f Author: Nikita Popov Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Analysis/InstructionSimplify.cpp A llvm/test/Transforms/SimplifyCFG/pr46638.ll Log Message: ----------- [InstSimplify] Handle not inserted instruction gracefully (PR46638) When simplifying comparisons using a dominating assume, bail out if the context instruction is not inserted. Commit: 0b39d2d75275b80994dac06b7ad05031cbd09393 https://github.com/llvm/llvm-project/commit/0b39d2d75275b80994dac06b7ad05031cbd09393 Author: Nikita Popov Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/include/llvm/Analysis/TargetTransformInfo.h M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h M llvm/include/llvm/CodeGen/BasicTTIImpl.h M llvm/include/llvm/Transforms/Utils/UnrollLoop.h M llvm/lib/Analysis/TargetTransformInfo.cpp M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp M llvm/lib/Target/ARM/ARMTargetTransformInfo.h M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h M llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp M llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.h M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h M llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp M llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h M llvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp M llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp M llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp Log Message: ----------- Revert "[NFC] Separate Peeling Properties into its own struct" This reverts commit 0369dc98f958a1ca2ec05f1897f091129bb16e8a. Many failing tests. Compare: https://github.com/llvm/llvm-project/compare/898065a7b879...0b39d2d75275 From all-commits at lists.llvm.org Wed Jul 8 12:54:06 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Wed, 08 Jul 2020 12:54:06 -0700 Subject: [all-commits] [llvm/llvm-project] 9b1e95: [InstSimplify] Remove select ?, undef, X -> X and ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9b1e95329af7bb005275f18225b2c130ec3ea98d https://github.com/llvm/llvm-project/commit/9b1e95329af7bb005275f18225b2c130ec3ea98d Author: Craig Topper Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/test/CodeGen/arm-mve-intrinsics/dup.c M llvm/lib/Analysis/InstructionSimplify.cpp M llvm/test/Transforms/InstCombine/select.ll M llvm/test/Transforms/InstSimplify/select.ll Log Message: ----------- [InstSimplify] Remove select ?, undef, X -> X and select ?, X, undef -> X transforms As noted here https://lists.llvm.org/pipermail/llvm-dev/2016-October/106182.html and by alive2, this transform isn't valid. If X is poison this potentially propagates poison when it shouldn't. This same transform still exists in DAGCombiner. Differential Revision: https://reviews.llvm.org/D83360 From all-commits at lists.llvm.org Wed Jul 8 13:09:06 2020 From: all-commits at lists.llvm.org (Richard Smith via All-commits) Date: Wed, 08 Jul 2020 13:09:06 -0700 Subject: [all-commits] [llvm/llvm-project] 4544c2: Recover more gracefully from stack exhaustion duri... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4544c2d95ad0217e1f28ddd84253cd09a91148c0 https://github.com/llvm/llvm-project/commit/4544c2d95ad0217e1f28ddd84253cd09a91148c0 Author: Richard Smith Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/lib/Sema/SemaTemplateDeduction.cpp M clang/test/SemaTemplate/stack-exhaustion.cpp Log Message: ----------- Recover more gracefully from stack exhaustion during template argument deduction. Template argument deduction can trigger substitution, both with explicitly-specified template arguments and with deduced template arguments in various ways. We previously had no check for stack exhaustion along some of those codepaths, making it fairly easy to crash clang with a template resulting in a substitution that referred back to that same template. We should now produce a proper diagnostic for such cases rather than crashing. From all-commits at lists.llvm.org Wed Jul 8 13:09:44 2020 From: all-commits at lists.llvm.org (Davide Italiano via All-commits) Date: Wed, 08 Jul 2020 13:09:44 -0700 Subject: [all-commits] [llvm/llvm-project] 27d52c: Revert "[lldb/API] Overwrite variables with SBLaun... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 27d52cd86a2cf82214b71519dffd450c54cf87ae https://github.com/llvm/llvm-project/commit/27d52cd86a2cf82214b71519dffd450c54cf87ae Author: Davide Italiano Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M lldb/source/API/SBLaunchInfo.cpp M lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py Log Message: ----------- Revert "[lldb/API] Overwrite variables with SBLaunchInfo::SetEnvironment(append=true)" This reverts commit 695b33a56919af8873eecb47cb83fa17a271e99f beacuse it broke the macOS bot. From all-commits at lists.llvm.org Wed Jul 8 13:10:40 2020 From: all-commits at lists.llvm.org (jkorous-apple via All-commits) Date: Wed, 08 Jul 2020 13:10:40 -0700 Subject: [all-commits] [llvm/llvm-project] 6e089e: [libclang] Fix crash when visiting a captured VLA Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6e089e98a9d5d7d0dda259f68b8ba7f4556cc5b3 https://github.com/llvm/llvm-project/commit/6e089e98a9d5d7d0dda259f68b8ba7f4556cc5b3 Author: Christian Kandeler Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/test/Index/evaluate-cursor.cpp M clang/tools/libclang/CIndex.cpp Log Message: ----------- [libclang] Fix crash when visiting a captured VLA Array returned by LambdaExpr::capture_inits() can contain nullptrs. Differential Revision: https://reviews.llvm.org/D82629 From all-commits at lists.llvm.org Wed Jul 8 13:25:39 2020 From: all-commits at lists.llvm.org (aeubanks via All-commits) Date: Wed, 08 Jul 2020 13:25:39 -0700 Subject: [all-commits] [llvm/llvm-project] 930eaa: [opt] Remove obsolete --quiet option Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 930eaadacfd11273af2f9c3ae21664648dc1e26f https://github.com/llvm/llvm-project/commit/930eaadacfd11273af2f9c3ae21664648dc1e26f Author: Arthur Eubanks Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/include/llvm/Support/SystemUtils.h M llvm/lib/Support/SystemUtils.cpp M llvm/tools/llvm-as/llvm-as.cpp M llvm/tools/llvm-extract/llvm-extract.cpp M llvm/tools/llvm-link/llvm-link.cpp M llvm/tools/opt/PassPrinters.cpp M llvm/tools/opt/PassPrinters.h M llvm/tools/opt/opt.cpp Log Message: ----------- [opt] Remove obsolete --quiet option git blame shows these were last touched in 2004? Obsoleted in r13844. Reviewed By: hans Differential Revision: https://reviews.llvm.org/D83409 From all-commits at lists.llvm.org Wed Jul 8 13:28:58 2020 From: all-commits at lists.llvm.org (Louis Dionne via All-commits) Date: Wed, 08 Jul 2020 13:28:58 -0700 Subject: [all-commits] [llvm/llvm-project] 7a5d79: [libc++] Make sure the ENABLE_FILESYSTEM variable ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7a5d79de9511e3e84aad2adb327b27c9069703ea https://github.com/llvm/llvm-project/commit/7a5d79de9511e3e84aad2adb327b27c9069703ea Author: Louis Dionne Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M libcxx/utils/ci/macos-backdeployment.sh Log Message: ----------- [libc++] Make sure the ENABLE_FILESYSTEM variable is always bound The script always fails otherwise, since we run with 'set -u' From all-commits at lists.llvm.org Wed Jul 8 14:16:46 2020 From: all-commits at lists.llvm.org (Matt Arsenault via All-commits) Date: Wed, 08 Jul 2020 14:16:46 -0700 Subject: [all-commits] [llvm/llvm-project] 74a148: GlobalISel: Verify G_BITCAST changes the type Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 74a148ad39ab32317948a2d6291264acd84bfa00 https://github.com/llvm/llvm-project/commit/74a148ad39ab32317948a2d6291264acd84bfa00 Author: Matt Arsenault Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/CodeGen/MachineVerifier.cpp M llvm/test/CodeGen/AArch64/GlobalISel/arm64-regbankselect.mir M llvm/test/CodeGen/AArch64/GlobalISel/legalize-simple.mir M llvm/test/CodeGen/AArch64/GlobalISel/select-bitcast.mir M llvm/test/CodeGen/AArch64/GlobalISel/select-redundant-zext.mir M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-bitcast.mir M llvm/test/MachineVerifier/test_g_bitcast.mir Log Message: ----------- GlobalISel: Verify G_BITCAST changes the type Updated the AArch64 tests the best I could with my vague, inferred understanding of AArch64 register banks. As far as I can tell, there is only one 32-bit/64-bit type which will use the gpr register bank, so we have to use the fpr bank for the other operand. From all-commits at lists.llvm.org Wed Jul 8 14:30:58 2020 From: all-commits at lists.llvm.org (Richard Smith via All-commits) Date: Wed, 08 Jul 2020 14:30:58 -0700 Subject: [all-commits] [llvm/llvm-project] 903bda: PR46640: Permit the first parameter of a destroyin... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 903bda14c330505ebede522a1f55673d88909c6d https://github.com/llvm/llvm-project/commit/903bda14c330505ebede522a1f55673d88909c6d Author: Richard Smith Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/lib/Sema/SemaDeclCXX.cpp M clang/test/SemaCXX/cxx2a-destroying-delete.cpp Log Message: ----------- PR46640: Permit the first parameter of a destroying 'operator delete' to be dependent if it names the right type. This matches the GCC behavior, but no longer matches the standard wording. However, the standard wording in this case is not in line with the intent, which was to require the enclosing class type to be named directly. I've reported this wording oversight to the committee. From all-commits at lists.llvm.org Wed Jul 8 14:45:00 2020 From: all-commits at lists.llvm.org (Gui Andrade via All-commits) Date: Wed, 08 Jul 2020 14:45:00 -0700 Subject: [all-commits] [llvm/llvm-project] 339f1b: sanitizers: Add interceptors for getproto{ent, byna... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 339f1b49037bd7fbd1454c872bcfd1bb6c380f5d https://github.com/llvm/llvm-project/commit/339f1b49037bd7fbd1454c872bcfd1bb6c380f5d Author: Gui Andrade Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc M compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h M compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h M compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h A compiler-rt/test/sanitizer_common/TestCases/Linux/protoent.cpp Log Message: ----------- sanitizers: Add interceptors for getproto{ent,byname,bynumber}_r This also allows intercepting these getprotoent functions on Linux as well, since Linux exposes them. Differential Revision: https://reviews.llvm.org/D82424 From all-commits at lists.llvm.org Wed Jul 8 14:58:42 2020 From: all-commits at lists.llvm.org (Aart Bik via All-commits) Date: Wed, 08 Jul 2020 14:58:42 -0700 Subject: [all-commits] [llvm/llvm-project] 1bfdf7: [mlir] [VectorOps] Expose lowering pass options pr... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1bfdf7c7e310d69190bbf8c9adcbd853b6b83596 https://github.com/llvm/llvm-project/commit/1bfdf7c7e310d69190bbf8c9adcbd853b6b83596 Author: aartbik Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M mlir/include/mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM.h M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp Log Message: ----------- [mlir] [VectorOps] Expose lowering pass options programmatically The ConvertVectorToLLVM pass defines options that can be passed on the command line (currently only reassociation of FP reductions through -convert-vector-to-llvm='reassociate-fp-reductions). This CL enables setting these options programmatically (forward looking to more options than just reassociation, as well as setting the values from code rather than command line). Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D83420 From all-commits at lists.llvm.org Wed Jul 8 15:18:47 2020 From: all-commits at lists.llvm.org (adrian-prantl via All-commits) Date: Wed, 08 Jul 2020 15:18:47 -0700 Subject: [all-commits] [llvm/llvm-project] 372813: Unify the ExecutionContextScope computation in Mat... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 3728133d3f124c4c6972b118b0265de48ba89db1 https://github.com/llvm/llvm-project/commit/3728133d3f124c4c6972b118b0265de48ba89db1 Author: Adrian Prantl Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M lldb/source/Expression/Materializer.cpp Log Message: ----------- Unify the ExecutionContextScope computation in Materializer. This is an NFC cleanup for Clang, and a bugfix for the Swift branch. In swift-lldb one target may have multiple scratch TypeSystems, so it is important to pick the one that belongs to the current frame, rather than the one for the current target. From all-commits at lists.llvm.org Wed Jul 8 15:27:15 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Wed, 08 Jul 2020 15:27:15 -0700 Subject: [all-commits] [llvm/llvm-project] ac0af1: [InstSimplify] Add test cases for opportunities to... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ac0af12ed2fc60cba494a7e5df1778fd6dedd481 https://github.com/llvm/llvm-project/commit/ac0af12ed2fc60cba494a7e5df1778fd6dedd481 Author: Craig Topper Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/test/Transforms/InstSimplify/select.ll Log Message: ----------- [InstSimplify] Add test cases for opportunities to fold select ?, X, undef -> X when we can prove X isn't poison Part of addressing post-commit feedback from D83360 From all-commits at lists.llvm.org Wed Jul 8 15:33:01 2020 From: all-commits at lists.llvm.org (Matt Arsenault via All-commits) Date: Wed, 08 Jul 2020 15:33:01 -0700 Subject: [all-commits] [llvm/llvm-project] 2ec5fc: DAG: Remove redundant handling of reg fixups Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 2ec5fc0c61fb4472bd5f9ea71130cdba215ed9a8 https://github.com/llvm/llvm-project/commit/2ec5fc0c61fb4472bd5f9ea71130cdba215ed9a8 Author: Matt Arsenault Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Log Message: ----------- DAG: Remove redundant handling of reg fixups It looks like 9cac4e6d1403554b06ec2fc9d834087b1234b695 accidentally added a second copy of this from a bad rebase or something. This second copy was added, and the finalizeLowering call was not deleted as intended. From all-commits at lists.llvm.org Wed Jul 8 15:34:54 2020 From: all-commits at lists.llvm.org (adrian-prantl via All-commits) Date: Wed, 08 Jul 2020 22:34:54 +0000 (UTC) Subject: [all-commits] [llvm/llvm-project] 9726dc: Updated the list of supported platforms in LLDB to... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9726dc4d072376f71c40024804e3bf1193ba5dd8 https://github.com/llvm/llvm-project/commit/9726dc4d072376f71c40024804e3bf1193ba5dd8 Author: Adrian Prantl Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M lldb/docs/index.rst Log Message: ----------- Updated the list of supported platforms in LLDB to include Apple silicon. From all-commits at lists.llvm.org Wed Jul 8 15:36:25 2020 From: all-commits at lists.llvm.org (Johannes Doerfert via All-commits) Date: Wed, 08 Jul 2020 15:36:25 -0700 Subject: [all-commits] [llvm/llvm-project] d999cb: [OpenMP] Initial support for std::complex in targe... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: d999cbc98832154e15e786b98281211d5c1b9f5d https://github.com/llvm/llvm-project/commit/d999cbc98832154e15e786b98281211d5c1b9f5d Author: Johannes Doerfert Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/lib/Headers/CMakeLists.txt M clang/lib/Headers/__clang_cuda_complex_builtins.h M clang/lib/Headers/__clang_cuda_math.h A clang/lib/Headers/openmp_wrappers/complex A clang/lib/Headers/openmp_wrappers/complex.h M clang/test/Headers/Inputs/include/cmath A clang/test/Headers/Inputs/include/complex M clang/test/Headers/Inputs/include/cstdlib M clang/test/Headers/nvptx_device_math_complex.c A clang/test/Headers/nvptx_device_math_complex.cpp Log Message: ----------- [OpenMP] Initial support for std::complex in target regions This simply follows the scheme we have for other wrappers. It resolves the current link problem, e.g., `__muldc3 not found`, when std::complex operations are used on a device. This will not allow complex make math function calls to work properly, e.g., sin, but that is more complex (pan intended) anyway. Reviewed By: tra, JonChesterfield Differential Revision: https://reviews.llvm.org/D80897 From all-commits at lists.llvm.org Wed Jul 8 15:40:48 2020 From: all-commits at lists.llvm.org (llvmgnsyncbot via All-commits) Date: Wed, 08 Jul 2020 15:40:48 -0700 Subject: [all-commits] [llvm/llvm-project] 3101fc: [gn build] Port d999cbc9883 Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 3101fc692d2443226e749b8a643603efee695acc https://github.com/llvm/llvm-project/commit/3101fc692d2443226e749b8a643603efee695acc Author: LLVM GN Syncbot Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn Log Message: ----------- [gn build] Port d999cbc9883 From all-commits at lists.llvm.org Wed Jul 8 15:48:37 2020 From: all-commits at lists.llvm.org (Matt Arsenault via All-commits) Date: Wed, 08 Jul 2020 15:48:37 -0700 Subject: [all-commits] [llvm/llvm-project] 18bd82: DAG: Remove redundant finalizeLowering call Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 18bd821f02261065a2235e43c7290b57d55224c8 https://github.com/llvm/llvm-project/commit/18bd821f02261065a2235e43c7290b57d55224c8 Author: Matt Arsenault Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Log Message: ----------- DAG: Remove redundant finalizeLowering call 9cac4e6d1403554b06ec2fc9d834087b1234b695/D32628 intended to eliminate this, and move all isel pseudo expansion to FinalizeISel. This was a bad rebase or something, and failed to actually delete this call. GlobalISel also has a redundant call of finalizeLowering. However, it requires more work to remove it since it currently triggers a lot of verifier errors in tests. From all-commits at lists.llvm.org Wed Jul 8 16:08:21 2020 From: all-commits at lists.llvm.org (Gui Andrade via All-commits) Date: Wed, 08 Jul 2020 16:08:21 -0700 Subject: [all-commits] [llvm/llvm-project] 158fea: [Sanitizer]: Require !android for protoent test Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 158feabde4cb98021469ed4126682d8ee57456eb https://github.com/llvm/llvm-project/commit/158feabde4cb98021469ed4126682d8ee57456eb Author: Gui Andrade Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M compiler-rt/test/sanitizer_common/TestCases/Linux/protoent.cpp Log Message: ----------- [Sanitizer]: Require !android for protoent test From all-commits at lists.llvm.org Wed Jul 8 16:31:13 2020 From: all-commits at lists.llvm.org (Mitch Phillips via All-commits) Date: Wed, 08 Jul 2020 16:31:13 -0700 Subject: [all-commits] [llvm/llvm-project] 5a9858: [NFC] Fix some docs warnings Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 5a98581d196ba1ad9edaf36b1d1db122287b01eb https://github.com/llvm/llvm-project/commit/5a98581d196ba1ad9edaf36b1d1db122287b01eb Author: Mitch Phillips <31459023+hctim at users.noreply.github.com> Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/docs/DeveloperPolicy.rst M llvm/docs/Passes.rst Log Message: ----------- [NFC] Fix some docs warnings Summary: Fixes two minor issues in the docs present under `ninja docs-llvm-html`: 1 - A header is too small: ``` Warning, treated as error: llvm/llvm/docs/Passes.rst:70:Title underline too short. ``-basic-aa``: Basic Alias Analysis (stateless AA impl) ------------------------------------------------------ ``` 2 - Multiple definitions on a non-anonymous target (llvm-dev mailing list): ``` Warning, treated as error: llvm/llvm/docs/DeveloperPolicy.rst:3:Duplicate explicit target name: "llvm-dev mailing list". ``` Reviewers: lattner Reviewed By: lattner Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83416 From all-commits at lists.llvm.org Wed Jul 8 16:55:17 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?VmFsZW50aW4gQ2xlbWVudCAo44OQ44Os44Oz44K/44Kk44OzIOOCr+ODrA==?= =?UTF-8?B?44Oh44OzKQ==?= via All-commits) Date: Wed, 08 Jul 2020 16:55:17 -0700 Subject: [all-commits] [llvm/llvm-project] 230848: [openmp] Use switch in isAllowedClauseForDirective... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 23084878e96cadba4ade809b08229f3ee908aee9 https://github.com/llvm/llvm-project/commit/23084878e96cadba4ade809b08229f3ee908aee9 Author: Valentin Clement Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/test/TableGen/directive1.td M llvm/test/TableGen/directive2.td M llvm/utils/TableGen/DirectiveEmitter.cpp Log Message: ----------- [openmp] Use switch in isAllowedClauseForDirective instead of multiple if Summary: Change the test in isAllowedClauseForDirective from if with multiple conditions to a main switch on directive and then switches on clause for each directive. Version check is still done with a condition in the return statment. Reviewers: jdoerfert, jdenny Reviewed By: jdenny Subscribers: yaxunl, guansong, sstefan1, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83363 From all-commits at lists.llvm.org Wed Jul 8 17:01:37 2020 From: all-commits at lists.llvm.org (Julian Lettner via All-commits) Date: Wed, 08 Jul 2020 17:01:37 -0700 Subject: [all-commits] [llvm/llvm-project] f06d24: [lit] Add --show-xxx command line options Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f06d2420b738adef6cea80812fdde0bc36c4ea41 https://github.com/llvm/llvm-project/commit/f06d2420b738adef6cea80812fdde0bc36c4ea41 Author: Julian Lettner Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/utils/lit/lit/cl_arguments.py M llvm/utils/lit/lit/main.py A llvm/utils/lit/tests/Inputs/show-result-codes/fail.txt A llvm/utils/lit/tests/Inputs/show-result-codes/lit.cfg A llvm/utils/lit/tests/Inputs/show-result-codes/pass.txt A llvm/utils/lit/tests/Inputs/show-result-codes/unsupported.txt A llvm/utils/lit/tests/Inputs/show-result-codes/xfail.txt A llvm/utils/lit/tests/show-result-codes.py Log Message: ----------- [lit] Add --show-xxx command line options Provide `--show-xxx` flags for all non-failure result codes, just as we already do for `--show-xfail` and `--show-unsupported`. Reviewed By: jdenny Differential Revision: https://reviews.llvm.org/D82233 From all-commits at lists.llvm.org Wed Jul 8 17:22:04 2020 From: all-commits at lists.llvm.org (adrian-prantl via All-commits) Date: Wed, 08 Jul 2020 17:22:04 -0700 Subject: [all-commits] [llvm/llvm-project] 15149e: Fix debugserver reporting of deployment target Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 15149e406486092a3665791545ab9474471c0f14 https://github.com/llvm/llvm-project/commit/15149e406486092a3665791545ab9474471c0f14 Author: Adrian Prantl Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M lldb/test/API/macosx/simulator/TestSimulatorPlatform.py M lldb/tools/debugserver/source/MacOSX/MachProcess.mm Log Message: ----------- Fix debugserver reporting of deployment target This patch fixes debugserver incorrectly returning the SDK version instead of the minimum deployment target version. rdar://problem/65001691 Differential Revision: https://reviews.llvm.org/D83443 From all-commits at lists.llvm.org Wed Jul 8 17:59:54 2020 From: all-commits at lists.llvm.org (Peter Klausler via All-commits) Date: Wed, 08 Jul 2020 17:59:54 -0700 Subject: [all-commits] [llvm/llvm-project] cffc60: [flang] Fix negative unit number hashing Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: cffc6036173d540e0d0215ce177a667c838336c5 https://github.com/llvm/llvm-project/commit/cffc6036173d540e0d0215ce177a667c838336c5 Author: peter klausler Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M flang/runtime/unit-map.h Log Message: ----------- [flang] Fix negative unit number hashing Ensure that external unit number hashing produces a valid index for a negative unit number, viz. a NEWUNIT=. Reviewed By: sscalpone Differential Revision: https://reviews.llvm.org/D83428 From all-commits at lists.llvm.org Wed Jul 8 18:14:49 2020 From: all-commits at lists.llvm.org (Richard Smith via All-commits) Date: Wed, 08 Jul 2020 18:14:49 -0700 Subject: [all-commits] [llvm/llvm-project] 00068c: Improve diagnostics for constant evaluation that f... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 00068c452a599c328986e8afcbb3311331d09d26 https://github.com/llvm/llvm-project/commit/00068c452a599c328986e8afcbb3311331d09d26 Author: Richard Smith Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/include/clang/Basic/DiagnosticASTKinds.td M clang/lib/AST/ExprConstant.cpp M clang/test/CXX/expr/expr.const/p2-0x.cpp M clang/test/CXX/temp/temp.res/temp.dep/temp.dep.constexpr/p2.cpp M clang/test/SemaCXX/constant-expression-cxx11.cpp M clang/test/SemaCXX/constant-expression-cxx1y.cpp M clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp Log Message: ----------- Improve diagnostics for constant evaluation that fails because a variable's initializer is not known. The hope is that a better diagnostic for this case will reduce the rate at which duplicates of non-bug PR41093 are reported. From all-commits at lists.llvm.org Wed Jul 8 18:48:19 2020 From: all-commits at lists.llvm.org (River Riddle via All-commits) Date: Wed, 08 Jul 2020 18:48:19 -0700 Subject: [all-commits] [llvm/llvm-project] 24aa4e: [mlir] Print 0 element DenseElementsAttr as dense<... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 24aa4efffd831a1125b4eb835e1911fa38f501d7 https://github.com/llvm/llvm-project/commit/24aa4efffd831a1125b4eb835e1911fa38f501d7 Author: River Riddle Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M mlir/lib/IR/AsmPrinter.cpp M mlir/lib/Parser/AttributeParser.cpp M mlir/test/IR/parser.mlir Log Message: ----------- [mlir] Print 0 element DenseElementsAttr as dense<> to fix parser bugs with expected shape. Depending on where the 0 dimension is within the shape, the parser will currently reject .mlir generated by the printer. Differential Revision: https://reviews.llvm.org/D83445 From all-commits at lists.llvm.org Wed Jul 8 19:01:19 2020 From: all-commits at lists.llvm.org (Qiu Chaofan via All-commits) Date: Wed, 08 Jul 2020 19:01:19 -0700 Subject: [all-commits] [llvm/llvm-project] 4254ed: [Legalizer] Fix wrong operand in split vector helper Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4254ed5c325c4a366a5f763487822414df6a0de4 https://github.com/llvm/llvm-project/commit/4254ed5c325c4a366a5f763487822414df6a0de4 Author: Qiu Chaofan Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp Log Message: ----------- [Legalizer] Fix wrong operand in split vector helper This should be a typo introduced in D69275, which may cause an unknown segment fault in getNode. Reviewed By: uweigand Differential Revision: https://reviews.llvm.org/D83376 From all-commits at lists.llvm.org Wed Jul 8 20:18:10 2020 From: all-commits at lists.llvm.org (Stella Laurenzo via All-commits) Date: Wed, 08 Jul 2020 20:18:10 -0700 Subject: [all-commits] [llvm/llvm-project] abd657: Add missing CMake bool canonicalizations. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: abd6574b4542958bbde0d5b9568598f32417ef0a https://github.com/llvm/llvm-project/commit/abd6574b4542958bbde0d5b9568598f32417ef0a Author: Stella Laurenzo Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M mlir/test/CMakeLists.txt Log Message: ----------- Add missing CMake bool canonicalizations. Summary: * This allows these flags to be passed on the command line with normal CMake bool-interpreted values like ON/OFF instead of requiring 0/1. * As-is, if passing ON/OFF, these will cause a parse error in lit.site.cfg.py because Python tries to interpret the string literally. Reviewers: stephenneuendorffer Subscribers: mgorny, mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, Joonsoo, grosul1, Kayjukh, jurahul, msifontes Tags: #mlir Differential Revision: https://reviews.llvm.org/D83451 From all-commits at lists.llvm.org Wed Jul 8 20:46:43 2020 From: all-commits at lists.llvm.org (Eric Christopher via All-commits) Date: Wed, 08 Jul 2020 20:46:43 -0700 Subject: [all-commits] [llvm/llvm-project] 371c94: Fix a typo in an error message. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 371c94fca039bb85298756305758a56af129a1ce https://github.com/llvm/llvm-project/commit/371c94fca039bb85298756305758a56af129a1ce Author: Eric Christopher Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp Log Message: ----------- Fix a typo in an error message. From all-commits at lists.llvm.org Wed Jul 8 20:56:28 2020 From: all-commits at lists.llvm.org (Xing GUO via All-commits) Date: Wed, 08 Jul 2020 20:56:28 -0700 Subject: [all-commits] [llvm/llvm-project] 683a1b: [DWARFYAML][unittest] Refactor parseDWARFYAML(). Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 683a1bb253ef47ece27aad93812f22e8c51260fa https://github.com/llvm/llvm-project/commit/683a1bb253ef47ece27aad93812f22e8c51260fa Author: Xing GUO Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/unittests/ObjectYAML/DWARFYAMLTest.cpp Log Message: ----------- [DWARFYAML][unittest] Refactor parseDWARFYAML(). In this change, `parseDWARFYAML()` is refactored to be able to parse YAML decription into different data structures. We don't have to craft the whole DWARF structure for a small test in the future. Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D83220 From all-commits at lists.llvm.org Wed Jul 8 21:14:25 2020 From: all-commits at lists.llvm.org (lhames via All-commits) Date: Wed, 08 Jul 2020 21:14:25 -0700 Subject: [all-commits] [llvm/llvm-project] 670915: [ORC] Modify LazyCallThroughManager to support asy... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 670915094462d831e3733e5b01a76471b8cf6dd8 https://github.com/llvm/llvm-project/commit/670915094462d831e3733e5b01a76471b8cf6dd8 Author: Lang Hames Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h M llvm/include/llvm/ExecutionEngine/Orc/LazyReexports.h M llvm/lib/ExecutionEngine/Orc/LazyReexports.cpp Log Message: ----------- [ORC] Modify LazyCallThroughManager to support asynchronous resolution. Asynchronous resolution is a better fit for handling reentry over IPC/RPC where we want to avoid blocking a communication handler/thread. From all-commits at lists.llvm.org Wed Jul 8 22:15:00 2020 From: all-commits at lists.llvm.org (Louis Dionne via All-commits) Date: Wed, 08 Jul 2020 22:15:00 -0700 Subject: [all-commits] [llvm/llvm-project] 305b50: [libc++] Fix test failures in C++14 mode Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 305b500eaf8c3b6a319e4571b4279a4694645d0d https://github.com/llvm/llvm-project/commit/305b500eaf8c3b6a319e4571b4279a4694645d0d Author: Louis Dionne Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_duration.pass.cpp M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_time_point.pass.cpp Log Message: ----------- [libc++] Fix test failures in C++14 mode From all-commits at lists.llvm.org Wed Jul 8 23:09:25 2020 From: all-commits at lists.llvm.org (Johannes Doerfert via All-commits) Date: Wed, 08 Jul 2020 23:09:25 -0700 Subject: [all-commits] [llvm/llvm-project] e3e47e: [OpenMP] Make complex soft-float functions on the ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e3e47e80355422df2e730cf97a0c80bb6de3915e https://github.com/llvm/llvm-project/commit/e3e47e80355422df2e730cf97a0c80bb6de3915e Author: Johannes Doerfert Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/lib/Headers/__clang_cuda_complex_builtins.h M clang/test/Headers/nvptx_device_math_complex.c M clang/test/Headers/nvptx_device_math_complex.cpp Log Message: ----------- [OpenMP] Make complex soft-float functions on the GPU weak definitions To avoid linkage errors we have to ensure the linkage allows multiple definitions of these compiler inserted functions. Since they are on the cold path of complex computations, we want to avoid `inline`. Instead, we opt for `weak` and `noinline` for now. From all-commits at lists.llvm.org Wed Jul 8 23:30:44 2020 From: all-commits at lists.llvm.org (dyung via All-commits) Date: Wed, 08 Jul 2020 23:30:44 -0700 Subject: [all-commits] [llvm/llvm-project] f98884: Increase DIAG_SIZE_AST as we have hit it. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f9888462cc76fb486161709d88522bd419a89504 https://github.com/llvm/llvm-project/commit/f9888462cc76fb486161709d88522bd419a89504 Author: Douglas Yung Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M clang/include/clang/Basic/DiagnosticIDs.h Log Message: ----------- Increase DIAG_SIZE_AST as we have hit it. From all-commits at lists.llvm.org Wed Jul 8 23:45:20 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Wed, 08 Jul 2020 23:45:20 -0700 Subject: [all-commits] [llvm/llvm-project] c96877: [X86] Remove unnecessary union from getHostCPUFeat... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c96877ff62253aeeaba4ea165861045263d25207 https://github.com/llvm/llvm-project/commit/c96877ff62253aeeaba4ea165861045263d25207 Author: Craig Topper Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/lib/Support/Host.cpp Log Message: ----------- [X86] Remove unnecessary union from getHostCPUFeatures. NFC This seems to be leftover copied from an older implementation of getHostCPUName where we needed this to check the name of CPU vendor. We don't check the CPU vendor at all in getHostCPUFeatures so this union and the variable are unneeded. From all-commits at lists.llvm.org Wed Jul 8 23:58:06 2020 From: all-commits at lists.llvm.org (Vitaly Buka via All-commits) Date: Wed, 08 Jul 2020 23:58:06 -0700 Subject: [all-commits] [llvm/llvm-project] e38727: [StackSafety, NFC] Update documentation Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e38727a0bbbf2a0ee8f29458163a56f3c821f010 https://github.com/llvm/llvm-project/commit/e38727a0bbbf2a0ee8f29458163a56f3c821f010 Author: Vitaly Buka Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M llvm/docs/LangRef.rst M llvm/include/llvm/Analysis/StackSafetyAnalysis.h M llvm/include/llvm/IR/ModuleSummaryIndex.h M llvm/lib/Analysis/StackSafetyAnalysis.cpp Log Message: ----------- [StackSafety,NFC] Update documentation It's follow up for D80908 Reviewed By: tejohnson Differential Revision: https://reviews.llvm.org/D82941 From all-commits at lists.llvm.org Thu Jul 9 00:40:11 2020 From: all-commits at lists.llvm.org (bzEq via All-commits) Date: Thu, 09 Jul 2020 00:40:11 -0700 Subject: [all-commits] [llvm/llvm-project] e2b931: [PowerPC] Only make copies of registers on stack i... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e2b93185b84bd88264377f785465933a89faa4f8 https://github.com/llvm/llvm-project/commit/e2b93185b84bd88264377f785465933a89faa4f8 Author: Kai Luo Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Target/PowerPC/PPCISelLowering.cpp M llvm/test/CodeGen/PowerPC/legalize-vaarg.ll M llvm/test/CodeGen/PowerPC/ppc64-varargs.ll Log Message: ----------- [PowerPC] Only make copies of registers on stack in variadic function when va_start is called On PPC64, for a variadic function, if va_start is not called, it won't access any variadic argument on stack, thus we can save stores of registers used to pass arguments. Differential Revision: https://reviews.llvm.org/D82361 From all-commits at lists.llvm.org Thu Jul 9 01:20:41 2020 From: all-commits at lists.llvm.org (Sam McCall via All-commits) Date: Thu, 09 Jul 2020 01:20:41 -0700 Subject: [all-commits] [llvm/llvm-project] f36518: [clangd] Fix error handling in config.yaml parsing. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f36518637d7dfe5f8e619db1bd65dc90c92b5afa https://github.com/llvm/llvm-project/commit/f36518637d7dfe5f8e619db1bd65dc90c92b5afa Author: Sam McCall Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang-tools-extra/clangd/ConfigYAML.cpp M clang-tools-extra/clangd/unittests/ConfigYAMLTests.cpp Log Message: ----------- [clangd] Fix error handling in config.yaml parsing. Summary: A few things were broken: - use of Document::parseBlockNode() is incorrect and prevents moving to the next doc in error cases. Use getRoot() instead. - bailing out in the middle of iterating over a list/dict isn't allowed, unless you are going to throw away the parser: the next skip() asserts. Always consume all items. - There were two concepts of fatal errors: error-diagnostics and drop-fragment. (The latter is the "return false" case in the parser). They didn't coincide. Now, parser errors and explicitly emitted error diagnostics are fatal. Fixes https://github.com/clangd/clangd/issues/452 Reviewers: hokein Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D83436 From all-commits at lists.llvm.org Thu Jul 9 01:29:51 2020 From: all-commits at lists.llvm.org (serge-sans-paille via All-commits) Date: Thu, 09 Jul 2020 01:29:51 -0700 Subject: [all-commits] [llvm/llvm-project] a60c31: Fix return status of AtomicExpandPass Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a60c31fd6229d2b2e578fa7e192e98303e69223c https://github.com/llvm/llvm-project/commit/a60c31fd6229d2b2e578fa7e192e98303e69223c Author: serge-sans-paille Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/CodeGen/AtomicExpandPass.cpp Log Message: ----------- Fix return status of AtomicExpandPass Correctly reflect change in the return status. Differential Revision: https://reviews.llvm.org/D83457 From all-commits at lists.llvm.org Thu Jul 9 01:40:02 2020 From: all-commits at lists.llvm.org (KanRobert via All-commits) Date: Thu, 09 Jul 2020 01:40:02 -0700 Subject: [all-commits] [llvm/llvm-project] e59e39: [MC] Simplify the logic of applying fixup for frag... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e59e39b7c4092ead733d25e7801429fd9dab7007 https://github.com/llvm/llvm-project/commit/e59e39b7c4092ead733d25e7801429fd9dab7007 Author: Shengchen Kan Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/MC/MCAssembler.cpp Log Message: ----------- [MC] Simplify the logic of applying fixup for fragments, NFCI Replace mutiple `if else` clauses with a `switch` clause and remove redundant checks. Before this patch, we need to add a statement like `if(!isa(Frag)) ` here each time we add a new kind of `MCEncodedFragment` even if it has no fixups. After this patch, we don't need to do that. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D83366 From all-commits at lists.llvm.org Thu Jul 9 01:46:41 2020 From: all-commits at lists.llvm.org (Lucas Duarte Prates via All-commits) Date: Thu, 09 Jul 2020 01:46:41 -0700 Subject: [all-commits] [llvm/llvm-project] fc39a9: [CodeGen] Matching promoted type for 16-bit intege... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: fc39a9ca0ef4f7b07c485e0d3c61ec0776f7a38c https://github.com/llvm/llvm-project/commit/fc39a9ca0ef4f7b07c485e0d3c61ec0776f7a38c Author: Lucas Prates Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp A llvm/test/CodeGen/ARM/arm-half-promote.ll Log Message: ----------- [CodeGen] Matching promoted type for 16-bit integer bitcasts from fp16 operand Summary: When legalizing a biscast operation from an fp16 operand to an i16 on a target that requires both input and output types to be promoted to 32-bits, an assertion can fail when building the new node due to a mismatch between the the operation's result size and the type specified to the node. This patches fix the issue by making sure the bit width of the types match for the FP_TO_FP16 node, covering the difference with an extra ANYEXTEND operation. Reviewers: ostannard, efriedma, pirama, jmolloy, plotfi Reviewed By: efriedma Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82552 From all-commits at lists.llvm.org Thu Jul 9 01:52:12 2020 From: all-commits at lists.llvm.org (Florian Hahn via All-commits) Date: Thu, 09 Jul 2020 01:52:12 -0700 Subject: [all-commits] [llvm/llvm-project] b805e9: [PredicateInfo] Add additional RenamedOp field to PB. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b805e944773e119461903e5140389072c02796bf https://github.com/llvm/llvm-project/commit/b805e944773e119461903e5140389072c02796bf Author: Florian Hahn Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/include/llvm/Transforms/Utils/PredicateInfo.h M llvm/lib/Transforms/Utils/PredicateInfo.cpp Log Message: ----------- [PredicateInfo] Add additional RenamedOp field to PB. OriginalOp of a predicate always refers to the original IR value that was renamed. So for nested predicates of the same value, it will always refer to the original IR value. For the use in SCCP however, we need to find the renamed value that is currently used in the condition associated with the predicate. This patch adds a new RenamedOp field to do exactly that. NewGVN currently relies on the existing behavior to merge instruction metadata. A test case to check for exactly that has been added in 195fa4bfae10. Reviewers: efriedma, davide, nikic Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D78133 From all-commits at lists.llvm.org Thu Jul 9 01:58:11 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?a2FkaXIgw6dldGlua2F5YQ==?= via All-commits) Date: Thu, 09 Jul 2020 01:58:11 -0700 Subject: [all-commits] [llvm/llvm-project] 1c7c50: [clangd] Enable async preambles by default Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1c7c5019a7adfb16e0449ffb1d0e10631998d854 https://github.com/llvm/llvm-project/commit/1c7c5019a7adfb16e0449ffb1d0e10631998d854 Author: Kadir Cetinkaya Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang-tools-extra/clangd/ClangdServer.h M clang-tools-extra/clangd/TUScheduler.h Log Message: ----------- [clangd] Enable async preambles by default Summary: We've been testing this internally for a couple weeks now and it seems to be stable enough. Let's flip the flag before branch cut to increase testing coverage and have enough time to revert if need be. Subscribers: ilya-biryukov, javed.absar, MaskRay, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D83290 From all-commits at lists.llvm.org Thu Jul 9 01:58:34 2020 From: all-commits at lists.llvm.org (ostannard via All-commits) Date: Thu, 09 Jul 2020 01:58:34 -0700 Subject: [all-commits] [llvm/llvm-project] dc4a6f: [llvm-objdump] Display locations of variables alon... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: dc4a6f5db4f0178bae43ef615cc8902c759d6195 https://github.com/llvm/llvm-project/commit/dc4a6f5db4f0178bae43ef615cc8902c759d6195 Author: Oliver Stannard Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/docs/CommandGuide/llvm-objdump.rst M llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h M llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp A llvm/test/tools/llvm-objdump/ARM/Inputs/debug.c A llvm/test/tools/llvm-objdump/ARM/Inputs/wide-char.c A llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf4-sections.s A llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf4.s A llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf5-sections.s A llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf5.s A llvm/test/tools/llvm-objdump/ARM/debug-vars-wide-chars.s A llvm/test/tools/llvm-objdump/PowerPC/debug-vars.s M llvm/tools/llvm-objdump/llvm-objdump.cpp Log Message: ----------- [llvm-objdump] Display locations of variables alongside disassembly This adds the --debug-vars option to llvm-objdump, which prints locations (registers/memory) of source-level variables alongside the disassembly based on DWARF info. A vertical line is printed for each live-range, with a label at the top giving the variable name and location, and the position and length of the line indicating the program counter range in which it is valid. Differential revision: https://reviews.llvm.org/D70720 From all-commits at lists.llvm.org Thu Jul 9 02:19:37 2020 From: all-commits at lists.llvm.org (serge-sans-paille via All-commits) Date: Thu, 09 Jul 2020 02:19:37 -0700 Subject: [all-commits] [llvm/llvm-project] e4ec6d: Correctly update return status for MVEGatherScatte... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e4ec6d0afe14ca4ba6cebd35c7f46f3ce0859ecf https://github.com/llvm/llvm-project/commit/e4ec6d0afe14ca4ba6cebd35c7f46f3ce0859ecf Author: serge-sans-paille Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp Log Message: ----------- Correctly update return status for MVEGatherScatterLowering `Changed` should reflect all possible changes. Differential Revision: https://reviews.llvm.org/D83459 From all-commits at lists.llvm.org Thu Jul 9 02:24:03 2020 From: all-commits at lists.llvm.org (Tres via All-commits) Date: Thu, 09 Jul 2020 02:24:03 -0700 Subject: [all-commits] [llvm/llvm-project] 2ef71c: [mlir] Add additional Canonicalization of shape.cs... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 2ef71cb7fdb76acd2dc69584d05dacd041a7a522 https://github.com/llvm/llvm-project/commit/2ef71cb7fdb76acd2dc69584d05dacd041a7a522 Author: Tres Popp Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M mlir/include/mlir/Dialect/Traits.h M mlir/lib/Dialect/Shape/IR/Shape.cpp M mlir/lib/Dialect/Traits.cpp M mlir/test/Dialect/Shape/canonicalize.mlir Log Message: ----------- [mlir] Add additional Canonicalization of shape.cstr_broadcastable. Summary: Added canonicalization and folding was: - Folding when either input is an attribute indicating a scalar input which can always be broadcasted. - Canonicalization where it can be determined that either input shape is a scalar. - Canonicalization where the partially specified input shapes can be proven to be broadcastable always. Differential Revision: https://reviews.llvm.org/D83194 From all-commits at lists.llvm.org Thu Jul 9 02:42:36 2020 From: all-commits at lists.llvm.org (Dmitry Polukhin via All-commits) Date: Thu, 09 Jul 2020 02:42:36 -0700 Subject: [all-commits] [llvm/llvm-project] 9e7fdd: [yaml][clang-tidy] Fix multiline YAML serialization Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9e7fddbd36f567217255c1df1cb816b79f0250af https://github.com/llvm/llvm-project/commit/9e7fddbd36f567217255c1df1cb816b79f0250af Author: Dmitry Polukhin Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/include/clang/Tooling/ReplacementsYaml.h M clang/unittests/Tooling/ReplacementsYamlTest.cpp M llvm/include/llvm/Support/YAMLTraits.h M llvm/lib/Support/YAMLTraits.cpp M llvm/test/Transforms/LowerMatrixIntrinsics/remarks-shared-subtrees.ll M llvm/unittests/Support/YAMLIOTest.cpp Log Message: ----------- [yaml][clang-tidy] Fix multiline YAML serialization Summary: New line duplication logic introduced in https://reviews.llvm.org/D63482 has two issues: (1) there is no logic that removes duplicate newlines when clang-apply-replacment reads YAML and (2) in general such logic should be applied to all strings and should happen on string serialization level instead in YAML parser. This diff changes multiline strings quotation from single quote `'` to double `"`. It solves problems with internal newlines because now they are escaped. Also double quotation solves the problem with leading whitespace after newline. In case of single quotation YAML parsers should remove leading whitespace according to specification. In case of double quotation these leading are internal space and they are preserved. There is no way to instruct YAML parsers to preserve leading whitespaces after newline so double quotation is the only viable option that solves all problems at once. Test Plan: check-all Reviewers: gribozavr, mgehre, yvvan Subscribers: xazax.hun, hiraditya, cfe-commits, llvm-commits Tags: #clang-tools-extra, #clang, #llvm Differential Revision: https://reviews.llvm.org/D80301 From all-commits at lists.llvm.org Thu Jul 9 03:01:44 2020 From: all-commits at lists.llvm.org (Simon Pilgrim via All-commits) Date: Thu, 09 Jul 2020 03:01:44 -0700 Subject: [all-commits] [llvm/llvm-project] dbed9d: VersionPrinter - use const auto& iterator in for-r... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: dbed9d5ce7f5ab870b3ff20a14ee6c366c803fdb https://github.com/llvm/llvm-project/commit/dbed9d5ce7f5ab870b3ff20a14ee6c366c803fdb Author: Simon Pilgrim Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Support/CommandLine.cpp Log Message: ----------- VersionPrinter - use const auto& iterator in for-range-loop. Avoids unnecessary copies and silences clang tidy warning. From all-commits at lists.llvm.org Thu Jul 9 03:13:04 2020 From: all-commits at lists.llvm.org (Simon Pilgrim via All-commits) Date: Thu, 09 Jul 2020 03:13:04 -0700 Subject: [all-commits] [llvm/llvm-project] 397c68: Fix MSVC "not all control paths return a value" wa... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 397c68202a990c80a71de2816cee413cd5b5865e https://github.com/llvm/llvm-project/commit/397c68202a990c80a71de2816cee413cd5b5865e Author: Simon Pilgrim Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/lib/Tooling/Syntax/BuildTree.cpp Log Message: ----------- Fix MSVC "not all control paths return a value" warning. NFC. From all-commits at lists.llvm.org Thu Jul 9 03:17:30 2020 From: all-commits at lists.llvm.org (Simon Pilgrim via All-commits) Date: Thu, 09 Jul 2020 03:17:30 -0700 Subject: [all-commits] [llvm/llvm-project] 03fe47: ConstantFoldScalarCall3 - use const APInt& returne... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 03fe47a29c95dbda5ecd548e35627bb16f7dfc6d https://github.com/llvm/llvm-project/commit/03fe47a29c95dbda5ecd548e35627bb16f7dfc6d Author: Simon Pilgrim Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Analysis/ConstantFolding.cpp Log Message: ----------- ConstantFoldScalarCall3 - use const APInt& returned by getValue() Avoids unnecessary APInt copies and silences clang tidy warning. From all-commits at lists.llvm.org Thu Jul 9 03:24:03 2020 From: all-commits at lists.llvm.org (junparser via All-commits) Date: Thu, 09 Jul 2020 03:24:03 -0700 Subject: [all-commits] [llvm/llvm-project] f0bfad: [Coroutines] Refactor sinkLifetimeStartMarkers Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f0bfad2ed9b4a0eec68b71c7df2ee588806788c2 https://github.com/llvm/llvm-project/commit/f0bfad2ed9b4a0eec68b71c7df2ee588806788c2 Author: Jun Ma Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Transforms/Coroutines/CoroFrame.cpp M llvm/lib/Transforms/Coroutines/CoroSplit.cpp A llvm/test/Transforms/Coroutines/coro-split-sink-lifetime-01.ll A llvm/test/Transforms/Coroutines/coro-split-sink-lifetime-02.ll R llvm/test/Transforms/Coroutines/coro-split-sink-lifetime.ll Log Message: ----------- [Coroutines] Refactor sinkLifetimeStartMarkers Differential Revision: https://reviews.llvm.org/D83379 From all-commits at lists.llvm.org Thu Jul 9 03:30:18 2020 From: all-commits at lists.llvm.org (Nathan James via All-commits) Date: Thu, 09 Jul 2020 03:30:18 -0700 Subject: [all-commits] [llvm/llvm-project] 6a3b10: [change-namespace][NFC] Clean up joinNamespaces Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6a3b10e294feceb94064f32450de5c068a13dd03 https://github.com/llvm/llvm-project/commit/6a3b10e294feceb94064f32450de5c068a13dd03 Author: Nathan James Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang-tools-extra/clang-change-namespace/ChangeNamespace.cpp Log Message: ----------- [change-namespace][NFC] Clean up joinNamespaces From all-commits at lists.llvm.org Thu Jul 9 03:38:15 2020 From: all-commits at lists.llvm.org (Simon Pilgrim via All-commits) Date: Thu, 09 Jul 2020 03:38:15 -0700 Subject: [all-commits] [llvm/llvm-project] 58a857: DebugCounterList::printOptionInfo - use const auto... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 58a85717cce5166b0952aee4d13375dda94f7497 https://github.com/llvm/llvm-project/commit/58a85717cce5166b0952aee4d13375dda94f7497 Author: Simon Pilgrim Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Support/DebugCounter.cpp Log Message: ----------- DebugCounterList::printOptionInfo - use const auto& iterator in for-range-loop. Avoids unnecessary copies and silences clang tidy warning. From all-commits at lists.llvm.org Thu Jul 9 03:46:11 2020 From: all-commits at lists.llvm.org (Georgii Rymar via All-commits) Date: Thu, 09 Jul 2020 03:46:11 -0700 Subject: [all-commits] [llvm/llvm-project] 54bdde: [llvm-readelf] - Stop using 'unwrapOrError()' in '... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 54bdde1dc0cde8176ef5616c82ee793218173cab https://github.com/llvm/llvm-project/commit/54bdde1dc0cde8176ef5616c82ee793218173cab Author: Georgii Rymar Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/test/tools/llvm-readobj/ELF/versym-invalid.test M llvm/tools/llvm-readobj/ELFDumper.cpp Log Message: ----------- [llvm-readelf] - Stop using 'unwrapOrError()' in 'ELFDumper::getSymbolVersion'. This allows to propagate an error and report a warning properly. Differential revision: https://reviews.llvm.org/D83393 From all-commits at lists.llvm.org Thu Jul 9 03:49:19 2020 From: all-commits at lists.llvm.org (paulwalker-arm via All-commits) Date: Thu, 09 Jul 2020 03:49:19 -0700 Subject: [all-commits] [llvm/llvm-project] 614fb0: [SVE] Disable some BUILD_VECTOR related code gener... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 614fb09645c8710f106dedb5f244f75ef97a1acb https://github.com/llvm/llvm-project/commit/614fb09645c8710f106dedb5f244f75ef97a1acb Author: Paul Walker Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp M llvm/lib/Target/AArch64/AArch64ISelLowering.h M llvm/test/CodeGen/AArch64/sve-fixed-length-shuffles.ll Log Message: ----------- [SVE] Disable some BUILD_VECTOR related code generator features. Fixed length vector code generation for SVE does not yet custom lower BUILD_VECTOR and instead relies on expansion. At the same time custom lowering for VECTOR_SHUFFLE is also not available so this patch updates isShuffleMaskLegal to reject vector types that require SVE. Related to this it also prevents the merging of stores after legalisation because this only works when BUILD_VECTOR is either legal or can be elminated. When this is not the case the code generator enters an infinite legalisation loop. Differential Revision: https://reviews.llvm.org/D83408 Commit: 6b403319f86f55f1d6e16bde58d792d696e9fa8f https://github.com/llvm/llvm-project/commit/6b403319f86f55f1d6e16bde58d792d696e9fa8f Author: Paul Walker Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h A llvm/test/Transforms/ScalarizeMaskedMemIntrin/AArch64/expand-masked-load.ll A llvm/test/Transforms/ScalarizeMaskedMemIntrin/AArch64/expand-masked-store.ll Log Message: ----------- [SVE] Scalarize fixed length masked loads and stores. When adding support for scalable vector masked loads and stores we accidently opened up likewise for fixed length vectors. This patch restricts support to scalable vectors only, thus ensuring fixed length vectors are treated the same regardless of SVE support. Differential Revision: https://reviews.llvm.org/D83341 Compare: https://github.com/llvm/llvm-project/compare/54bdde1dc0cd...6b403319f86f From all-commits at lists.llvm.org Thu Jul 9 03:51:31 2020 From: all-commits at lists.llvm.org (Xing GUO via All-commits) Date: Thu, 09 Jul 2020 03:51:31 -0700 Subject: [all-commits] [llvm/llvm-project] 47c4ce: [DWARFYAML] Use override instead of virtual for be... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 47c4ce41a16412efe49da1715be3144861cbf50a https://github.com/llvm/llvm-project/commit/47c4ce41a16412efe49da1715be3144861cbf50a Author: Xing GUO Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/ObjectYAML/DWARFEmitter.cpp Log Message: ----------- [DWARFYAML] Use override instead of virtual for better safety. Functions in DWARFYML::FixupVisitor are declared as virtual functions in its base class DWARFYAML::Visitor. We should use the mordern "override" keyword instead of "virtual" for virtual functions in subclasses for better safety. Besides, the visibility is changed from private to protected to make it consistent with DWARFYAML::FixupVisitor class and DWARFYAML::Visitor class. Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D83452 From all-commits at lists.llvm.org Thu Jul 9 03:55:05 2020 From: all-commits at lists.llvm.org (Kirill Bobyrev via All-commits) Date: Thu, 09 Jul 2020 03:55:05 -0700 Subject: [all-commits] [llvm/llvm-project] 93bb99: [clangd] Implement path and URI translation for re... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 93bb9944cb577f0529636dc5acfba16026740962 https://github.com/llvm/llvm-project/commit/93bb9944cb577f0529636dc5acfba16026740962 Author: Kirill Bobyrev Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp M clang-tools-extra/clangd/index/remote/Client.cpp M clang-tools-extra/clangd/index/remote/Client.h M clang-tools-extra/clangd/index/remote/Index.proto M clang-tools-extra/clangd/index/remote/marshalling/Marshalling.cpp M clang-tools-extra/clangd/index/remote/marshalling/Marshalling.h M clang-tools-extra/clangd/index/remote/server/Server.cpp M clang-tools-extra/clangd/index/remote/unimplemented/UnimplementedClient.cpp M clang-tools-extra/clangd/unittests/remote/MarshallingTests.cpp Log Message: ----------- [clangd] Implement path and URI translation for remote index Reviewers: sammccall Reviewed By: sammccall Subscribers: ormris, ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82938 From all-commits at lists.llvm.org Thu Jul 9 04:52:20 2020 From: all-commits at lists.llvm.org (Benjamin Kramer via All-commits) Date: Thu, 09 Jul 2020 04:52:20 -0700 Subject: [all-commits] [llvm/llvm-project] b44470: Make helpers static. NFC. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b44470547e2ec8a52abb67c3f538ecc49ee27970 https://github.com/llvm/llvm-project/commit/b44470547e2ec8a52abb67c3f538ecc49ee27970 Author: Benjamin Kramer Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/lib/AST/ASTImporter.cpp M clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp M llvm/lib/IR/AutoUpgrade.cpp M llvm/lib/MC/MCDisassembler/MCDisassembler.cpp M llvm/lib/Target/X86/X86ISelLowering.cpp M llvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp M llvm/lib/Transforms/Vectorize/VectorCombine.cpp M mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp M mlir/lib/Dialect/Affine/IR/AffineOps.cpp M mlir/lib/Dialect/Linalg/Transforms/Loops.cpp M mlir/test/lib/Transforms/TestLinalgTransforms.cpp Log Message: ----------- Make helpers static. NFC. From all-commits at lists.llvm.org Thu Jul 9 05:07:38 2020 From: all-commits at lists.llvm.org (Florian Hahn via All-commits) Date: Thu, 09 Jul 2020 05:07:38 -0700 Subject: [all-commits] [llvm/llvm-project] a86ce0: [SCCP] Use conditional info with AND/OR branch con... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a86ce06fafaa051554c6a21d487fa70e998dcafe https://github.com/llvm/llvm-project/commit/a86ce06fafaa051554c6a21d487fa70e998dcafe Author: Florian Hahn Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Transforms/Scalar/SCCP.cpp M llvm/test/Transforms/SCCP/conditions-ranges.ll Log Message: ----------- [SCCP] Use conditional info with AND/OR branch conditions. Currently SCCP does not combine the information of conditions joined by AND in the true branch or OR in the false branch. For branches on AND, 2 copies will be inserted for the true branch, with one being the operand of the other as in the code below. We can combine the information using intersection. Note that for the OR case, the copies are inserted in the false branch, where using intersection is safe as well. define void @foo(i32 %a) { entry: %lt = icmp ult i32 %a, 100 %gt = icmp ugt i32 %a, 20 %and = and i1 %lt, %gt ; Has predicate info ; branch predicate info { TrueEdge: 1 Comparison: %lt = icmp ult i32 %a, 100 Edge: [label %entry,label %true] } %a.0 = call i32 @llvm.ssa.copy.140247425954880(i32 %a) ; Has predicate info ; branch predicate info { TrueEdge: 1 Comparison: %gt = icmp ugt i32 %a, 20 Edge: [label %entry,label %false] } %a.1 = call i32 @llvm.ssa.copy.140247425954880(i32 %a.0) br i1 %and, label %true, label %false true: ; preds = %entry call void @use(i32 %a.1) %true.1 = icmp ne i32 %a.1, 20 call void @use.i1(i1 %true.1) ret void false: ; preds = %entry call void @use(i32 %a.1) ret void } Reviewers: efriedma, davide, mssimpso, nikic Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D77808 From all-commits at lists.llvm.org Thu Jul 9 05:16:57 2020 From: all-commits at lists.llvm.org (Igor Kudrin via All-commits) Date: Thu, 09 Jul 2020 05:16:57 -0700 Subject: [all-commits] [llvm/llvm-project] 68f5a8: [DebugInfo] Do not hang when parsing a malformed .... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 68f5a8b2042b8c4dc83d1851b462a0570eb3410f https://github.com/llvm/llvm-project/commit/68f5a8b2042b8c4dc83d1851b462a0570eb3410f Author: Igor Kudrin Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M lld/ELF/DWARF.h M lld/ELF/SyntheticSections.cpp A lld/test/ELF/gdb-index-invalid-pubnames.s M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h M llvm/lib/DebugInfo/DWARF/DWARFContext.cpp M llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp A llvm/test/tools/llvm-dwarfdump/X86/debug_pub_tables_invalid.s Log Message: ----------- [DebugInfo] Do not hang when parsing a malformed .debug_pub* section. The parsing method did not check reading errors and might easily fall into an infinite loop on an invalid input because of that. Differential Revision: https://reviews.llvm.org/D83049 Commit: ca4d8da0c33cd9bcd05f94b4b3ac125b72be2a2a https://github.com/llvm/llvm-project/commit/ca4d8da0c33cd9bcd05f94b4b3ac125b72be2a2a Author: Igor Kudrin Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M lld/ELF/SyntheticSections.cpp M lld/test/ELF/Inputs/gdb-index.s M lld/test/ELF/gdb-index-invalid-pubnames.s M lld/test/ELF/gdb-index.s M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h M llvm/lib/DebugInfo/DWARF/DWARFContext.cpp M llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp A llvm/test/tools/llvm-dwarfdump/X86/debug_pub_tables_error_cases.s R llvm/test/tools/llvm-dwarfdump/X86/debug_pub_tables_invalid.s Log Message: ----------- [DebugInfo] Add more checks to parsing .debug_pub* sections. The patch adds checking for various potential issues in parsing name lookup tables and reporting them as recoverable errors, similarly as we do for other tables. Differential Revision: https://reviews.llvm.org/D83050 Compare: https://github.com/llvm/llvm-project/compare/a86ce06fafaa...ca4d8da0c33c From all-commits at lists.llvm.org Thu Jul 9 05:25:01 2020 From: all-commits at lists.llvm.org (Benjamin Kramer via All-commits) Date: Thu, 09 Jul 2020 05:25:01 -0700 Subject: [all-commits] [llvm/llvm-project] d36b84: [DebugInfo] Fix pessimizing move. NFC. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: d36b8414bdde1f361c40e6f6d53788c43ffe53c1 https://github.com/llvm/llvm-project/commit/d36b8414bdde1f361c40e6f6d53788c43ffe53c1 Author: Benjamin Kramer Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp Log Message: ----------- [DebugInfo] Fix pessimizing move. NFC. DWARFDebugPubTable.cpp:80:31: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] From all-commits at lists.llvm.org Thu Jul 9 05:45:52 2020 From: all-commits at lists.llvm.org (Daniil Fukalov via All-commits) Date: Thu, 09 Jul 2020 05:45:52 -0700 Subject: [all-commits] [llvm/llvm-project] 167767: SpeculativeExecution: Fix for logic change introdu... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 167767a775f3db5cd94053d4da6a4f419b6211cd https://github.com/llvm/llvm-project/commit/167767a775f3db5cd94053d4da6a4f419b6211cd Author: dfukalov Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp M llvm/test/Transforms/SpeculativeExecution/PR46267.ll Log Message: ----------- SpeculativeExecution: Fix for logic change introduced in D81730. Summary: The test case started to hoist bitcasts to upper BB after D81730. Reverted unintentional logic change. Some instructions may have zero cost but will not be hoisted by different limitation so should be counted for threshold. Reviewers: aprantl, arsenm, nhaehnle Reviewed By: aprantl Subscribers: wdng, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82761 From all-commits at lists.llvm.org Thu Jul 9 05:55:06 2020 From: all-commits at lists.llvm.org (Sam Elliott via All-commits) Date: Thu, 09 Jul 2020 05:55:06 -0700 Subject: [all-commits] [llvm/llvm-project] 97106f: [RISCV] Avoid Splitting MBB in RISCVExpandPseudo Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 97106f9d80f6ba1bf5eafbd5a6f88d72913ec5a1 https://github.com/llvm/llvm-project/commit/97106f9d80f6ba1bf5eafbd5a6f88d72913ec5a1 Author: Sam Elliott Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/include/llvm/CodeGen/MachineBasicBlock.h M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp M llvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp M llvm/lib/Target/RISCV/RISCVMCInstLower.cpp M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp M llvm/test/CodeGen/RISCV/codemodel-lowering.ll M llvm/test/CodeGen/RISCV/mir-target-flags.ll M llvm/test/CodeGen/RISCV/pic-models.ll M llvm/test/CodeGen/RISCV/tls-models.ll Log Message: ----------- [RISCV] Avoid Splitting MBB in RISCVExpandPseudo Since the `RISCVExpandPseudo` pass has been split from `RISCVExpandAtomicPseudo` pass, it would be nice to run the former as early as possible (The latter has to be run as late as possible to ensure correctness). Running earlier means we can reschedule these pairs as we see fit. Running earlier in the machine pass pipeline is good, but would mean teaching many more passes about `hasLabelMustBeEmitted`. Splitting the basic blocks also pessimises possible optimisations because some optimisations are MBB-local, and others are disabled if the block has its address taken (which is notionally what `hasLabelMustBeEmitted` means). This patch uses a new approach of setting the pre-instruction symbol on the AUIPC instruction to a temporary symbol and referencing that. This avoids splitting the basic block, but allows us to reference exactly the instruction that we need to. Notionally, this approach seems more correct because we do actually want to address a specific instruction. This then allows the pass to be moved much earlier in the pass pipeline, before both scheduling and register allocation. However, to do so we must leave the MIR in SSA form (by not redefining registers), and so use a virtual register for the intermediate value. By using this virtual register, this pass now has to come before register allocation. Reviewed By: luismarques, asb Differential Revision: https://reviews.llvm.org/D82988 From all-commits at lists.llvm.org Thu Jul 9 06:09:50 2020 From: all-commits at lists.llvm.org (Simon Pilgrim via All-commits) Date: Thu, 09 Jul 2020 06:09:50 -0700 Subject: [all-commits] [llvm/llvm-project] 4597bf: BasicAAResult::constantOffsetHeuristic - pass APIn... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4597bfddf11b7d9dcf373525d0bc889bcc212b13 https://github.com/llvm/llvm-project/commit/4597bfddf11b7d9dcf373525d0bc889bcc212b13 Author: Simon Pilgrim Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/include/llvm/Analysis/BasicAliasAnalysis.h M llvm/lib/Analysis/BasicAliasAnalysis.cpp Log Message: ----------- BasicAAResult::constantOffsetHeuristic - pass APInt arg as const reference. NFCI. Avoids unnecessary APInt copies and silences clang tidy warning. Commit: f54402b63a4f5b0b4b15e0f82ce8ff8501b206e6 https://github.com/llvm/llvm-project/commit/f54402b63a4f5b0b4b15e0f82ce8ff8501b206e6 Author: Simon Pilgrim Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Target/X86/X86ISelLowering.cpp M llvm/test/CodeGen/X86/avx-vperm2x128.ll M llvm/test/CodeGen/X86/avx512-intrinsics-fast-isel.ll M llvm/test/CodeGen/X86/known-signbits-vector.ll M llvm/test/CodeGen/X86/packss.ll M llvm/test/CodeGen/X86/var-permute-256.ll M llvm/test/CodeGen/X86/vector-pack-256.ll M llvm/test/CodeGen/X86/x86-interleaved-access.ll Log Message: ----------- [X86][AVX] Attempt to fold extract_subvector(shuffle(X)) -> extract_subvector(X) If we're extracting a subvector from a shuffle that is shuffling entire subvectors we can peek through and extract the subvector from the shuffle source instead. This helps remove some cases where concat_vectors(extract_subvector(),extract_subvector()) legalizations has resulted in BLEND/VPERM2F128 shuffles of the subvectors. Compare: https://github.com/llvm/llvm-project/compare/97106f9d80f6...f54402b63a4f From all-commits at lists.llvm.org Thu Jul 9 06:23:54 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?THVib8WhIEx1xYjDoWs=?= via All-commits) Date: Thu, 09 Jul 2020 06:23:54 -0700 Subject: [all-commits] [llvm/llvm-project] 31b056: make -fmodules-codegen and -fmodules-debuginfo wor... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 31b05692cd33b6dcc39402169b36d895e1aa87f4 https://github.com/llvm/llvm-project/commit/31b05692cd33b6dcc39402169b36d895e1aa87f4 Author: Luboš Luňák Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/lib/Serialization/ASTReader.cpp M clang/lib/Serialization/ASTReaderDecl.cpp M clang/lib/Serialization/ASTWriter.cpp M clang/lib/Serialization/ASTWriterDecl.cpp M clang/test/Modules/Inputs/codegen-flags/foo.h A clang/test/PCH/codegen.cpp Log Message: ----------- make -fmodules-codegen and -fmodules-debuginfo work also with PCHs Allow to build PCH's (with -building-pch-with-obj and the extra .o file) with -fmodules-codegen -fmodules-debuginfo to allow emitting shared code into the extra .o file, similarly to how it works with modules. A bit of a misnomer, but the underlying functionality is the same. This saves up to 20% of build time here. The patch is fairly simple, it basically just duplicates -fmodules checks to also alternatively check -building-pch-with-obj. This already got committed as cbc9d22e49b434b6ceb2eb94b67079d02e0a7b74, but then got reverted in 7ea9a6e0220da36ff2fd1fbc29c2755be23e5166 because of PR44953, as discussed in D74846. This is a corrected version which does not include two places for the PCH case that aren't included in the modules -fmodules-codegen path either. Differential Revision: https://reviews.llvm.org/D69778 From all-commits at lists.llvm.org Thu Jul 9 06:37:11 2020 From: all-commits at lists.llvm.org (Gabor Marton via All-commits) Date: Thu, 09 Jul 2020 06:37:11 -0700 Subject: [all-commits] [llvm/llvm-project] d12d0b: [analyzer] Add CTUImportCppThreshold for C++ files Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: d12d0b73f1c9c3a711c5cc15266a2b493cd712e9 https://github.com/llvm/llvm-project/commit/d12d0b73f1c9c3a711c5cc15266a2b493cd712e9 Author: Gabor Marton Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def M clang/lib/CrossTU/CrossTranslationUnit.cpp M clang/test/Analysis/analyzer-config.c M clang/test/Analysis/ctu-import-threshold.c M clang/unittests/CrossTU/CrossTranslationUnitTest.cpp Log Message: ----------- [analyzer] Add CTUImportCppThreshold for C++ files Summary: The default CTUImportThreshold (8) seems to be too conservative with C projects. We increase this value to 24 and we introduce another threshold for C++ source files (defaulted to 8) because their AST is way more compilcated than C source files. Differential Revision: https://reviews.llvm.org/D83475 From all-commits at lists.llvm.org Thu Jul 9 06:38:00 2020 From: all-commits at lists.llvm.org (Matt Arsenault via All-commits) Date: Thu, 09 Jul 2020 06:38:00 -0700 Subject: [all-commits] [llvm/llvm-project] 6f5d91: OpaquePtr: Don't check pointee type for byval/prea... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6f5d9136b27eefc981333d8c23ea9c0a38033d7b https://github.com/llvm/llvm-project/commit/6f5d9136b27eefc981333d8c23ea9c0a38033d7b Author: Matt Arsenault Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/include/llvm/IR/Argument.h M llvm/lib/IR/Function.cpp M llvm/lib/IR/Mangler.cpp Log Message: ----------- OpaquePtr: Don't check pointee type for byval/preallocated Since none of these users really care about the actual type, hide the type under a new size-getting attribute to go along with hasPassPointeeByValueAttr. This will work better for the future byref attribute, which may end up only tracking the byte size and not the IR type. We currently have 3 parameter attributes that should carry the type (technically inalloca does not yet). The APIs are somewhat awkward since preallocated/inalloca piggyback on byval in some places, but in others are treated as distinct attributes. Since these are all mutually exclusive, we should probably just merge all the attribute infrastructure treating these as totally distinct attributes. From all-commits at lists.llvm.org Thu Jul 9 06:55:21 2020 From: all-commits at lists.llvm.org (David Green via All-commits) Date: Thu, 09 Jul 2020 06:55:21 -0700 Subject: [all-commits] [llvm/llvm-project] af839a: [BasicAA] Enable -basic-aa-recphi by default Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: af839a96187e3538d63ad57571e4bdf01e2b15c5 https://github.com/llvm/llvm-project/commit/af839a96187e3538d63ad57571e4bdf01e2b15c5 Author: David Green Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Analysis/BasicAliasAnalysis.cpp M llvm/test/Analysis/BasicAA/phi-loop.ll M llvm/test/Analysis/BasicAA/recphi.ll Log Message: ----------- [BasicAA] Enable -basic-aa-recphi by default This option was added a while back, to help improve AA around pointer phi loops. It looks for phi(gep(phi, const), x) loops, checking if x can then prove more precise aliasing info. Differential Revision: https://reviews.llvm.org/D82998 From all-commits at lists.llvm.org Thu Jul 9 07:01:51 2020 From: all-commits at lists.llvm.org (Simon Pilgrim via All-commits) Date: Thu, 09 Jul 2020 07:01:51 -0700 Subject: [all-commits] [llvm/llvm-project] 3514f5: Fix MSVC "not all control paths return a value" wa... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 3514f58fbea5967a967468633c901e9b2f241594 https://github.com/llvm/llvm-project/commit/3514f58fbea5967a967468633c901e9b2f241594 Author: Simon Pilgrim Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/tools/llvm-objdump/llvm-objdump.cpp Log Message: ----------- Fix MSVC "not all control paths return a value" warning. NFC. From all-commits at lists.llvm.org Thu Jul 9 07:24:35 2020 From: all-commits at lists.llvm.org (Matt Arsenault via All-commits) Date: Thu, 09 Jul 2020 07:24:35 -0700 Subject: [all-commits] [llvm/llvm-project] fdde69: AMDGPU/GlobalISel: Work around verifier error in test Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: fdde69aac9b99a5cda49c5b738dc8dc67ea4cbbd https://github.com/llvm/llvm-project/commit/fdde69aac9b99a5cda49c5b738dc8dc67ea4cbbd Author: Matt Arsenault Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/test/CodeGen/AMDGPU/GlobalISel/dynamic-alloca-divergent.ll Log Message: ----------- AMDGPU/GlobalISel: Work around verifier error in test The unfortunate split between finalizeLowering and the selector pass means there's a point where the verifier fails. The DAG selector pass skips the verifier, but this seems to not work when using the GlobalISel fallback. From all-commits at lists.llvm.org Thu Jul 9 07:31:39 2020 From: all-commits at lists.llvm.org (dnsampaio via All-commits) Date: Thu, 09 Jul 2020 07:31:39 -0700 Subject: [all-commits] [llvm/llvm-project] a0e981: [NFC] Add SExt multiuses test Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a0e981c190ffa0ad6b521222bc2fba504c9750ec https://github.com/llvm/llvm-project/commit/a0e981c190ffa0ad6b521222bc2fba504c9750ec Author: Diogo Sampaio Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: A llvm/test/Transforms/BDCE/sext_multi_uses.ll Log Message: ----------- [NFC] Add SExt multiuses test From all-commits at lists.llvm.org Thu Jul 9 07:40:49 2020 From: all-commits at lists.llvm.org (Eric Schweitz via All-commits) Date: Thu, 09 Jul 2020 07:40:49 -0700 Subject: [all-commits] [llvm/llvm-project] 7cd1b0: [flang] partially revert upstreamed code to suppor... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7cd1b0ff347d7aa4864624501efbe2ac609e67d7 https://github.com/llvm/llvm-project/commit/7cd1b0ff347d7aa4864624501efbe2ac609e67d7 Author: Eric Schweitz Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M flang/lib/Evaluate/intrinsics-library.cpp M flang/runtime/pgmath.h.inc Log Message: ----------- [flang] partially revert upstreamed code to support complex values in runtime support to avoid warnings. From all-commits at lists.llvm.org Thu Jul 9 07:45:02 2020 From: all-commits at lists.llvm.org (George Mitenkov via All-commits) Date: Thu, 09 Jul 2020 07:45:02 -0700 Subject: [all-commits] [llvm/llvm-project] 5d075b: [MLIR][SPIRVToLLVM] SPIR-V types size in bytes fun... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 5d075beae73f3d9570230c0780e74dc32dda39a9 https://github.com/llvm/llvm-project/commit/5d075beae73f3d9570230c0780e74dc32dda39a9 Author: George Mitenkov Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M mlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h M mlir/lib/Dialect/SPIRV/SPIRVTypes.cpp Log Message: ----------- [MLIR][SPIRVToLLVM] SPIR-V types size in bytes function Added `getSizeInBytes()` function as a class member to several SPIR-V types: `ScalarType`, `ArrayType` and `VectorType`. This function aims at exposing the functionality of `getTypeNumBytes()` from `SPIRVLowering.cpp`. Support of more types will be added on demand. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D83285 From all-commits at lists.llvm.org Thu Jul 9 07:51:17 2020 From: all-commits at lists.llvm.org (Kamau Bridgeman via All-commits) Date: Thu, 09 Jul 2020 07:51:17 -0700 Subject: [all-commits] [llvm/llvm-project] beb52b: [PowerPC] Support PCRelative Callees for R_PPC64_R... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: beb52b12cb175d0df9bf168837d153f857f69eda https://github.com/llvm/llvm-project/commit/beb52b12cb175d0df9bf168837d153f857f69eda Author: Stefan Pintilie Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M lld/ELF/Arch/PPC64.cpp M lld/ELF/Thunks.cpp A lld/test/ELF/ppc64-error-toc-local-call.s A lld/test/ELF/ppc64-toc-call-to-pcrel-long-jump.s A lld/test/ELF/ppc64-toc-call-to-pcrel.s Log Message: ----------- [PowerPC] Support PCRelative Callees for R_PPC64_REL24 Relocation The R_PPC64_REL24 is used in function calls when the caller requires a valid TOC pointer. If the callee shares the same TOC or does not clobber the TOC pointer then a direct call can be made. If the callee does not share the TOC a thunk must be added to save the TOC pointer for the caller. Up until PC Relative was introduced all local calls on medium and large code models were assumed to share a TOC. This is no longer the case because if the caller requires a TOC and the callee is PC Relative then the callee can clobber the TOC even if it is in the same DSO. This patch is to add support for a TOC caller calling a PC Relative callee that clobbers the TOC. Reviewed By: sfertile, MaskRay Differential Revision: https://reviews.llvm.org/D82950 From all-commits at lists.llvm.org Thu Jul 9 08:01:59 2020 From: all-commits at lists.llvm.org (Erich Keane via All-commits) Date: Thu, 09 Jul 2020 15:01:59 +0000 (UTC) Subject: [all-commits] [llvm/llvm-project] 4d4d90: Fix warning caused by __builtin_expect_with_probab... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4d4d9037670a3537c14092807a717284ea0c4f92 https://github.com/llvm/llvm-project/commit/4d4d9037670a3537c14092807a717284ea0c4f92 Author: Zhi Zhuang Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/lib/AST/ExprConstant.cpp M clang/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp M clang/test/Sema/builtin-expect-with-probability.cpp Log Message: ----------- Fix warning caused by __builtin_expect_with_probability was not handled in places such as constant folding Previously some places that should have handled __builtin_expect_with_probability is missing, so in some case it acts differently than __builtin_expect. For example it was not handled in constant folding, thus in the following program, the "if" condition should be constantly true and folded, but previously it was not handled and cause warning "control may reach end of non-void function" (while __builtin_expect does not): __attribute__((noreturn)) extern void bar(); int foo(int x, int y) { if (y) { if (__builtin_expect_with_probability(1, 1, 1)) bar(); } else return 0; } Now it's fixed. Differential Revisions: https://reviews.llvm.org/D83362 From all-commits at lists.llvm.org Thu Jul 9 08:12:37 2020 From: all-commits at lists.llvm.org (George Mitenkov via All-commits) Date: Thu, 09 Jul 2020 08:12:37 -0700 Subject: [all-commits] [llvm/llvm-project] 28cd3c: [MLIR][SPIRVToLLVM] Conversion of SPIR-V array, ru... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 28cd3cbc12577fa44f9b15c2ffaf9fb1bc280590 https://github.com/llvm/llvm-project/commit/28cd3cbc12577fa44f9b15c2ffaf9fb1bc280590 Author: George Mitenkov Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M mlir/include/mlir/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.h M mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp M mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVMPass.cpp M mlir/test/Conversion/SPIRVToLLVM/cast-ops-to-llvm.mlir A mlir/test/Conversion/SPIRVToLLVM/spirv-types-to-llvm.invalid.mlir A mlir/test/Conversion/SPIRVToLLVM/spirv-types-to-llvm.mlir Log Message: ----------- [MLIR][SPIRVToLLVM] Conversion of SPIR-V array, runtime array, and pointer types This patch adds type conversion for 4 SPIR-V types: array, runtime array, pointer and struct. This conversion is integrated using a separate function `populateSPIRVToLLVMTypeConversion()` that adds new type conversions. At the moment, this is a basic skeleton that allows to perfom conversion from SPIR-V array, runtime array and pointer types to LLVM typesystem. There is no support of array strides or storage classes. These will be supported on the case by case basis. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D83399 From all-commits at lists.llvm.org Thu Jul 9 08:32:19 2020 From: all-commits at lists.llvm.org (Anatoly Trosinenko via All-commits) Date: Thu, 09 Jul 2020 08:32:19 -0700 Subject: [all-commits] [llvm/llvm-project] 67422e: [MSP430] Align the _Complex ABI with current msp43... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 67422e4294754e08f277b1ba22820487eb76b918 https://github.com/llvm/llvm-project/commit/67422e4294754e08f277b1ba22820487eb76b918 Author: Anatoly Trosinenko Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/lib/CodeGen/TargetInfo.cpp A clang/test/CodeGen/msp430-abi-complex.c Log Message: ----------- [MSP430] Align the _Complex ABI with current msp430-gcc Assembler output is checked against msp430-gcc 9.2.0.50 from TI. Reviewed By: asl Differential Revision: https://reviews.llvm.org/D82646 From all-commits at lists.llvm.org Thu Jul 9 08:45:04 2020 From: all-commits at lists.llvm.org (Dmitri Gribenko via All-commits) Date: Thu, 09 Jul 2020 08:45:04 -0700 Subject: [all-commits] [llvm/llvm-project] 3cca81: Refactored NumericLiteralParser to not require a P... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 3cca818efabbccdde36b06609cf75ee7caa8e012 https://github.com/llvm/llvm-project/commit/3cca818efabbccdde36b06609cf75ee7caa8e012 Author: Dmitri Gribenko Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/include/clang/Lex/LiteralSupport.h M clang/lib/Lex/LiteralSupport.cpp M clang/lib/Lex/PPExpressions.cpp M clang/lib/Lex/Preprocessor.cpp M clang/lib/Sema/SemaExpr.cpp Log Message: ----------- Refactored NumericLiteralParser to not require a Preprocessor Summary: We would like to use NumericLiteralParser in the implementation of the syntax tree builder, and plumbing a preprocessor there seems inconvenient and superfluous. Reviewers: eduucaldas Reviewed By: eduucaldas Subscribers: gribozavr2, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D83480 From all-commits at lists.llvm.org Thu Jul 9 09:01:06 2020 From: all-commits at lists.llvm.org (Hans via All-commits) Date: Thu, 09 Jul 2020 09:01:06 -0700 Subject: [all-commits] [llvm/llvm-project] 9ecda9: Revert 51b0da73 "Recommit "[X86] Merge the FEATURE... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9ecda9aa804dcb49e30e46161b29976494b0a1f9 https://github.com/llvm/llvm-project/commit/9ecda9aa804dcb49e30e46161b29976494b0a1f9 Author: Hans Wennborg Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/include/llvm/Support/X86TargetParser.def M llvm/lib/Support/Host.cpp M llvm/lib/Support/X86TargetParser.cpp Log Message: ----------- Revert 51b0da73 "Recommit "[X86] Merge the FEATURE_64BIT and FEATURE_EM64T bits in X86TargetParser.def."" It gets miscompiled with GCC 5.3, causing Clang to crash with "error: unknown target CPU 'x86-64'" See the llvm-commits thread for reproduction steps. This reverts commit 51b0da731af75c68dd521e04cc576d5a611b1612. From all-commits at lists.llvm.org Thu Jul 9 09:18:19 2020 From: all-commits at lists.llvm.org (Florian Hahn via All-commits) Date: Thu, 09 Jul 2020 16:18:19 +0000 (UTC) Subject: [all-commits] [llvm/llvm-project] 9477d3: [SCCP] Move tests using only ipsccp from IPConstan... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9477d39e61f8e0076e47fef81941e8a24e979d6f https://github.com/llvm/llvm-project/commit/9477d39e61f8e0076e47fef81941e8a24e979d6f Author: Florian Hahn Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: R llvm/test/Transforms/IPConstantProp/2009-09-24-byval-ptr.ll R llvm/test/Transforms/IPConstantProp/PR16052.ll R llvm/test/Transforms/IPConstantProp/PR26044.ll R llvm/test/Transforms/IPConstantProp/dangling-block-address.ll R llvm/test/Transforms/IPConstantProp/fp-bc-icmp-const-fold.ll R llvm/test/Transforms/IPConstantProp/global.ll R llvm/test/Transforms/IPConstantProp/musttail-call.ll R llvm/test/Transforms/IPConstantProp/remove-call-inst.ll R llvm/test/Transforms/IPConstantProp/solve-after-each-resolving-undefs-for-function.ll R llvm/test/Transforms/IPConstantProp/user-with-multiple-uses.ll A llvm/test/Transforms/SCCP/2009-09-24-byval-ptr.ll A llvm/test/Transforms/SCCP/PR16052.ll A llvm/test/Transforms/SCCP/PR26044.ll A llvm/test/Transforms/SCCP/dangling-block-address.ll A llvm/test/Transforms/SCCP/fp-bc-icmp-const-fold.ll A llvm/test/Transforms/SCCP/global.ll A llvm/test/Transforms/SCCP/musttail-call.ll A llvm/test/Transforms/SCCP/remove-call-inst.ll A llvm/test/Transforms/SCCP/solve-after-each-resolving-undefs-for-function.ll A llvm/test/Transforms/SCCP/user-with-multiple-uses.ll Log Message: ----------- [SCCP] Move tests using only ipsccp from IPConstantProp to SCCP (NFC). Some of the tests in the llvm/test/Transforms/IPConstantProp directory actually only use -ipsccp. Those tests belong to the other (IP)SCCP tests in llvm/test/Transforms/SCCP/ and this commits moves them there to avoid confusion with IPConstantProp. From all-commits at lists.llvm.org Thu Jul 9 09:29:10 2020 From: all-commits at lists.llvm.org (Kamau Bridgeman via All-commits) Date: Thu, 09 Jul 2020 09:29:10 -0700 Subject: [all-commits] [llvm/llvm-project] bd2068: [PowerPC] Split s34imm into two types Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: bd2068031121adf5a0e28d9306a1741d6f0bbd87 https://github.com/llvm/llvm-project/commit/bd2068031121adf5a0e28d9306a1741d6f0bbd87 Author: Stefan Pintilie Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp M llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp M llvm/lib/Target/PowerPC/MCTargetDesc/PPCFixupKinds.h M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.h M llvm/lib/Target/PowerPC/PPCInstrInfo.td M llvm/lib/Target/PowerPC/PPCInstrPrefix.td A llvm/test/MC/PowerPC/ppc64-errors-emit-obj.s Log Message: ----------- [PowerPC] Split s34imm into two types Currently the instruction paddi always takes s34imm as the type for the 34 bit immediate. However, the PC Relative form of the instruction should not produce the same fixup as the non PC Relative form. This patch splits the s34imm type into s34imm and s34imm_pcrel so that two different fixups can be emitted. Reviewed By: kamaub, nemanjai Differential Revision: https://reviews.llvm.org/D83255 From all-commits at lists.llvm.org Thu Jul 9 09:38:22 2020 From: all-commits at lists.llvm.org (Nikita Popov via All-commits) Date: Thu, 09 Jul 2020 09:38:22 -0700 Subject: [all-commits] [llvm/llvm-project] afc1a7: [AliasSetTracker] More precise AAInfo intersection... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: afc1a709433e3754ee3819efd9e144b657919131 https://github.com/llvm/llvm-project/commit/afc1a709433e3754ee3819efd9e144b657919131 Author: Nikita Popov Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/include/llvm/Analysis/AliasSetTracker.h Log Message: ----------- [AliasSetTracker] More precise AAInfo intersection check The code currently checks whether the intersection has one of TBAA, Scope or NoAlias unset -- however, those might have already been unset in the first place, in which case we will unnecessarily report a change. Instead, compare the intersection result to the original AAInfo. This makes for a 0.5% geomean compile-time saving on CTMark. Differential Revision: https://reviews.llvm.org/D83430 From all-commits at lists.llvm.org Thu Jul 9 09:40:51 2020 From: all-commits at lists.llvm.org (Sergej Jaskiewicz via All-commits) Date: Thu, 09 Jul 2020 09:40:51 -0700 Subject: [all-commits] [llvm/llvm-project] a89d54: [compiler-rt] Better Windows support for running t... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a89d54fd61a6e7a05f7434491135e667306a22e7 https://github.com/llvm/llvm-project/commit/a89d54fd61a6e7a05f7434491135e667306a22e7 Author: Sergej Jaskiewicz Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M compiler-rt/test/builtins/Unit/lit.cfg.py M compiler-rt/test/crt/lit.cfg.py Log Message: ----------- [compiler-rt] Better Windows support for running tests in external shell Summary: These changes are necessary to support remote running compiler-rt tests that were compiled on Windows. Most of the code here has been copy-pasted from other lit configs. Why do we remove the conversions to ASCII in the crt config? We set the `universal_newlines` argument to `True` in `Popen` instead. This is supported in both Python 2.7 and 3, is easier (no need to do the `str(dir.decode('ascii'))` dance) and less error prone. Also, this is necessary because if the config is executed on Windows, and `execute_external` is `True`, we take the branch `if sys.platform in ['win32'] and execute_external`, and if we use Python 3, then the `dir` variable is a byte-like object, not str, but the ``replace method on byte-like objects requires its arguments to also be byte-like objects, which is incompatible with Python 2 etc etc. It is a lot simpler to just work with strings in the first place, which is achieved by setting `universal_newlines` to `True`. As far as I understand, this way wasn't taken because of the need to support Python <2.7, but this is not the case now. Reviewers: compnerd, phosek, weimingz Reviewed By: compnerd Subscribers: dberris, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D83485 From all-commits at lists.llvm.org Thu Jul 9 09:44:36 2020 From: all-commits at lists.llvm.org (fredriss via All-commits) Date: Thu, 09 Jul 2020 09:44:36 -0700 Subject: [all-commits] [llvm/llvm-project] e529d7: [lldb] Use enum constant instead of raw value Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e529d774c4d5d1eba13dcad5eef2195dd06741c6 https://github.com/llvm/llvm-project/commit/e529d774c4d5d1eba13dcad5eef2195dd06741c6 Author: Fred Riss Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp M llvm/include/llvm/BinaryFormat/MachO.h Log Message: ----------- [lldb] Use enum constant instead of raw value From all-commits at lists.llvm.org Thu Jul 9 09:45:02 2020 From: all-commits at lists.llvm.org (Sergej Jaskiewicz via All-commits) Date: Thu, 09 Jul 2020 09:45:02 -0700 Subject: [all-commits] [llvm/llvm-project] 5ab446: [compiler-rt] [test] Use the parent process env as... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 5ab446cfe5503fd4431a94db4d741cf3b5fdcd15 https://github.com/llvm/llvm-project/commit/5ab446cfe5503fd4431a94db4d741cf3b5fdcd15 Author: Sergej Jaskiewicz Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M compiler-rt/test/lit.common.cfg.py Log Message: ----------- [compiler-rt] [test] Use the parent process env as base env in tests Summary: Right now the lit config builds up an environment that the tests will be run in. However, it does it from scratch instead of adding new variables to the parent process environment. This may (and does) result in strange behavior when running tests with an executor (i. e. with the `COMPILER_RT_EMULATOR` CMake variable set to something), since the executor may need some of the parent process's environment variables. Here this is fixed. Reviewers: compnerd, phosek Reviewed By: compnerd Subscribers: dberris, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D83486 From all-commits at lists.llvm.org Thu Jul 9 09:45:28 2020 From: all-commits at lists.llvm.org (Louis Dionne via All-commits) Date: Thu, 09 Jul 2020 09:45:28 -0700 Subject: [all-commits] [llvm/llvm-project] 6f6931: [runtimes] Allow passing Lit parameters through CMake Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6f69318c7248275b509ecf0f88eb2ba725aaeb82 https://github.com/llvm/llvm-project/commit/6f69318c7248275b509ecf0f88eb2ba725aaeb82 Author: Louis Dionne Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M libcxx/CMakeLists.txt M libcxx/cmake/caches/Generic-cxx03.cmake M libcxx/cmake/caches/Generic-cxx11.cmake M libcxx/cmake/caches/Generic-cxx14.cmake M libcxx/cmake/caches/Generic-cxx17.cmake M libcxx/cmake/caches/Generic-cxx2a.cmake M libcxx/test/CMakeLists.txt M libcxxabi/CMakeLists.txt M libcxxabi/test/CMakeLists.txt Log Message: ----------- [runtimes] Allow passing Lit parameters through CMake This allows passing parameters to the test suites without using LLVM_LIT_ARGS. The problem is that we sometimes want to set some Lit arguments on the CMake command line, but the Lit parameters in a CMake cache file. If the only knob to do that is LLVM_LIT_ARGS, the command-line entry overrides the cache one, and the parameters set by the cache are ignored. This fixes a current issue with the build bots that they completely ignore the 'std' param set by Lit, because other Lit arguments are provided via LLVM_LIT_ARGS on the CMake command-line. From all-commits at lists.llvm.org Thu Jul 9 09:49:44 2020 From: all-commits at lists.llvm.org (Sergej Jaskiewicz via All-commits) Date: Thu, 09 Jul 2020 09:49:44 -0700 Subject: [all-commits] [llvm/llvm-project] 8372d5: [compiler-rt] [test] Allow expanding lit substitut... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 8372d505082aceb38417e0b561cd32f2e227597b https://github.com/llvm/llvm-project/commit/8372d505082aceb38417e0b561cd32f2e227597b Author: Sergej Jaskiewicz Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M compiler-rt/test/lit.common.cfg.py Log Message: ----------- [compiler-rt] [test] Allow expanding lit substitutions recursively Summary: This allows using lit substitutions in the `COMPILER_RT_EMULATOR` variable. (For reference, the ability to expand substitutions recursively has been introduced in https://reviews.llvm.org/D76178.) Reviewers: phosek, compnerd Reviewed By: compnerd Subscribers: dberris, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D83489 From all-commits at lists.llvm.org Thu Jul 9 09:56:29 2020 From: all-commits at lists.llvm.org (hjyamauchi via All-commits) Date: Thu, 09 Jul 2020 09:56:29 -0700 Subject: [all-commits] [llvm/llvm-project] 06fc12: [PGO][PGSO] Add profile guided size optimization t... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 06fc125d8c5d7d1244ee2160fba52bc1b91ddb99 https://github.com/llvm/llvm-project/commit/06fc125d8c5d7d1244ee2160fba52bc1b91ddb99 Author: Hiroshi Yamauchi Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/test/CodeGen/X86/avx-vperm2x128.ll M llvm/test/CodeGen/X86/phaddsub-extract.ll Log Message: ----------- [PGO][PGSO] Add profile guided size optimization tests to X86 ISel Lowering. From all-commits at lists.llvm.org Thu Jul 9 10:05:56 2020 From: all-commits at lists.llvm.org (Louis Dionne via All-commits) Date: Thu, 09 Jul 2020 10:05:56 -0700 Subject: [all-commits] [llvm/llvm-project] 6a8ed4: [libc++] Fix test failure in C++03 mode Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6a8ed4a8ffdc7ec2dcc6038a494924a3d5a2b3a3 https://github.com/llvm/llvm-project/commit/6a8ed4a8ffdc7ec2dcc6038a494924a3d5a2b3a3 Author: Louis Dionne Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M libcxx/test/libcxx/experimental/language.support/support.coroutines/dialect_support.pass.cpp Log Message: ----------- [libc++] Fix test failure in C++03 mode From all-commits at lists.llvm.org Thu Jul 9 10:24:56 2020 From: all-commits at lists.llvm.org (Louis Dionne via All-commits) Date: Thu, 09 Jul 2020 10:24:56 -0700 Subject: [all-commits] [llvm/llvm-project] c1a83c: [libc++] Move the stdlib Lit parameter to the DSL Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c1a83c30e10c19cdd83277bf2e5ceca7ce6471c8 https://github.com/llvm/llvm-project/commit/c1a83c30e10c19cdd83277bf2e5ceca7ce6471c8 Author: Louis Dionne Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M libcxx/utils/libcxx/test/config.py M libcxx/utils/libcxx/test/params.py Log Message: ----------- [libc++] Move the stdlib Lit parameter to the DSL From all-commits at lists.llvm.org Thu Jul 9 10:26:47 2020 From: all-commits at lists.llvm.org (Louis Dionne via All-commits) Date: Thu, 09 Jul 2020 10:26:47 -0700 Subject: [all-commits] [llvm/llvm-project] 4598a3: [libc++] Move the long_tests Lit feature to the DSL Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4598a3c7841bed32c21608a78b879e197f5002e2 https://github.com/llvm/llvm-project/commit/4598a3c7841bed32c21608a78b879e197f5002e2 Author: Louis Dionne Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M libcxx/utils/libcxx/test/config.py M libcxx/utils/libcxx/test/params.py Log Message: ----------- [libc++] Move the long_tests Lit feature to the DSL From all-commits at lists.llvm.org Thu Jul 9 10:30:02 2020 From: all-commits at lists.llvm.org (Daniel Grumberg via All-commits) Date: Thu, 09 Jul 2020 10:30:02 -0700 Subject: [all-commits] [llvm/llvm-project] fccd29: Merge TableGen files used for clang options Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: fccd29dddee92ffa7cd8a9adec6e626760538dae https://github.com/llvm/llvm-project/commit/fccd29dddee92ffa7cd8a9adec6e626760538dae Author: Daniel Grumberg Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: R clang/include/clang/Driver/CLCompatOptions.td M clang/include/clang/Driver/Options.td Log Message: ----------- Merge TableGen files used for clang options Summary: Putting all the options in the same file is needed so they can be ordered based on the dependencies between them. Reviewers: Bigcheese, jdoerfert Subscribers: dexonsmith, sstefan1, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82574 From all-commits at lists.llvm.org Thu Jul 9 10:33:47 2020 From: all-commits at lists.llvm.org (Florian Hahn via All-commits) Date: Thu, 09 Jul 2020 10:33:47 -0700 Subject: [all-commits] [llvm/llvm-project] 0b72b9: [ValueLattice] Simplify canTrackGlobalVariableInte... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 0b72b9d07fcdf888a7020f16f8e497f1e83d2d90 https://github.com/llvm/llvm-project/commit/0b72b9d07fcdf888a7020f16f8e497f1e83d2d90 Author: Florian Hahn Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Analysis/ValueLatticeUtils.cpp Log Message: ----------- [ValueLattice] Simplify canTrackGlobalVariableInterprocedurally (NFC). using all_of and checking for valid users in the lambda seems more straight forward. Also adds a comment explaining what we are checking. From all-commits at lists.llvm.org Thu Jul 9 10:37:32 2020 From: all-commits at lists.llvm.org (Vedant Kumar via All-commits) Date: Thu, 09 Jul 2020 10:37:32 -0700 Subject: [all-commits] [llvm/llvm-project] 6cfc90: [Function] Lock the function when parsing call sit... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6cfc90b9b791a023368b9384f57c2c3120894247 https://github.com/llvm/llvm-project/commit/6cfc90b9b791a023368b9384f57c2c3120894247 Author: Vedant Kumar Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M lldb/include/lldb/Symbol/Function.h M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp M lldb/source/Symbol/Function.cpp Log Message: ----------- [Function] Lock the function when parsing call site info Summary: DWARF-parsing methods in SymbolFileDWARF which update module state typically take the module lock. ParseCallEdgesInFunction doesn't do this, but higher-level locking within lldb::Function (which owns the storage for parsed call edges) is necessary. The lack of locking could explain some as-of-yet unreproducible crashes which occur in Function::GetTailCallingEdges(). In these crashes, the `m_call_edges` vector is non-empty but contains a nullptr, which shouldn't be possible. (If this vector is non-empty, it _must_ contain a non-null unique_ptr.) This may address rdar://55622443 and rdar://65119458. Reviewers: jasonmolenda, friss, jingham Subscribers: aprantl, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D83359 Commit: f8f259ce4aca381896c114738a3d83a90c5c32be https://github.com/llvm/llvm-project/commit/f8f259ce4aca381896c114738a3d83a90c5c32be Author: Vedant Kumar Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M lldb/include/lldb/Symbol/Function.h Log Message: ----------- [lldb/Function] Reflow doxygen comments for member variables, NFC As suggested in the review for https://reviews.llvm.org/D83359. Compare: https://github.com/llvm/llvm-project/compare/0b72b9d07fcd...f8f259ce4aca From all-commits at lists.llvm.org Thu Jul 9 10:39:23 2020 From: all-commits at lists.llvm.org (Louis Dionne via All-commits) Date: Thu, 09 Jul 2020 10:39:23 -0700 Subject: [all-commits] [llvm/llvm-project] b78539: [libc++] Clean up some outdated documentation abou... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b785396525562661ffba887501c540fea951633f https://github.com/llvm/llvm-project/commit/b785396525562661ffba887501c540fea951633f Author: Louis Dionne Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M libcxx/docs/TestingLibcxx.rst M libcxx/utils/libcxx/test/target_info.py Log Message: ----------- [libc++] Clean up some outdated documentation about running libc++ tests The documentation is still awfully outdated, but it's a bit better at least. From all-commits at lists.llvm.org Thu Jul 9 10:40:06 2020 From: all-commits at lists.llvm.org (stefanp-ibm via All-commits) Date: Thu, 09 Jul 2020 10:40:06 -0700 Subject: [all-commits] [llvm/llvm-project] 6f7727: [PowerPC] Fix test case from beb52b12cb17 Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6f7727db478b452a262b2beea2beceef096eb68c https://github.com/llvm/llvm-project/commit/6f7727db478b452a262b2beea2beceef096eb68c Author: Stefan Pintilie Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M lld/test/ELF/ppc64-error-toc-local-call.s Log Message: ----------- [PowerPC] Fix test case from beb52b12cb17 Forgot to add the REQUIRES ppc line to the test. From all-commits at lists.llvm.org Thu Jul 9 10:40:46 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Thu, 09 Jul 2020 10:40:46 -0700 Subject: [all-commits] [llvm/llvm-project] 3e7591: [X86] Directly emit X86ISD::BLENDV instead of VSEL... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 3e75912005cbbdc7c7244b73319cb7441e64682f https://github.com/llvm/llvm-project/commit/3e75912005cbbdc7c7244b73319cb7441e64682f Author: Craig Topper Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Target/X86/X86ISelLowering.cpp Log Message: ----------- [X86] Directly emit X86ISD::BLENDV instead of VSELECT in a few places that were emitting sign bit tests. Technically a VSELECT expects a vector of all 1s or 0s elements for its condition. But we aren't guaranteeing that the sign bit and the non sign bits match in these locations. So we should use BLENDV which is more relaxed. Differential Revision: https://reviews.llvm.org/D83447 From all-commits at lists.llvm.org Thu Jul 9 10:44:13 2020 From: all-commits at lists.llvm.org (hjyamauchi via All-commits) Date: Thu, 09 Jul 2020 10:44:13 -0700 Subject: [all-commits] [llvm/llvm-project] 2c1a90: [PGO][PGSO] Add profile guided size optimization t... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 2c1a9006dd73e4e9f446fb6fa6cf2328eee1558f https://github.com/llvm/llvm-project/commit/2c1a9006dd73e4e9f446fb6fa6cf2328eee1558f Author: Hiroshi Yamauchi Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Target/X86/X86ISelLowering.cpp M llvm/test/CodeGen/X86/avx-vperm2x128.ll M llvm/test/CodeGen/X86/phaddsub-extract.ll Log Message: ----------- [PGO][PGSO] Add profile guided size optimization to X86 ISel Lowering. From all-commits at lists.llvm.org Thu Jul 9 10:49:37 2020 From: all-commits at lists.llvm.org (David Blaikie via All-commits) Date: Thu, 09 Jul 2020 10:49:37 -0700 Subject: [all-commits] [llvm/llvm-project] 876961: Remove unnecessary 'rm' in llvm-reduce tests Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 8769611f0af2598177d8d03ad6dbbe064210bfed https://github.com/llvm/llvm-project/commit/8769611f0af2598177d8d03ad6dbbe064210bfed Author: David Blaikie Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/test/Reduce/remove-args.ll M llvm/test/Reduce/remove-funcs.ll M llvm/test/Reduce/remove-global-vars.ll M llvm/test/Reduce/remove-metadata.ll M llvm/test/Reduce/remove-multiple-use-of-args-in-same-instruction.ll M llvm/test/Reduce/remove-multiple-use-of-global-vars-in-same-instruction.ll M llvm/test/Reduce/remove-operand-bundles.ll Log Message: ----------- Remove unnecessary 'rm' in llvm-reduce tests These were initially added to cleanup some transient/leftover files in r372054. Now that's all cleaned up, these are no longer needed. From all-commits at lists.llvm.org Thu Jul 9 10:52:12 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Thu, 09 Jul 2020 10:52:12 -0700 Subject: [all-commits] [llvm/llvm-project] 918e65: [X86] Immediately call LowerShift from lowerBuildV... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 918e6531863187d65895fd68bbc622369b3d79f3 https://github.com/llvm/llvm-project/commit/918e6531863187d65895fd68bbc622369b3d79f3 Author: Craig Topper Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Target/X86/X86ISelLowering.cpp A llvm/test/CodeGen/X86/pr46527.ll Log Message: ----------- [X86] Immediately call LowerShift from lowerBuildVectorToBitOp. If we don't immediately lower the vector shift, the splat constant vector we created may get turned into a constant pool load before we get around to lowering the shift. This makes it a lot more difficult to create a shift by constant. Sometimes we fail to see through the constant pool at all and end up trying to lower as if it was a variable shift. This requires custom handling and may create an unsupported vselect on pre-sse-4.1 targets. Since we're after LegalizeVectorOps we are unable to legalize the unsupported vselect as that code is in LegalizeVectorOps rather than LegalizeDAG. So calling LowerShift immediately ensures that we get see the splat constant. Fixes PR46527. Differential Revision: https://reviews.llvm.org/D83455 From all-commits at lists.llvm.org Thu Jul 9 11:00:24 2020 From: all-commits at lists.llvm.org (Louis Dionne via All-commits) Date: Thu, 09 Jul 2020 11:00:24 -0700 Subject: [all-commits] [llvm/llvm-project] f5f58f: [libc++] Move the enable_experimental Lit param to... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f5f58f1f733b880decfb8f12ebba6126da818496 https://github.com/llvm/llvm-project/commit/f5f58f1f733b880decfb8f12ebba6126da818496 Author: Louis Dionne Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M libcxx/utils/libcxx/test/config.py M libcxx/utils/libcxx/test/params.py Log Message: ----------- [libc++] Move the enable_experimental Lit param to the DSL From all-commits at lists.llvm.org Thu Jul 9 11:01:50 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Thu, 09 Jul 2020 11:01:50 -0700 Subject: [all-commits] [llvm/llvm-project] 122b06: [InstSimplify] Don't fold vectors of partial undef... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 122b0640fc97202bacb630744dfc6da58f11af42 https://github.com/llvm/llvm-project/commit/122b0640fc97202bacb630744dfc6da58f11af42 Author: Craig Topper Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Analysis/InstructionSimplify.cpp M llvm/test/Transforms/InstSimplify/select.ll Log Message: ----------- [InstSimplify] Don't fold vectors of partial undef in SimplifySelectInst if the non-undef element value might produce poison We can't fold to the non-undef value unless we know it isn't poison. So check each element with isGuaranteedNotToBeUndefOrPoison. This currently rules out all constant expressions. Differential Revision: https://reviews.llvm.org/D83442 From all-commits at lists.llvm.org Thu Jul 9 11:18:58 2020 From: all-commits at lists.llvm.org (Eric Christopher via All-commits) Date: Thu, 09 Jul 2020 11:18:58 -0700 Subject: [all-commits] [llvm/llvm-project] c28270: Fix [-Werror, -Wsign-compare] warnings arising from... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c2827083166cd5150232d8fd3ada3cf8fa8c9ac3 https://github.com/llvm/llvm-project/commit/c2827083166cd5150232d8fd3ada3cf8fa8c9ac3 Author: Eric Christopher Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp M lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp Log Message: ----------- Fix [-Werror,-Wsign-compare] warnings arising from subsection symbols patch. From all-commits at lists.llvm.org Thu Jul 9 11:22:49 2020 From: all-commits at lists.llvm.org (Louis Dionne via All-commits) Date: Thu, 09 Jul 2020 11:22:49 -0700 Subject: [all-commits] [llvm/llvm-project] cfb367: [libc++] The enable_experimental Lit feature shoul... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: cfb36754108deae438c0b822f80cdbc7c1c26593 https://github.com/llvm/llvm-project/commit/cfb36754108deae438c0b822f80cdbc7c1c26593 Author: Louis Dionne Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M libcxx/utils/libcxx/test/params.py Log Message: ----------- [libc++] The enable_experimental Lit feature should be False by default This preserves existing behavior before f5f58f1f733b. From all-commits at lists.llvm.org Thu Jul 9 11:34:54 2020 From: all-commits at lists.llvm.org (Chi-Chun, Chen via All-commits) Date: Thu, 09 Jul 2020 11:34:54 -0700 Subject: [all-commits] [llvm/llvm-project] 2da957: [OPENMP50] extend array section for stride (Parsin... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 2da9572a9b10c8e4d0db2f3267f1a2c0ea31c896 https://github.com/llvm/llvm-project/commit/2da9572a9b10c8e4d0db2f3267f1a2c0ea31c896 Author: cchen Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/include/clang-c/Index.h M clang/include/clang/AST/ExprOpenMP.h M clang/include/clang/Basic/DiagnosticSemaKinds.td M clang/include/clang/Parse/Parser.h M clang/include/clang/Sema/Sema.h M clang/lib/AST/StmtPrinter.cpp M clang/lib/CodeGen/CGExpr.cpp M clang/lib/CodeGen/CGOpenMPRuntime.cpp M clang/lib/Parse/ParseExpr.cpp M clang/lib/Parse/ParseOpenMP.cpp M clang/lib/Sema/SemaExpr.cpp M clang/lib/Sema/SemaOpenMP.cpp M clang/lib/Sema/TreeTransform.h M clang/lib/Serialization/ASTReaderStmt.cpp M clang/lib/Serialization/ASTWriterStmt.cpp M clang/test/OpenMP/target_data_messages.c M clang/test/OpenMP/target_depend_messages.cpp M clang/test/OpenMP/target_enter_data_depend_messages.cpp M clang/test/OpenMP/target_exit_data_depend_messages.cpp M clang/test/OpenMP/target_map_messages.cpp M clang/test/OpenMP/target_parallel_depend_messages.cpp M clang/test/OpenMP/target_parallel_for_depend_messages.cpp M clang/test/OpenMP/target_parallel_for_simd_depend_messages.cpp M clang/test/OpenMP/target_simd_depend_messages.cpp M clang/test/OpenMP/target_teams_depend_messages.cpp M clang/test/OpenMP/target_teams_distribute_depend_messages.cpp M clang/test/OpenMP/target_teams_distribute_parallel_for_depend_messages.cpp M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_depend_messages.cpp M clang/test/OpenMP/target_teams_distribute_simd_depend_messages.cpp M clang/test/OpenMP/target_update_ast_print.cpp M clang/test/OpenMP/target_update_messages.cpp Log Message: ----------- [OPENMP50] extend array section for stride (Parsing/Sema/AST) Reviewers: ABataev, jdoerfert Reviewed By: ABataev Subscribers: yaxunl, guansong, arphaman, sstefan1, cfe-commits, sandoval, dreachem Tags: #clang Differential Revision: https://reviews.llvm.org/D82800 From all-commits at lists.llvm.org Thu Jul 9 11:39:34 2020 From: all-commits at lists.llvm.org (Puyan Lotfi via All-commits) Date: Thu, 09 Jul 2020 11:39:34 -0700 Subject: [all-commits] [llvm/llvm-project] 7e169c: [NFC][test] Adding fastcc test case for promoted 1... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7e169cec74b09dc7a0eeafcb21e9f827314265ef https://github.com/llvm/llvm-project/commit/7e169cec74b09dc7a0eeafcb21e9f827314265ef Author: Puyan Lotfi Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/test/CodeGen/ARM/arm-half-promote.ll Log Message: ----------- [NFC][test] Adding fastcc test case for promoted 16-bit integer bitcasts. The following: https://reviews.llvm.org/D82552 fixed an assert in the SelectionDag ISel legalizer for some CCs on armv7. I noticed that this fix also fixes the assert when using fastcc, so I am adding a fastcc regression test here. Differential Revision: https://reviews.llvm.org/D82443 From all-commits at lists.llvm.org Thu Jul 9 11:51:05 2020 From: all-commits at lists.llvm.org (Jonas Devlieghere via All-commits) Date: Thu, 09 Jul 2020 11:51:05 -0700 Subject: [all-commits] [llvm/llvm-project] 84557c: [lldb/Reproducers] Rename developer-oriented repro... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 84557c18b3ca3cfc8d1f8ee988d8c19e2719f124 https://github.com/llvm/llvm-project/commit/84557c18b3ca3cfc8d1f8ee988d8c19e2719f124 Author: Jonas Devlieghere Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M lldb/test/Shell/Reproducer/TestDriverOptions.test M lldb/test/Shell/Reproducer/TestVersionCheck.test M lldb/tools/driver/Driver.cpp M lldb/tools/driver/Options.td M lldb/utils/lldb-repro/lldb-repro.py Log Message: ----------- [lldb/Reproducers] Rename developer-oriented reproducer flags. This is a preparatory rename of the developer facing reproducer flags. reproducer-skip-version-check -> reproducer-no-version-check reproducer-auto-generate -> reproducer-generate-on-quit Commit: 10aa9e19fa2f4bf214131d30d7885f8b258b216f https://github.com/llvm/llvm-project/commit/10aa9e19fa2f4bf214131d30d7885f8b258b216f Author: Jonas Devlieghere Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M lldb/test/Shell/Reproducer/TestCrash.test M lldb/tools/driver/Driver.cpp M lldb/tools/driver/Options.td Log Message: ----------- [LLDB/Reproducers] Add flag to avoid installing the signal handler. There are bugs where you don't want the signal handler to trigger, most notably when that will cause another crash. Examples of this are lldb running out of memory or a bug in the reproducer generation code. This adds an escape hatch trough a (developer oriented) flag to not install the signal handler. rdar://problem/65149595 Differential revision: https://reviews.llvm.org/D83496 Compare: https://github.com/llvm/llvm-project/compare/7e169cec74b0...10aa9e19fa2f From all-commits at lists.llvm.org Thu Jul 9 11:58:47 2020 From: all-commits at lists.llvm.org (kyulee-com via All-commits) Date: Thu, 09 Jul 2020 11:58:47 -0700 Subject: [all-commits] [llvm/llvm-project] 7af27b: [NFC][AArch64] Refactor getArgumentPopSize Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7af27b65b3ce4690da97fd8048be7237e0358ef5 https://github.com/llvm/llvm-project/commit/7af27b65b3ce4690da97fd8048be7237e0358ef5 Author: Kyungwoo Lee Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp Log Message: ----------- [NFC][AArch64] Refactor getArgumentPopSize Differential Revision: https://reviews.llvm.org/D83456 From all-commits at lists.llvm.org Thu Jul 9 12:11:38 2020 From: all-commits at lists.llvm.org (jkorous-apple via All-commits) Date: Thu, 09 Jul 2020 12:11:38 -0700 Subject: [all-commits] [llvm/llvm-project] e81f9c: [AST][test] Add regression test forPointerExprEval... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e81f9cd2137f258fd1ec6a169db836387bcca84a https://github.com/llvm/llvm-project/commit/e81f9cd2137f258fd1ec6a169db836387bcca84a Author: Jan Korous Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: A clang/test/AST/regression-new-expr-crash.cpp Log Message: ----------- [AST][test] Add regression test forPointerExprEvaluator::VisitCXXNewExpr This assert was failing: assert(CAT && "unexpected type for array initializer"); until this patch landed: 9a7eda1bece887ca9af085d79fe6e4fb8826dcda PR45350: Handle unsized array CXXConstructExprs in constant evaluation From all-commits at lists.llvm.org Thu Jul 9 12:13:11 2020 From: all-commits at lists.llvm.org (Jeremy Bruestle via All-commits) Date: Thu, 09 Jul 2020 12:13:11 -0700 Subject: [all-commits] [llvm/llvm-project] 2ede89: [MLIR] IR changes to add yield semantics for affin... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 2ede89187516ccd4ba06b83303e9d07c5d555ecf https://github.com/llvm/llvm-project/commit/2ede89187516ccd4ba06b83303e9d07c5d555ecf Author: Jeremy Bruestle Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M mlir/include/mlir/Dialect/Affine/IR/AffineOps.h M mlir/include/mlir/Dialect/Affine/IR/AffineOps.td M mlir/include/mlir/Dialect/StandardOps/IR/Ops.td A mlir/include/mlir/Dialect/StandardOps/IR/StandardOpsBase.td M mlir/lib/Analysis/Utils.cpp M mlir/lib/Conversion/AffineToStandard/AffineToStandard.cpp M mlir/lib/Dialect/Affine/EDSC/Builders.cpp M mlir/lib/Dialect/Affine/IR/AffineOps.cpp M mlir/lib/Dialect/Affine/Transforms/AffineDataCopyGeneration.cpp M mlir/lib/Dialect/Affine/Transforms/AffineLoopInvariantCodeMotion.cpp M mlir/lib/Dialect/Affine/Utils/Utils.cpp M mlir/test/Dialect/Affine/invalid.mlir M mlir/test/Dialect/Affine/ops.mlir M mlir/test/IR/invalid.mlir M mlir/test/IR/parser.mlir Log Message: ----------- [MLIR] IR changes to add yield semantics for affine.if and affine.parallel Reviewed By: bondhugula, flaub Differential Revision: https://reviews.llvm.org/D82600 From all-commits at lists.llvm.org Thu Jul 9 12:15:49 2020 From: all-commits at lists.llvm.org (David Tenty via All-commits) Date: Thu, 09 Jul 2020 12:15:49 -0700 Subject: [all-commits] [llvm/llvm-project] 25ec96: [Clang][Driver] Recognize the AIX OBJECT_MODE envi... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 25ec96d91a3a5326a403496fa5532ff0bdb6a15b https://github.com/llvm/llvm-project/commit/25ec96d91a3a5326a403496fa5532ff0bdb6a15b Author: David Tenty Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/include/clang/Basic/DiagnosticDriverKinds.td M clang/lib/Driver/Driver.cpp A clang/test/Driver/aix-object-mode.c Log Message: ----------- [Clang][Driver] Recognize the AIX OBJECT_MODE environment setting Summary: AIX uses an environment variable called OBJECT_MODE to indicate to utilities in the toolchain whether they should be operating in 32-bit or 64-bit mode. This patch makes the clang driver recognize the current OBJECT_MODE setting when we are operating with an AIX target and adds a custom diagnostic for invalid settings. For more details about OBJECT_MODE on AIX see: https://www.ibm.com/support/knowledgecenter/SSGH2K_13.1.3/com.ibm.xlc1313.aix.doc/compiler_ref/tusetenv1.html https://www.ibm.com/support/knowledgecenter/SSGH2K_13.1.3/com.ibm.xlc1313.aix.doc/compiler_ref/opt_3264.html Reviewers: stevewan, hubert.reinterpretcast, ShuhongL, jasonliu Reviewed By: hubert.reinterpretcast, jasonliu Subscribers: jasonliu, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82476 From all-commits at lists.llvm.org Thu Jul 9 12:18:09 2020 From: all-commits at lists.llvm.org (Louis Dionne via All-commits) Date: Thu, 09 Jul 2020 12:18:09 -0700 Subject: [all-commits] [llvm/llvm-project] 389b67: [libc++] Get rid of the %{libcxx_src_root} substit... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 389b67b809cd75470819d69102d62bb316d15967 https://github.com/llvm/llvm-project/commit/389b67b809cd75470819d69102d62bb316d15967 Author: Louis Dionne Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M libcxx/test/libcxx/input.output/filesystems/class.directory_entry/directory_entry.mods/last_write_time.pass.cpp M libcxx/test/libcxx/input.output/filesystems/convert_file_time.pass.cpp M libcxx/test/pretty_printers/gdb_pretty_printer_test.sh.cpp M libcxx/utils/libcxx/test/config.py Log Message: ----------- [libc++] Get rid of the %{libcxx_src_root} substitution This reduces the set of substitutions required to run the test suite. From all-commits at lists.llvm.org Thu Jul 9 12:24:36 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Thu, 09 Jul 2020 12:24:36 -0700 Subject: [all-commits] [llvm/llvm-project] 469da6: [InstSimplify] Re-enable select ?, undef, X -> X t... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 469da663f2df150629786df3f82c217062924f5e https://github.com/llvm/llvm-project/commit/469da663f2df150629786df3f82c217062924f5e Author: Craig Topper Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Analysis/InstructionSimplify.cpp M llvm/test/Transforms/InstSimplify/select.ll Log Message: ----------- [InstSimplify] Re-enable select ?, undef, X -> X transform when X is provably not poison Follow up from the transform being removed in D83360. If X is probably not poison, then the transform is safe. Still plan to remove or adjust the code from ConstantFolding after this. Differential Revision: https://reviews.llvm.org/D83440 From all-commits at lists.llvm.org Thu Jul 9 12:44:03 2020 From: all-commits at lists.llvm.org (Christopher Tetreault via All-commits) Date: Thu, 09 Jul 2020 19:44:03 +0000 (UTC) Subject: [all-commits] [llvm/llvm-project] ff5b9a: [SVE] Remove calls to VectorType::getNumElements f... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ff5b9a7b3b2736db02c6550bb4eae84ae65e294c https://github.com/llvm/llvm-project/commit/ff5b9a7b3b2736db02c6550bb4eae84ae65e294c Author: Christopher Tetreault Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/CodeGen/CodeGenPrepare.cpp M llvm/lib/CodeGen/ExpandReductions.cpp M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp M llvm/lib/CodeGen/InterleavedAccessPass.cpp M llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp M llvm/lib/CodeGen/LowLevelType.cpp M llvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp M llvm/lib/CodeGen/ValueTypes.cpp Log Message: ----------- [SVE] Remove calls to VectorType::getNumElements from CodeGen Reviewers: efriedma, fpetrogalli, sdesmalen, RKSimon, arsenm Reviewed By: RKSimon Subscribers: wdng, tschuett, hiraditya, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82210 From all-commits at lists.llvm.org Thu Jul 9 13:04:01 2020 From: all-commits at lists.llvm.org (ZequanWu via All-commits) Date: Thu, 09 Jul 2020 13:04:01 -0700 Subject: [all-commits] [llvm/llvm-project] c92a8c: [LPM] Port CGProfilePass from NPM to LPM Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c92a8c0a0f68fbbb23e3fdde071007e63a552e82 https://github.com/llvm/llvm-project/commit/c92a8c0a0f68fbbb23e3fdde071007e63a552e82 Author: Zequan Wu Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/include/clang/Basic/CodeGenOptions.def M clang/lib/CodeGen/BackendUtil.cpp M clang/lib/Frontend/CompilerInvocation.cpp M llvm/include/llvm/InitializePasses.h M llvm/include/llvm/Transforms/IPO.h M llvm/include/llvm/Transforms/IPO/PassManagerBuilder.h M llvm/include/llvm/Transforms/Instrumentation/CGProfile.h M llvm/lib/Passes/PassBuilder.cpp M llvm/lib/Transforms/IPO/PassManagerBuilder.cpp M llvm/lib/Transforms/Instrumentation/CGProfile.cpp M llvm/lib/Transforms/Instrumentation/Instrumentation.cpp M llvm/test/CodeGen/AMDGPU/opt-pipeline.ll M llvm/test/Instrumentation/cgprofile.ll R llvm/test/Other/new-pm-cgprofile.ll M llvm/test/Other/opt-O2-pipeline.ll M llvm/test/Other/opt-O3-pipeline.ll M llvm/test/Other/opt-Os-pipeline.ll Log Message: ----------- [LPM] Port CGProfilePass from NPM to LPM Reviewers: hans, chandlerc!, asbirlea, nikic Reviewed By: hans, nikic Subscribers: steven_wu, dexonsmith, nikic, echristo, void, zhizhouy, cfe-commits, aeubanks, MaskRay, jvesely, nhaehnle, hiraditya, kerbowa, llvm-commits Tags: #llvm, #clang Differential Revision: https://reviews.llvm.org/D83013 From all-commits at lists.llvm.org Thu Jul 9 13:08:32 2020 From: all-commits at lists.llvm.org (Petr Hosek via All-commits) Date: Thu, 09 Jul 2020 13:08:32 -0700 Subject: [all-commits] [llvm/llvm-project] 53e38c: [CMake][Fuchsia] Support for building with MSVC Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 53e38c85a8a6cdcf7776b936d72fb94ec737dc84 https://github.com/llvm/llvm-project/commit/53e38c85a8a6cdcf7776b936d72fb94ec737dc84 Author: Petr Hosek Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/cmake/caches/Fuchsia-stage2.cmake M clang/cmake/caches/Fuchsia.cmake Log Message: ----------- [CMake][Fuchsia] Support for building with MSVC This change adds the necessary flags for building the full Fuchsia toolchain on Windows with MSVC. Differential Revision: https://reviews.llvm.org/D73810 From all-commits at lists.llvm.org Thu Jul 9 13:11:23 2020 From: all-commits at lists.llvm.org (Roman Lebedev via All-commits) Date: Thu, 09 Jul 2020 13:11:23 -0700 Subject: [all-commits] [llvm/llvm-project] caa423: Revert "[InstCombine] Lower infinite combine loop ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: caa423eef0d128f35ac11ddbce34964caafb61c1 https://github.com/llvm/llvm-project/commit/caa423eef0d128f35ac11ddbce34964caafb61c1 Author: Roman Lebedev Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp Log Message: ----------- Revert "[InstCombine] Lower infinite combine loop detection thresholds" And just after 3 days, we have a hit in `InstCombiner::mergeStoreIntoSuccessor()`: https://bugs.llvm.org/show_bug.cgi?id=46661 To be recommitted once that is addressed. This reverts commit cd7f8051ac7b6f08734102446482c1e5d951bfcc. Commit: 29a9dd5bfe50be9b6aecbe95c6670734e5ee29c5 https://github.com/llvm/llvm-project/commit/29a9dd5bfe50be9b6aecbe95c6670734e5ee29c5 Author: Roman Lebedev Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/docs/CodingStandards.rst Log Message: ----------- [Docs] CodingStandards: for_each is discouraged Summary: As per disscussion in D83351, using `for_each` is potentially confusing, at least in regards to inconsistent style (there's less than 100 `for_each` usages in LLVM, but ~100.000 `for` range-based loops Therefore, it should be avoided. Reviewers: dblaikie, nickdesaulniers Reviewed By: dblaikie, nickdesaulniers Subscribers: hubert.reinterpretcast, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83431 Commit: d8bf5e8048dbd1f726d50b43fa4f8ed4fa9a5178 https://github.com/llvm/llvm-project/commit/d8bf5e8048dbd1f726d50b43fa4f8ed4fa9a5178 Author: Roman Lebedev Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.cpp Log Message: ----------- [NFCI][llvm-reduce] OperandBundleCounter: drop pointless constructor Reviewers: nickdesaulniers, dblaikie Reviewed By: nickdesaulniers Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83435 Commit: 6b824415a21c188adfcabbb61ac8cf5d44b8e236 https://github.com/llvm/llvm-project/commit/6b824415a21c188adfcabbb61ac8cf5d44b8e236 Author: Roman Lebedev Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.cpp Log Message: ----------- [NFC][llvm-reduce] Purify for_each usage in Operand Bundles into range-based for loop Summary: As per lengthy/heated disscussion in D83351, and CodingStandards D83431. Reviewers: dblaikie, nickdesaulniers Reviewed By: nickdesaulniers Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83434 Commit: 03640ee0fa73c6eaf8cb12050203027239136789 https://github.com/llvm/llvm-project/commit/03640ee0fa73c6eaf8cb12050203027239136789 Author: Roman Lebedev Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: A llvm/test/Reduce/remove-attributes-from-intrinsic-like-functions.ll A llvm/test/Reduce/remove-attributes-from-intrinsics.ll A llvm/test/Reduce/remove-call-site-attributes.ll A llvm/test/Reduce/remove-function-attributes.ll A llvm/test/Reduce/remove-global-variable-attributes.ll M llvm/tools/llvm-reduce/CMakeLists.txt M llvm/tools/llvm-reduce/DeltaManager.h A llvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp A llvm/tools/llvm-reduce/deltas/ReduceAttributes.h M llvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn Log Message: ----------- [llvm-reduce] Reducing attributes Summary: This handles all three places where attributes could currently be - `GlobalVariable`, `Function` and `CallBase`. For last two, it correctly handles all three possible attribute locations (return value, arguments and function itself) There was a previous attempt at it D73853, which was committed in rGfc62b36a000681c01e993242b583c5ec4ab48a3c, but then reverted all the way back in rGb12176d2aafa0ccb2585aa218fc3b454ba84f2a9 due to some (osx?) test failures. Reviewers: nickdesaulniers, dblaikie, diegotf, george.burgess.iv, jdoerfert, Tyker, arsenm Reviewed By: nickdesaulniers Subscribers: wdng, MaskRay, arsenm, llvm-commits, mgorny Tags: #llvm Differential Revision: https://reviews.llvm.org/D83351 Compare: https://github.com/llvm/llvm-project/compare/53e38c85a8a6...03640ee0fa73 From all-commits at lists.llvm.org Thu Jul 9 13:19:08 2020 From: all-commits at lists.llvm.org (Giorgis Georgakoudis via All-commits) Date: Thu, 09 Jul 2020 13:19:08 -0700 Subject: [all-commits] [llvm/llvm-project] 205dc0: [CallGraph] Ignore callback uses Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 205dc0922d5f7305226f7457fcbcb4224c92530c https://github.com/llvm/llvm-project/commit/205dc0922d5f7305226f7457fcbcb4224c92530c Author: Giorgis Georgakoudis Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/include/llvm/IR/Function.h M llvm/lib/Analysis/CallGraph.cpp M llvm/lib/IR/Function.cpp A llvm/test/Analysis/CallGraph/ignore-callback-uses.ll Log Message: ----------- [CallGraph] Ignore callback uses Summary: Ignore callback uses when adding a callback function in the CallGraph. Callback functions are typically created when outlining, e.g. for OpenMP, so they have internal scope and linkage. They should not be added to the ExternalCallingNode since they are only callable by the specified caller function at creation time. A CGSCC pass, such as OpenMPOpt, may need to update the CallGraph by adding a new outlined callback function. Without ignoring callback uses, adding breaks CGSCC pass restrictions and results to a broken CallGraph. Reviewers: jdoerfert Subscribers: hiraditya, sstefan1, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83370 From all-commits at lists.llvm.org Thu Jul 9 13:36:16 2020 From: all-commits at lists.llvm.org (Fangrui Song via All-commits) Date: Thu, 09 Jul 2020 13:36:16 -0700 Subject: [all-commits] [llvm/llvm-project] c025bd: Revert D83013 "[LPM] Port CGProfilePass from NPM t... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c025bdf25a59a79d60a2e99962c8653547a825d8 https://github.com/llvm/llvm-project/commit/c025bdf25a59a79d60a2e99962c8653547a825d8 Author: Fangrui Song Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/include/clang/Basic/CodeGenOptions.def M clang/lib/CodeGen/BackendUtil.cpp M clang/lib/Frontend/CompilerInvocation.cpp M llvm/include/llvm/InitializePasses.h M llvm/include/llvm/Transforms/IPO.h M llvm/include/llvm/Transforms/IPO/PassManagerBuilder.h M llvm/include/llvm/Transforms/Instrumentation/CGProfile.h M llvm/lib/Passes/PassBuilder.cpp M llvm/lib/Transforms/IPO/PassManagerBuilder.cpp M llvm/lib/Transforms/Instrumentation/CGProfile.cpp M llvm/lib/Transforms/Instrumentation/Instrumentation.cpp M llvm/test/CodeGen/AMDGPU/opt-pipeline.ll M llvm/test/Instrumentation/cgprofile.ll A llvm/test/Other/new-pm-cgprofile.ll M llvm/test/Other/opt-O2-pipeline.ll M llvm/test/Other/opt-O3-pipeline.ll M llvm/test/Other/opt-Os-pipeline.ll Log Message: ----------- Revert D83013 "[LPM] Port CGProfilePass from NPM to LPM" This reverts commit c92a8c0a0f68fbbb23e3fdde071007e63a552e82. It breaks builds and has unaddressed review comments. From all-commits at lists.llvm.org Thu Jul 9 13:36:54 2020 From: all-commits at lists.llvm.org (Eric Christopher via All-commits) Date: Thu, 09 Jul 2020 13:36:54 -0700 Subject: [all-commits] [llvm/llvm-project] ce1e48: Temporarily Revert "[PowerPC] Split s34imm into tw... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ce1e4853b5a15d679bd662ac5777a2390daf0391 https://github.com/llvm/llvm-project/commit/ce1e4853b5a15d679bd662ac5777a2390daf0391 Author: Eric Christopher Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp M llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp M llvm/lib/Target/PowerPC/MCTargetDesc/PPCFixupKinds.h M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.h M llvm/lib/Target/PowerPC/PPCInstrInfo.td M llvm/lib/Target/PowerPC/PPCInstrPrefix.td R llvm/test/MC/PowerPC/ppc64-errors-emit-obj.s Log Message: ----------- Temporarily Revert "[PowerPC] Split s34imm into two types" as it was failing in Release+Asserts mode with an assert. This reverts commit bd2068031121adf5a0e28d9306a1741d6f0bbd87. From all-commits at lists.llvm.org Thu Jul 9 14:00:03 2020 From: all-commits at lists.llvm.org (Eric Christopher via All-commits) Date: Thu, 09 Jul 2020 14:00:03 -0700 Subject: [all-commits] [llvm/llvm-project] 98eec7: Temporarily Revert "Fix [-Werror, -Wsign-compare] w... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 98eec7700c3f397283a3937b1d3ddfe4e6d3b910 https://github.com/llvm/llvm-project/commit/98eec7700c3f397283a3937b1d3ddfe4e6d3b910 Author: Eric Christopher Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp M lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp Log Message: ----------- Temporarily Revert "Fix [-Werror,-Wsign-compare] warnings arising from subsection symbols patch." as it's causing build errors with another clang so I'll need to approach this differently. This reverts commit c2827083166cd5150232d8fd3ada3cf8fa8c9ac3. From all-commits at lists.llvm.org Thu Jul 9 14:03:03 2020 From: all-commits at lists.llvm.org (Roman Lebedev via All-commits) Date: Thu, 09 Jul 2020 14:03:03 -0700 Subject: [all-commits] [llvm/llvm-project] c2a61e: Revert "[CallGraph] Ignore callback uses" Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c2a61ef3885019c5e0444d8789de63e1ce4d5003 https://github.com/llvm/llvm-project/commit/c2a61ef3885019c5e0444d8789de63e1ce4d5003 Author: Roman Lebedev Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/include/llvm/IR/Function.h M llvm/lib/Analysis/CallGraph.cpp M llvm/lib/IR/Function.cpp R llvm/test/Analysis/CallGraph/ignore-callback-uses.ll Log Message: ----------- Revert "[CallGraph] Ignore callback uses" This likely has broken test/Transforms/Attributor/IPConstantProp/ tests. http://45.33.8.238/linux/22502/step_12.txt This reverts commit 205dc0922d5f7305226f7457fcbcb4224c92530c. From all-commits at lists.llvm.org Thu Jul 9 14:16:12 2020 From: all-commits at lists.llvm.org (Nikita Popov via All-commits) Date: Thu, 09 Jul 2020 14:16:12 -0700 Subject: [all-commits] [llvm/llvm-project] c0308f: [PredicateInfo] Print RenamedOp (NFC) Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c0308fd154f9a945608bd42630dc81dce5edfb40 https://github.com/llvm/llvm-project/commit/c0308fd154f9a945608bd42630dc81dce5edfb40 Author: Nikita Popov Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Transforms/Utils/PredicateInfo.cpp M llvm/test/Transforms/Util/PredicateInfo/condprop.ll M llvm/test/Transforms/Util/PredicateInfo/unnamed-types.ll Log Message: ----------- [PredicateInfo] Print RenamedOp (NFC) Make it easier to debug renaming issues. From all-commits at lists.llvm.org Thu Jul 9 14:26:23 2020 From: all-commits at lists.llvm.org (RotateRight via All-commits) Date: Thu, 09 Jul 2020 14:26:23 -0700 Subject: [all-commits] [llvm/llvm-project] 6890e2: [DAGCombiner] add helper function to manage list o... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6890e2a17b75211cf65fca597ada768bda348c4c https://github.com/llvm/llvm-project/commit/6890e2a17b75211cf65fca597ada768bda348c4c Author: Sanjay Patel Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Log Message: ----------- [DAGCombiner] add helper function to manage list of consecutive stores; NFC From all-commits at lists.llvm.org Thu Jul 9 14:26:26 2020 From: all-commits at lists.llvm.org (RotateRight via All-commits) Date: Thu, 09 Jul 2020 14:26:26 -0700 Subject: [all-commits] [llvm/llvm-project] 8d74cb: [DAGCombiner] add helper function for store mergin... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 8d74cb01b732a55f0942a9fabe9f779820f2c06b https://github.com/llvm/llvm-project/commit/8d74cb01b732a55f0942a9fabe9f779820f2c06b Author: Sanjay Patel Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Log Message: ----------- [DAGCombiner] add helper function for store merging of constants; NFC From all-commits at lists.llvm.org Thu Jul 9 14:26:30 2020 From: all-commits at lists.llvm.org (RotateRight via All-commits) Date: Thu, 09 Jul 2020 14:26:30 -0700 Subject: [all-commits] [llvm/llvm-project] f98a60: [DAGCombiner] add helper function for store mergin... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f98a602c2e37648f637aac15cba7cbe86906e720 https://github.com/llvm/llvm-project/commit/f98a602c2e37648f637aac15cba7cbe86906e720 Author: Sanjay Patel Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Log Message: ----------- [DAGCombiner] add helper function for store merging of extracts; NFC From all-commits at lists.llvm.org Thu Jul 9 14:26:33 2020 From: all-commits at lists.llvm.org (RotateRight via All-commits) Date: Thu, 09 Jul 2020 14:26:33 -0700 Subject: [all-commits] [llvm/llvm-project] b476e6: [DAGCombiner] add helper function for store mergin... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b476e6a642d08aefaf391df026893078cd6ea9b2 https://github.com/llvm/llvm-project/commit/b476e6a642d08aefaf391df026893078cd6ea9b2 Author: Sanjay Patel Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Log Message: ----------- [DAGCombiner] add helper function for store merging of loaded values; NFC From all-commits at lists.llvm.org Thu Jul 9 14:26:37 2020 From: all-commits at lists.llvm.org (RotateRight via All-commits) Date: Thu, 09 Jul 2020 14:26:37 -0700 Subject: [all-commits] [llvm/llvm-project] a46cf4: [DAGCombiner] convert if-chain in store merging to... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a46cf40240adb3f3171f08705e65d7300b2719cb https://github.com/llvm/llvm-project/commit/a46cf40240adb3f3171f08705e65d7300b2719cb Author: Sanjay Patel Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Log Message: ----------- [DAGCombiner] convert if-chain in store merging to switch; NFC From all-commits at lists.llvm.org Thu Jul 9 14:31:53 2020 From: all-commits at lists.llvm.org (Stanislav Mekhanoshin via All-commits) Date: Thu, 09 Jul 2020 14:31:53 -0700 Subject: [all-commits] [llvm/llvm-project] 77f8f8: [AMDGPU] Return restricted number of regs from TTI Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 77f8f813a9ae20152129a8ebb9fea5fcec859194 https://github.com/llvm/llvm-project/commit/77f8f813a9ae20152129a8ebb9fea5fcec859194 Author: Stanislav Mekhanoshin Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h Log Message: ----------- [AMDGPU] Return restricted number of regs from TTI This is practically NFC at the moment because nothing really asks the real number or does anything useful with it. Differential Revision: https://reviews.llvm.org/D82202 From all-commits at lists.llvm.org Thu Jul 9 14:53:24 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Thu, 09 Jul 2020 14:53:24 -0700 Subject: [all-commits] [llvm/llvm-project] f40b11: Recommit "[X86] Merge the FEATURE_64BIT and FEATUR... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f40b11325e368667cf1dd91922d57dcef8069c8a https://github.com/llvm/llvm-project/commit/f40b11325e368667cf1dd91922d57dcef8069c8a Author: Craig Topper Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/include/llvm/Support/X86TargetParser.def M llvm/lib/Support/Host.cpp M llvm/lib/Support/X86TargetParser.cpp Log Message: ----------- Recommit "[X86] Merge the FEATURE_64BIT and FEATURE_EM64T bits in X86TargetParser.def." This time without the change to make operator| use operator&=. That seems to be the source of the gcc 5.3 miscompile. Original commit message: These represent the same thing but 64BIT only showed up from getHostCPUFeatures providing a list of featuers to clang. While EM64T showed up from getting the features for a named CPU. EM64T didn't have a string specifically so it would not be passed up to clang when getting features for a named CPU. While 64bit needed a name since that's how it is index. Merge them by filtering 64bit out before sending features to clang for named CPUs. From all-commits at lists.llvm.org Thu Jul 9 15:01:00 2020 From: all-commits at lists.llvm.org (Joel E. Denny via All-commits) Date: Thu, 09 Jul 2020 15:01:00 -0700 Subject: [all-commits] [llvm/llvm-project] 839f8e: [FileCheck] Improve -dump-input documentation Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 839f8e4fe2dcf490a0972d7761f95e5a6b287faf https://github.com/llvm/llvm-project/commit/839f8e4fe2dcf490a0972d7761f95e5a6b287faf Author: Joel E. Denny Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/test/FileCheck/dump-input-enable.txt M llvm/utils/FileCheck/FileCheck.cpp Log Message: ----------- [FileCheck] Improve -dump-input documentation Document the default of `fail` in `-help`. Extend `-dump-input=help` to help users find related command-line options, but let `-help` provide their full documentation. Reviewed By: probinson Differential Revision: https://reviews.llvm.org/D83091 From all-commits at lists.llvm.org Thu Jul 9 15:06:29 2020 From: all-commits at lists.llvm.org (Conanap via All-commits) Date: Thu, 09 Jul 2020 15:06:29 -0700 Subject: [all-commits] [llvm/llvm-project] 5ffec4: [PowerPC][Power10] Add Instruction definition/MC T... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 5ffec467202808f92c378adae95d9972926aba7d https://github.com/llvm/llvm-project/commit/5ffec467202808f92c378adae95d9972926aba7d Author: Albion Fung Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Target/PowerPC/PPCInstrPrefix.td M llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-ISA31.txt M llvm/test/MC/PowerPC/ppc64-encoding-ISA31.s Log Message: ----------- [PowerPC][Power10] Add Instruction definition/MC Tests for Load/Store Rightmost VSX Vector This patch adds the instruction definitions and the assembly/disassembly tests for the Load/Store VSX Vector Rightmose instructions. Differential Revision: https://reviews.llvm.org/D83364 From all-commits at lists.llvm.org Thu Jul 9 15:15:58 2020 From: all-commits at lists.llvm.org (ZequanWu via All-commits) Date: Thu, 09 Jul 2020 15:15:58 -0700 Subject: [all-commits] [llvm/llvm-project] 672ae6: [Lexer] Fix missing coverage line after #endif Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 672ae621e91ff5cdefb2535bdd530641536685ea https://github.com/llvm/llvm-project/commit/672ae621e91ff5cdefb2535bdd530641536685ea Author: Zequan Wu Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/lib/Lex/PPDirectives.cpp M clang/test/CoverageMapping/preprocessor.c Log Message: ----------- [Lexer] Fix missing coverage line after #endif Summary: bug reported here: https://bugs.llvm.org/show_bug.cgi?id=46660 Reviewers: vsk, efriedma, arphaman Reviewed By: vsk Subscribers: dexonsmith, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D83514 From all-commits at lists.llvm.org Thu Jul 9 15:36:37 2020 From: all-commits at lists.llvm.org (Amy Huang via All-commits) Date: Thu, 09 Jul 2020 15:36:37 -0700 Subject: [all-commits] [llvm/llvm-project] 227db8: Switch to using -debug-info-kind=constructor as de... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 227db86a1b7dd6f96f7df14890fcd071bc4fe1f5 https://github.com/llvm/llvm-project/commit/227db86a1b7dd6f96f7df14890fcd071bc4fe1f5 Author: Amy Huang Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/lib/Driver/ToolChains/Clang.cpp M clang/test/Driver/cl-options.c M clang/test/Driver/clang-g-opts.c M clang/test/Driver/cuda-dwarf-2.cu M clang/test/Driver/debug-options-as.c M clang/test/Driver/debug-options.c M clang/test/Driver/integrated-as.s M clang/test/Driver/myriad-toolchain.c M clang/test/Driver/openmp-offload-gpu.c M clang/test/Driver/split-debug.c M lldb/test/Shell/SymbolFile/PDB/Inputs/ClassLayoutTest.cpp Log Message: ----------- Switch to using -debug-info-kind=constructor as default (from =limited) Summary: -debug-info-kind=constructor reduces the amount of class debug info that is emitted; this patch switches to using this as the default. Constructor homing emits the complete type info for a class only when the constructor is emitted, so it is expected that there will be some classes that are not defined in the debug info anymore because they are never constructed, and we shouldn't need debug info for these classes. I compared the PDB files for clang, and there are 273 class types that are defined with `=limited` but not with `=constructor` (out of ~60,000 total class types). We've looked at a number of the types that are no longer defined with =constructor. The vast majority of cases are something like class A is used as a parameter in a member function of some other class B, which is emitted. But the function that uses class A is never called, and class A is never constructed, and therefore isn't emitted in the debug info. Bug: https://bugs.llvm.org/show_bug.cgi?id=46537 Subscribers: aprantl, cfe-commits, lldb-commits Tags: #clang, #lldb Differential Revision: https://reviews.llvm.org/D79147 From all-commits at lists.llvm.org Thu Jul 9 15:50:57 2020 From: all-commits at lists.llvm.org (Pete Steinfeld via All-commits) Date: Thu, 09 Jul 2020 15:50:57 -0700 Subject: [all-commits] [llvm/llvm-project] 85d974: [flang] Fix a crash when creating generics from a ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 85d9745c83a105692a8784b8c8a83482696b4900 https://github.com/llvm/llvm-project/commit/85d9745c83a105692a8784b8c8a83482696b4900 Author: Pete Steinfeld Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M flang/include/flang/Semantics/symbol.h M flang/lib/Semantics/symbol.cpp M flang/test/Semantics/resolve53.f90 Log Message: ----------- [flang] Fix a crash when creating generics from a copy Summary: When a program unit creates a generic based on one defined in a module, the function `CopyFrom()` is called to create the `GenericDetails`. This function copied the `specificProcs_` but failed to copy the `bindingNames_`. If the function `CheckGeneric()` then gets called, it tries to index into the empty binding names and causes the crash. I fixed this by adding code to `CopyFrom()` to copy the binding names. I also added a test that causes the crash. Reviewers: klausler, tskeith, DavidTruby Subscribers: llvm-commits Tags: #llvm, #flang Differential Revision: https://reviews.llvm.org/D83491 From all-commits at lists.llvm.org Thu Jul 9 15:51:29 2020 From: all-commits at lists.llvm.org (ZequanWu via All-commits) Date: Thu, 09 Jul 2020 15:51:29 -0700 Subject: [all-commits] [llvm/llvm-project] 8be204: Revert "[Lexer] Fix missing coverage line after #e... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 8be204fe75caac4ce6ed1e2cf5659011476bde79 https://github.com/llvm/llvm-project/commit/8be204fe75caac4ce6ed1e2cf5659011476bde79 Author: Zequan Wu Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/lib/Lex/PPDirectives.cpp M clang/test/CoverageMapping/preprocessor.c Log Message: ----------- Revert "[Lexer] Fix missing coverage line after #endif" This reverts commit 672ae621e91ff5cdefb2535bdd530641536685ea. From all-commits at lists.llvm.org Thu Jul 9 15:55:09 2020 From: all-commits at lists.llvm.org (Peter Klausler via All-commits) Date: Thu, 09 Jul 2020 15:55:09 -0700 Subject: [all-commits] [llvm/llvm-project] 8a8bb0: [flang] Fix frontend build with -DBUILD_SHARED_LIB... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 8a8bb078a3c839f0708917d9920ed4299680de1e https://github.com/llvm/llvm-project/commit/8a8bb078a3c839f0708917d9920ed4299680de1e Author: peter klausler Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M flang/include/flang/Common/indirection.h M flang/include/flang/Evaluate/call.h M flang/include/flang/Evaluate/expression.h M flang/include/flang/Evaluate/tools.h M flang/include/flang/Parser/parse-tree.h M flang/include/flang/Semantics/expression.h M flang/include/flang/Semantics/tools.h M flang/lib/Evaluate/CMakeLists.txt M flang/lib/Evaluate/call.cpp M flang/lib/Evaluate/expression.cpp M flang/lib/Evaluate/tools.cpp M flang/lib/Lower/CMakeLists.txt M flang/lib/Parser/parse-tree.cpp M flang/lib/Semantics/CMakeLists.txt M flang/lib/Semantics/expression.cpp M flang/lib/Semantics/tools.cpp M flang/tools/f18-parse-demo/stub-evaluate.cpp M flang/tools/f18/CMakeLists.txt M flang/unittests/Evaluate/CMakeLists.txt M flang/unittests/Runtime/CMakeLists.txt Log Message: ----------- [flang] Fix frontend build with -DBUILD_SHARED_LIBS=On Fix fronted shared library builds by eliminating dependences of the parser on other component libraries, moving some code around that wasn't in the right library, and making some dependences explicit in the CMakeLists.txt files. The lowering library does not yet build as a shared library due to some undefined names. Reviewed By: tskeith Differential Revision: https://reviews.llvm.org/D83515 From all-commits at lists.llvm.org Thu Jul 9 16:10:30 2020 From: all-commits at lists.llvm.org (Eric Schweitz via All-commits) Date: Thu, 09 Jul 2020 16:10:30 -0700 Subject: [all-commits] [llvm/llvm-project] 9263e0: [flang] ifdef to avoid warning about supposedly de... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9263e08251ae7ab6feaa6cda37d70fbd6971cfc4 https://github.com/llvm/llvm-project/commit/9263e08251ae7ab6feaa6cda37d70fbd6971cfc4 Author: Eric Schweitz Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M flang/lib/Optimizer/Dialect/FIRType.cpp Log Message: ----------- [flang] ifdef to avoid warning about supposedly dead function From all-commits at lists.llvm.org Thu Jul 9 16:13:30 2020 From: all-commits at lists.llvm.org (Eli Friedman via All-commits) Date: Thu, 09 Jul 2020 16:13:30 -0700 Subject: [all-commits] [llvm/llvm-project] 56ae2c: [AArch64][SVE] Add lowering for llvm.fma. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 56ae2cebcdf7884470212ed2a04c1bce73d5c996 https://github.com/llvm/llvm-project/commit/56ae2cebcdf7884470212ed2a04c1bce73d5c996 Author: Eli Friedman Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp M llvm/lib/Target/AArch64/AArch64ISelLowering.h M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td M llvm/test/CodeGen/AArch64/sve-fp.ll Log Message: ----------- [AArch64][SVE] Add lowering for llvm.fma. This is currently bare-bones; we aren't taking advantage of any of the FMA variant instructions. But it's enough to at least generate code. Differential Revision: https://reviews.llvm.org/D83444 From all-commits at lists.llvm.org Thu Jul 9 16:25:36 2020 From: all-commits at lists.llvm.org (Stella Laurenzo via All-commits) Date: Thu, 09 Jul 2020 16:25:36 -0700 Subject: [all-commits] [llvm/llvm-project] 722475: Initial boiler-plate for python bindings. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 722475a375697513797a71afe6c37db3e3763bfc https://github.com/llvm/llvm-project/commit/722475a375697513797a71afe6c37db3e3763bfc Author: Stella Laurenzo Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M mlir/CMakeLists.txt A mlir/lib/Bindings/CMakeLists.txt A mlir/lib/Bindings/Python/CMakeLists.txt A mlir/lib/Bindings/Python/MainModule.cpp A mlir/lib/Bindings/Python/mlir/__init__.py A mlir/lib/Bindings/Python/unix_version.lds M mlir/lib/CMakeLists.txt A mlir/test/Bindings/Python/lit.local.cfg A mlir/test/Bindings/Python/smoke_test.py M mlir/test/CMakeLists.txt M mlir/test/lit.cfg.py M mlir/test/lit.site.cfg.py.in Log Message: ----------- Initial boiler-plate for python bindings. Summary: * Native '_mlir' extension module. * Python mlir/__init__.py trampoline module. * Lit test that checks a message. * Uses some cmake configurations that have worked for me in the past but likely needs further elaboration. Subscribers: mgorny, mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, Kayjukh, jurahul, msifontes Tags: #mlir Differential Revision: https://reviews.llvm.org/D83279 From all-commits at lists.llvm.org Thu Jul 9 16:30:57 2020 From: all-commits at lists.llvm.org (wmi-11 via All-commits) Date: Thu, 09 Jul 2020 16:30:57 -0700 Subject: [all-commits] [llvm/llvm-project] 78fe6a: [NFC] Extract the code to write instr profile into... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 78fe6a3ee244cf1b590cd2a169c81ec00de08cb2 https://github.com/llvm/llvm-project/commit/78fe6a3ee244cf1b590cd2a169c81ec00de08cb2 Author: Wei Mi Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/tools/llvm-profdata/llvm-profdata.cpp Log Message: ----------- [NFC] Extract the code to write instr profile into function writeInstrProfile So that the function writeInstrProfile can be used in other places. Differential Revision: https://reviews.llvm.org/D83521 From all-commits at lists.llvm.org Thu Jul 9 16:57:27 2020 From: all-commits at lists.llvm.org (wmi-11 via All-commits) Date: Thu, 09 Jul 2020 16:57:27 -0700 Subject: [all-commits] [llvm/llvm-project] e296e9: [NFC] Change getEntryForPercentile to be a static ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e296e9dfd6ceade1271e48a0afacd1a4826676be https://github.com/llvm/llvm-project/commit/e296e9dfd6ceade1271e48a0afacd1a4826676be Author: Wei Mi Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/include/llvm/ProfileData/ProfileCommon.h M llvm/lib/Analysis/ProfileSummaryInfo.cpp M llvm/lib/ProfileData/ProfileSummaryBuilder.cpp Log Message: ----------- [NFC] Change getEntryForPercentile to be a static function in ProfileSummaryBuilder. Change file static function getEntryForPercentile to be a static member function in ProfileSummaryBuilder so it can be used by other files. Differential Revision: https://reviews.llvm.org/D83439 From all-commits at lists.llvm.org Thu Jul 9 16:58:57 2020 From: all-commits at lists.llvm.org (aeubanks via All-commits) Date: Thu, 09 Jul 2020 16:58:57 -0700 Subject: [all-commits] [llvm/llvm-project] 8039d2: [NFC] Derive from PassInfoMixin for no-op/printing... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 8039d2c3bf14585ef37dc9343bf393ecad9aead9 https://github.com/llvm/llvm-project/commit/8039d2c3bf14585ef37dc9343bf393ecad9aead9 Author: Arthur Eubanks Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/include/llvm/IR/IRPrintingPasses.h M llvm/lib/IR/LegacyPassManager.cpp M llvm/lib/Passes/PassBuilder.cpp Log Message: ----------- [NFC] Derive from PassInfoMixin for no-op/printing passes PassInfoMixin should be used for all NPM passes, rater than a custom `name()`. This caused ambiguous references in LegacyPassManager.cpp, so had to remove "using namespace llvm::legacy" and move some things around. The passes had to be moved to the llvm namespace, or else they would get printed as "(anonymous namespace)::FooPass". Reviewed By: ychen, asbirlea Differential Revision: https://reviews.llvm.org/D83498 From all-commits at lists.llvm.org Thu Jul 9 17:23:29 2020 From: all-commits at lists.llvm.org (AE via All-commits) Date: Thu, 09 Jul 2020 17:23:29 -0700 Subject: [all-commits] [llvm/llvm-project] ce2252: [AArch64][GlobalISel] Add more specific debug info... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ce22527c0c7a38ce0ac2037104a2a89443754836 https://github.com/llvm/llvm-project/commit/ce22527c0c7a38ce0ac2037104a2a89443754836 Author: Amara Emerson Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: A llvm/test/CodeGen/AArch64/GlobalISel/legalize-load-store-vector-of-ptr-debugloc.mir A llvm/test/CodeGen/AArch64/GlobalISel/legalize-memlib-debug-loc.mir A llvm/test/CodeGen/AArch64/GlobalISel/legalize-shift-imm-promote-dloc.mir M llvm/test/CodeGen/AArch64/GlobalISel/legalize-vaarg.mir Log Message: ----------- [AArch64][GlobalISel] Add more specific debug info tests for 613f12dd8e2403f5630ab299d2a1bb2cb111ead1. As requested, these tests check for specific debug locs on the output of the legalizer. The only one that I couldn't write was for moreElementsVector, which AFAICT we don't trigger on AArch64. From all-commits at lists.llvm.org Thu Jul 9 17:23:58 2020 From: all-commits at lists.llvm.org (Kareem Ergawy via All-commits) Date: Thu, 09 Jul 2020 17:23:58 -0700 Subject: [all-commits] [llvm/llvm-project] 3847a6: [MLIR][SPIRV] Support two memory access attributes... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 3847a6ae759e0be06b9a3cd3d303099a6cd41d7d https://github.com/llvm/llvm-project/commit/3847a6ae759e0be06b9a3cd3d303099a6cd41d7d Author: ergawy Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M mlir/include/mlir/Dialect/SPIRV/SPIRVOps.td M mlir/lib/Dialect/SPIRV/SPIRVOps.cpp M mlir/lib/Dialect/SPIRV/Serialization/Deserializer.cpp M mlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp M mlir/test/Dialect/SPIRV/Serialization/memory-ops.mlir M mlir/test/Dialect/SPIRV/ops.mlir Log Message: ----------- [MLIR][SPIRV] Support two memory access attributes in OpCopyMemory. This commit augments spv.CopyMemory's implementation to support 2 memory access operands. Hence, more closely following the spec. The following changes are introduces: - Customize logic for spv.CopyMemory serialization and deserialization. - Add 2 additional attributes for source memory access operand. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D83241 From all-commits at lists.llvm.org Thu Jul 9 17:25:04 2020 From: all-commits at lists.llvm.org (Richard Smith via All-commits) Date: Thu, 09 Jul 2020 17:25:04 -0700 Subject: [all-commits] [llvm/llvm-project] 746279: Move default argument instantiation to SemaTemplat... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7462793be771712092de4c31fef1b04ac365ccea https://github.com/llvm/llvm-project/commit/7462793be771712092de4c31fef1b04ac365ccea Author: Richard Smith Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/include/clang/Sema/Sema.h M clang/lib/Sema/SemaExpr.cpp M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp Log Message: ----------- Move default argument instantiation to SemaTemplateInstantiateDecl.cpp. No functionality change intended. Commit: a5569f089844209dbea2e3241460173d7b6b1420 https://github.com/llvm/llvm-project/commit/a5569f089844209dbea2e3241460173d7b6b1420 Author: Richard Smith Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/include/clang/AST/Decl.h M clang/lib/AST/Decl.cpp M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp M clang/test/SemaTemplate/default-arguments-cxx0x.cpp Log Message: ----------- Push parameters into the local instantiation scope before instantiating a default argument. Default arguments can (after recent language changes) refer to parameters of the same function. Make sure they're added to the local instantiation scope before transforming a default argument so that we can remap such references to them properly. Commit: f721e0582b158c60c56d2601235b6d60758f4d7a https://github.com/llvm/llvm-project/commit/f721e0582b158c60c56d2601235b6d60758f4d7a Author: Richard Smith Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/include/clang/AST/DeclBase.h M clang/lib/AST/DeclBase.cpp M clang/lib/Sema/SemaTemplateInstantiate.cpp M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp M clang/test/SemaTemplate/default-arguments-cxx0x.cpp M clang/test/SemaTemplate/dependent-expr.cpp Log Message: ----------- PR46648: Do not eagerly instantiate default arguments for a generic lambda when instantiating a call operator specialization. We previously incorrectly thought that such substitution was happening in the context of substitution into a local scope, which is a context where we should perform eager default argument instantiation. Compare: https://github.com/llvm/llvm-project/compare/3847a6ae759e...f721e0582b15 From all-commits at lists.llvm.org Thu Jul 9 17:28:18 2020 From: all-commits at lists.llvm.org (Julian Lettner via All-commits) Date: Thu, 09 Jul 2020 17:28:18 -0700 Subject: [all-commits] [llvm/llvm-project] bed3e1: [Sanitizer] Update macOS version checking Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: bed3e1a99b41f5a9525bc0edf12ecbcf63aab0cf https://github.com/llvm/llvm-project/commit/bed3e1a99b41f5a9525bc0edf12ecbcf63aab0cf Author: Julian Lettner Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp M compiler-rt/lib/sanitizer_common/tests/sanitizer_mac_test.cpp Log Message: ----------- [Sanitizer] Update macOS version checking Support macOS 11 in our runtime version checking code and update `GetMacosAlignedVersionInternal()` accordingly. This follows the implementation of `Triple::getMacOSXVersion()` in the Clang driver. Reviewed By: delcypher Differential Revision: https://reviews.llvm.org/D82918 From all-commits at lists.llvm.org Thu Jul 9 18:02:02 2020 From: all-commits at lists.llvm.org (Vitaly Buka via All-commits) Date: Thu, 09 Jul 2020 18:02:02 -0700 Subject: [all-commits] [llvm/llvm-project] 57f2a7: [StackSafety, NFC] Reduce FunctionSummary size Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 57f2a789ca074165baa1c8eea3332007477c9f91 https://github.com/llvm/llvm-project/commit/57f2a789ca074165baa1c8eea3332007477c9f91 Author: Vitaly Buka Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/include/llvm/IR/ModuleSummaryIndex.h Log Message: ----------- [StackSafety,NFC] Reduce FunctionSummary size Most compiler infocations will not need ParamAccess, so we can optimize memory usage there with smaller unique_ptr instead of empty vector. Suggested in D80908 review. Reviewed By: tejohnson Differential Revision: https://reviews.llvm.org/D83458 From all-commits at lists.llvm.org Thu Jul 9 18:47:25 2020 From: all-commits at lists.llvm.org (Jordan Rupprecht via All-commits) Date: Thu, 09 Jul 2020 18:47:25 -0700 Subject: [all-commits] [llvm/llvm-project] fbef6c: [lldb] Declare extern template instantiation to fi... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: fbef6c55bc2f349110bd601b716889d73e101c92 https://github.com/llvm/llvm-project/commit/fbef6c55bc2f349110bd601b716889d73e101c92 Author: Jordan Rupprecht Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M lldb/source/Plugins/Process/POSIX/NativeProcessELF.cpp M lldb/source/Plugins/Process/POSIX/NativeProcessELF.h Log Message: ----------- [lldb] Declare extern template instantiation to fix linking issues. NativeProcessELF::GetELFImageInfoAddress<...>() is declared in NativeProcessELF.h, but only defined in NativeProcessELF.cpp. Via some optimized builds (e.g. thinlto), this instantiation may be removed when it is used in a different TU (NativeProcessELFTest.cpp). From all-commits at lists.llvm.org Thu Jul 9 18:58:14 2020 From: all-commits at lists.llvm.org (Chen Zheng via All-commits) Date: Thu, 09 Jul 2020 18:58:14 -0700 Subject: [all-commits] [llvm/llvm-project] f1efb8: [SCEV][IndVarSimplify] insert point should not be ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f1efb8bb4ba0584a9b994f3404a2c62920ce6652 https://github.com/llvm/llvm-project/commit/f1efb8bb4ba0584a9b994f3404a2c62920ce6652 Author: Chen Zheng Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp A llvm/test/Transforms/IndVarSimplify/widen-i32-i8ptr.ll Log Message: ----------- [SCEV][IndVarSimplify] insert point should not be block front. The block front may be a PHI node, inserting a cast instructions like BitCast, PtrToInt, IntToPtr among PHIs is not right. Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D80975 From all-commits at lists.llvm.org Thu Jul 9 20:29:56 2020 From: all-commits at lists.llvm.org (JF Bastien via All-commits) Date: Thu, 09 Jul 2020 20:29:56 -0700 Subject: [all-commits] [llvm/llvm-project] 00c9a5: CrashTracer: clang at clang: llvm::BitstreamWriter... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 00c9a504aeed2603bd8bc9b89d753534e929c8e8 https://github.com/llvm/llvm-project/commit/00c9a504aeed2603bd8bc9b89d753534e929c8e8 Author: Oliver Hunt Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/include/clang/Basic/DiagnosticFrontendKinds.td M clang/lib/Frontend/SerializedDiagnosticPrinter.cpp Log Message: ----------- CrashTracer: clang at clang: llvm::BitstreamWriter::ExitBlock Add a guard for re-entering an SDiagsWriter's HandleDiagnostics method after we've started finalizing. This is a generic catch all for unexpected fatal errors so we don't recursive crash inside the generic llvm error handler. We also add logic to handle the actual error case in llvm::~raw_fd_ostream caused by failing to clear errors before it is destroyed. From all-commits at lists.llvm.org Thu Jul 9 20:38:41 2020 From: all-commits at lists.llvm.org (Richard Smith via All-commits) Date: Thu, 09 Jul 2020 20:38:41 -0700 Subject: [all-commits] [llvm/llvm-project] 553dbb: [demangler] Don't allow the template parameters fr... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 553dbb6d7b32cc786281dea2c58a420bcbc9bb82 https://github.com/llvm/llvm-project/commit/553dbb6d7b32cc786281dea2c58a420bcbc9bb82 Author: Richard Smith Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M libcxxabi/src/demangle/ItaniumDemangle.h M libcxxabi/test/test_demangle.pass.cpp M llvm/include/llvm/Demangle/ItaniumDemangle.h Log Message: ----------- [demangler] Don't allow the template parameters from the in a to leak out into later parts of the name. This caused us to fail to demangle certain constructs involving generic lambdas. From all-commits at lists.llvm.org Thu Jul 9 20:50:06 2020 From: all-commits at lists.llvm.org (Stella Laurenzo via All-commits) Date: Thu, 09 Jul 2020 20:50:06 -0700 Subject: [all-commits] [llvm/llvm-project] c20c19: Add Python bindings guide. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c20c1960c15adb3b897aeb1ab83b6fa4caab2505 https://github.com/llvm/llvm-project/commit/c20c1960c15adb3b897aeb1ab83b6fa4caab2505 Author: Stella Laurenzo Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: A mlir/docs/Bindings/Python.md Log Message: ----------- Add Python bindings guide. Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, Kayjukh, jurahul, msifontes Tags: #mlir Differential Revision: https://reviews.llvm.org/D83527 From all-commits at lists.llvm.org Thu Jul 9 21:09:33 2020 From: all-commits at lists.llvm.org (Petr Hosek via All-commits) Date: Thu, 09 Jul 2020 21:09:33 -0700 Subject: [all-commits] [llvm/llvm-project] ceb76d: [CMake][Fuchsia] Move runtimes to outer scope Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ceb76d2fe73d39f2230bf55d47b8fd68849d47d7 https://github.com/llvm/llvm-project/commit/ceb76d2fe73d39f2230bf55d47b8fd68849d47d7 Author: Petr Hosek Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M clang/cmake/caches/Fuchsia-stage2.cmake Log Message: ----------- [CMake][Fuchsia] Move runtimes to outer scope This is needed for runtimes to be properly configured, addressing an issue introduced in 53e38c85. From all-commits at lists.llvm.org Thu Jul 9 21:13:16 2020 From: all-commits at lists.llvm.org (Richard Smith via All-commits) Date: Thu, 09 Jul 2020 21:13:16 -0700 Subject: [all-commits] [llvm/llvm-project] b03f17: [demangler] More properly save and restore the tem... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b03f1756fb4fd5ac5d606a7e4fd8aea1d9f18541 https://github.com/llvm/llvm-project/commit/b03f1756fb4fd5ac5d606a7e4fd8aea1d9f18541 Author: Richard Smith Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M libcxxabi/src/demangle/ItaniumDemangle.h M libcxxabi/test/test_demangle.pass.cpp M llvm/include/llvm/Demangle/ItaniumDemangle.h Log Message: ----------- [demangler] More properly save and restore the template parameter state when parsing an encoding. From all-commits at lists.llvm.org Thu Jul 9 21:27:59 2020 From: all-commits at lists.llvm.org (Guillaume Chatelet via All-commits) Date: Thu, 09 Jul 2020 21:27:59 -0700 Subject: [all-commits] [llvm/llvm-project] 305824: [NFC] Separate bitcode reading for FUNC_CODE_INST_... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 30582457b47004dec8a78144abc919a13ccbd08c https://github.com/llvm/llvm-project/commit/30582457b47004dec8a78144abc919a13ccbd08c Author: Guillaume Chatelet Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/include/llvm/Bitcode/LLVMBitCodes.h M llvm/lib/Bitcode/Reader/BitcodeReader.cpp Log Message: ----------- [NFC] Separate bitcode reading for FUNC_CODE_INST_CMPXCHG(_OLD) This is preparatory work to unable storing alignment for AtomicCmpXchgInst. See D83136 for context and bug: https://bugs.llvm.org/show_bug.cgi?id=27168 Differential Revision: https://reviews.llvm.org/D83375 From all-commits at lists.llvm.org Thu Jul 9 22:40:29 2020 From: all-commits at lists.llvm.org (Fangrui Song via All-commits) Date: Thu, 09 Jul 2020 22:40:29 -0700 Subject: [all-commits] [llvm/llvm-project] 760bbd: [llvm-symbolizer][test] Fix options-from-env.test Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 760bbda2d8200481d03a46a74587035059dd12cc https://github.com/llvm/llvm-project/commit/760bbda2d8200481d03a46a74587035059dd12cc Author: Fangrui Song Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/test/tools/llvm-symbolizer/options-from-env.test Log Message: ----------- [llvm-symbolizer][test] Fix options-from-env.test options-from-env.test (D71668) does not test it intended to test: `llvm-symbolizer 0x20112f` prints `0x20112f` in the absence of an environment variable. From all-commits at lists.llvm.org Thu Jul 9 22:53:24 2020 From: all-commits at lists.llvm.org (rithik sharma via All-commits) Date: Thu, 09 Jul 2020 22:53:24 -0700 Subject: [all-commits] [llvm/llvm-project] e71c7b: [CodeMoverUtils] Move OrderedInstructions to CodeM... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e71c7b593a2d1b7d60dc8aaa4b8ede03de7bbd00 https://github.com/llvm/llvm-project/commit/e71c7b593a2d1b7d60dc8aaa4b8ede03de7bbd00 Author: SharmaRithik Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: R llvm/include/llvm/Analysis/OrderedInstructions.h M llvm/lib/Analysis/CMakeLists.txt R llvm/lib/Analysis/OrderedInstructions.cpp M llvm/lib/Transforms/Utils/CodeMoverUtils.cpp M llvm/unittests/Analysis/CMakeLists.txt R llvm/unittests/Analysis/OrderedInstructionsTest.cpp M llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn M llvm/utils/gn/secondary/llvm/unittests/Analysis/BUILD.gn Log Message: ----------- [CodeMoverUtils] Move OrderedInstructions to CodeMoverUtils Summary: This patch moves OrderedInstructions to CodeMoverUtils as It was the only place where OrderedInstructions is required. Authored By: RithikSharma Reviewer: Whitney, bmahjour, etiotto, fhahn, nikic Reviewed By: Whitney, nikic Subscribers: mgorny, hiraditya, llvm-commits Tag: LLVM Differential Revision: https://reviews.llvm.org/D80643 From all-commits at lists.llvm.org Thu Jul 9 22:59:01 2020 From: all-commits at lists.llvm.org (Nathan Ridge via All-commits) Date: Thu, 09 Jul 2020 22:59:01 -0700 Subject: [all-commits] [llvm/llvm-project] 98d763: [clangd] Factor out some helper functions related ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 98d763ad051f5eab89fa46167516fc8a84f471d0 https://github.com/llvm/llvm-project/commit/98d763ad051f5eab89fa46167516fc8a84f471d0 Author: Nathan Ridge Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang-tools-extra/clangd/FindTarget.cpp Log Message: ----------- [clangd] Factor out some helper functions related to heuristic resolution in TargetFinder Summary: Two helpers are introduced: * Some of the logic previously in TargetFinder::Visit*() methods is factored out into resolveDependentExprToDecls(). * Some of the logic in getMembersReferencedViaDependentName() is factored out into resolveTypeToRecordDecl(). D82739 will build on this and use these functions in new ways. Reviewers: hokein Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D83371 From all-commits at lists.llvm.org Thu Jul 9 23:08:09 2020 From: all-commits at lists.llvm.org (Zakk Chen via All-commits) Date: Thu, 09 Jul 2020 23:08:09 -0700 Subject: [all-commits] [llvm/llvm-project] 04b9a4: [RISCV] Refactor FeatureRVCHints to make Processor... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 04b9a46c842f793a2baedcad64de35fcbd3e93b7 https://github.com/llvm/llvm-project/commit/04b9a46c842f793a2baedcad64de35fcbd3e93b7 Author: Zakk Chen Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M llvm/lib/Target/RISCV/RISCV.td M llvm/lib/Target/RISCV/RISCVSubtarget.h M llvm/test/MC/RISCV/rv32c-invalid.s Log Message: ----------- [RISCV] Refactor FeatureRVCHints to make ProcessorModel more intuitive Reviewers: luismarques, asb, evandro Reviewed By: asb, evandro Tags: #llvm Differential Revision: https://reviews.llvm.org/D77030 From all-commits at lists.llvm.org Thu Jul 9 23:28:26 2020 From: all-commits at lists.llvm.org (Daniel Grumberg via All-commits) Date: Thu, 09 Jul 2020 23:28:26 -0700 Subject: [all-commits] [llvm/llvm-project] 50f243: Add diagnostic option backing field for -fansi-esc... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 50f24331fd91e70de6bf6c3efe45272ddfc711fd https://github.com/llvm/llvm-project/commit/50f24331fd91e70de6bf6c3efe45272ddfc711fd Author: Daniel Grumberg Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/include/clang/Basic/DiagnosticOptions.def M clang/include/clang/Driver/Options.td M clang/lib/Frontend/CompilerInvocation.cpp Log Message: ----------- Add diagnostic option backing field for -fansi-escape-codes Summary: Keep track of -fansi-escape-codes in DiagnosticOptions and move the option to the new option parsing system. Depends on D82860 Reviewers: Bigcheese Subscribers: dexonsmith, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82874 From all-commits at lists.llvm.org Thu Jul 9 23:52:37 2020 From: all-commits at lists.llvm.org (Muhammad Omair Javaid via All-commits) Date: Thu, 09 Jul 2020 23:52:37 -0700 Subject: [all-commits] [llvm/llvm-project] a65da5: [LLDB] Update AArch64 Dwarf and EH frame register ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a65da5f5924fbb7bad28bbb397e3e9a94959df4c https://github.com/llvm/llvm-project/commit/a65da5f5924fbb7bad28bbb397e3e9a94959df4c Author: Muhammad Omair Javaid Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M lldb/source/Utility/ARM64_DWARF_Registers.h M lldb/source/Utility/ARM64_ehframe_Registers.h Log Message: ----------- [LLDB] Update AArch64 Dwarf and EH frame register numbers This patch updates ARM64_ehframe_Registers.h and ARM64_DWARF_Registers.h with latest register numbers in line with AArch64 SVE support. For refernce take a look at "DWARF for the ARM® 64-bit Architecture (AArch64) with SVE support" manual from Arm. Version used: abi_sve_aadwarf_100985_0000_00_en.pdf From all-commits at lists.llvm.org Fri Jul 10 00:11:57 2020 From: all-commits at lists.llvm.org (david-arm via All-commits) Date: Fri, 10 Jul 2020 00:11:57 -0700 Subject: [all-commits] [llvm/llvm-project] 229dfb: [CodeGen] Replace calls to getVectorNumElements() ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 229dfb4728f45cf9607aaa564155c267f3a0f59c https://github.com/llvm/llvm-project/commit/229dfb4728f45cf9607aaa564155c267f3a0f59c Author: David Sherwood Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Log Message: ----------- [CodeGen] Replace calls to getVectorNumElements() in SelectionDAG::SplitVector This patch replaces some invalid calls to getVectorNumElements() with calls to getVectorMinNumElements() instead, since the code paths changed in this patch work for both fixed and scalable vector types. Fixes warnings in this test: sve-sext-zext.ll Differential Revision: https://reviews.llvm.org/D83203 From all-commits at lists.llvm.org Fri Jul 10 00:16:36 2020 From: all-commits at lists.llvm.org (George Mitenkov via All-commits) Date: Fri, 10 Jul 2020 00:16:36 -0700 Subject: [all-commits] [llvm/llvm-project] eb6b7c: [MLIR][SPIRVToLLVM] Conversion of SPIR-V struct ty... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: eb6b7c5d4fd4aeaf92d0ad560e0c078a95d66902 https://github.com/llvm/llvm-project/commit/eb6b7c5d4fd4aeaf92d0ad560e0c078a95d66902 Author: George Mitenkov Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp M mlir/test/Conversion/SPIRVToLLVM/spirv-types-to-llvm.invalid.mlir M mlir/test/Conversion/SPIRVToLLVM/spirv-types-to-llvm.mlir Log Message: ----------- [MLIR][SPIRVToLLVM] Conversion of SPIR-V struct type without offset This patch introduces type conversion for SPIR-V structs. Since handling offset case requires thorough testing, it was left out for now. Hence, only structs with no offset are currently supported. Also, structs containing member decorations cannot be translated. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D83403 From all-commits at lists.llvm.org Fri Jul 10 00:19:18 2020 From: all-commits at lists.llvm.org (Thomas Lively via All-commits) Date: Fri, 10 Jul 2020 00:19:18 -0700 Subject: [all-commits] [llvm/llvm-project] 043eaa: [WebAssembly][NFC] Simplify vector shift lowering ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 043eaa9a4a0808fe4e82b2ef1823ccafa491c065 https://github.com/llvm/llvm-project/commit/043eaa9a4a0808fe4e82b2ef1823ccafa491c065 Author: Thomas Lively Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp M llvm/test/CodeGen/WebAssembly/simd-shift-complex-splats.ll Log Message: ----------- [WebAssembly][NFC] Simplify vector shift lowering and add tests This patch builds on 0d7286a652 by simplifying the code for detecting splat values and adding new tests demonstrating the lowering of splatted absolute value shift amounts, which are common in code generated by Halide. The lowering is very bad right now, but subsequent patches will improve it considerably. The tests will be useful for evaluating the improvements in those patches. Reviewed By: aheejin Differential Revision: https://reviews.llvm.org/D83493 From all-commits at lists.llvm.org Fri Jul 10 00:29:47 2020 From: all-commits at lists.llvm.org (david-arm via All-commits) Date: Fri, 10 Jul 2020 00:29:47 -0700 Subject: [all-commits] [llvm/llvm-project] da7318: [CodeGen] Replace calls to getVectorNumElements() ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: da731894a2fe45fd5bec9698f3206c1fdee2829a https://github.com/llvm/llvm-project/commit/da731894a2fe45fd5bec9698f3206c1fdee2829a Author: David Sherwood Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp Log Message: ----------- [CodeGen] Replace calls to getVectorNumElements() in DAGTypeLegalizer::SetSplitVector In DAGTypeLegalizer::SetSplitVector I have changed calls in the assert from getVectorNumElements() to getVectorElementCount(), since this code path works for both fixed and scalable vectors. This fixes up one warning in the test: sve-sext-zext.ll Differential Revision: https://reviews.llvm.org/D83196 From all-commits at lists.llvm.org Fri Jul 10 00:35:11 2020 From: all-commits at lists.llvm.org (dnsampaio via All-commits) Date: Fri, 10 Jul 2020 00:35:11 -0700 Subject: [all-commits] [llvm/llvm-project] 7bf168: [BDCE] SExt -> ZExt when no sign bits is used and ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7bf168390fd05460b1c0df3fa570758c6be718fd https://github.com/llvm/llvm-project/commit/7bf168390fd05460b1c0df3fa570758c6be718fd Author: Diogo Sampaio Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/Transforms/Scalar/BDCE.cpp M llvm/test/Transforms/BDCE/sext_multi_uses.ll Log Message: ----------- [BDCE] SExt -> ZExt when no sign bits is used and instruction has multiple uses Summary: This allows to convert any SExt to a ZExt when we know none of the extended bits are used, specially in cases where there are multiple uses of the value. Reviewers: dmgreen, eli.friedman, spatel, lebedev.ri, nikic Reviewed By: lebedev.ri, nikic Subscribers: hiraditya, dmgreen, craig.topper, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D60413 From all-commits at lists.llvm.org Fri Jul 10 01:04:01 2020 From: all-commits at lists.llvm.org (Danila Kutenin via All-commits) Date: Fri, 10 Jul 2020 01:04:01 -0700 Subject: [all-commits] [llvm/llvm-project] 68c011: [builtins] Optimize udivmodti4 for many platforms. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 68c011aa085ab8ec198198e45c83de605a7dc31f https://github.com/llvm/llvm-project/commit/68c011aa085ab8ec198198e45c83de605a7dc31f Author: Danila Kutenin Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M compiler-rt/lib/builtins/udivmodti4.c Log Message: ----------- [builtins] Optimize udivmodti4 for many platforms. Summary: While benchmarking uint128 division we found out that it has huge latency for small divisors https://reviews.llvm.org/D83027 ``` Benchmark Time(ns) CPU(ns) Iterations -------------------------------------------------------------------------------------------------- BM_DivideIntrinsic128UniformDivisor 13.0 13.0 55000000 BM_DivideIntrinsic128UniformDivisor<__int128> 14.3 14.3 50000000 BM_RemainderIntrinsic128UniformDivisor 13.5 13.5 52000000 BM_RemainderIntrinsic128UniformDivisor<__int128> 14.1 14.1 50000000 BM_DivideIntrinsic128SmallDivisor 153 153 5000000 BM_DivideIntrinsic128SmallDivisor<__int128> 170 170 3000000 BM_RemainderIntrinsic128SmallDivisor 153 153 5000000 BM_RemainderIntrinsic128SmallDivisor<__int128> 155 155 5000000 ``` This patch suggests a more optimized version of the division: If the divisor is 64 bit, we can proceed with the divq instruction on x86 or constant multiplication mechanisms for other platforms. Once both divisor and dividend are not less than 2**64, we use branch free subtract algorithm, it has at most 64 cycles. After that our benchmarks improved significantly ``` Benchmark Time(ns) CPU(ns) Iterations -------------------------------------------------------------------------------------------------- BM_DivideIntrinsic128UniformDivisor 11.0 11.0 64000000 BM_DivideIntrinsic128UniformDivisor<__int128> 13.8 13.8 51000000 BM_RemainderIntrinsic128UniformDivisor 11.6 11.6 61000000 BM_RemainderIntrinsic128UniformDivisor<__int128> 13.7 13.7 52000000 BM_DivideIntrinsic128SmallDivisor 27.1 27.1 26000000 BM_DivideIntrinsic128SmallDivisor<__int128> 29.4 29.4 24000000 BM_RemainderIntrinsic128SmallDivisor 27.9 27.8 26000000 BM_RemainderIntrinsic128SmallDivisor<__int128> 29.1 29.1 25000000 ``` If not using divq instrinsics, it is still much better ``` Benchmark Time(ns) CPU(ns) Iterations -------------------------------------------------------------------------------------------------- BM_DivideIntrinsic128UniformDivisor 12.2 12.2 58000000 BM_DivideIntrinsic128UniformDivisor<__int128> 13.5 13.5 52000000 BM_RemainderIntrinsic128UniformDivisor 12.7 12.7 56000000 BM_RemainderIntrinsic128UniformDivisor<__int128> 13.7 13.7 51000000 BM_DivideIntrinsic128SmallDivisor 30.2 30.2 24000000 BM_DivideIntrinsic128SmallDivisor<__int128> 33.2 33.2 22000000 BM_RemainderIntrinsic128SmallDivisor 31.4 31.4 23000000 BM_RemainderIntrinsic128SmallDivisor<__int128> 33.8 33.8 21000000 ``` PowerPC benchmarks: Was ``` BM_DivideIntrinsic128UniformDivisor 22.3 22.3 32000000 BM_DivideIntrinsic128UniformDivisor<__int128> 23.8 23.8 30000000 BM_RemainderIntrinsic128UniformDivisor 22.5 22.5 32000000 BM_RemainderIntrinsic128UniformDivisor<__int128> 24.9 24.9 29000000 BM_DivideIntrinsic128SmallDivisor 394 394 2000000 BM_DivideIntrinsic128SmallDivisor<__int128> 397 397 2000000 BM_RemainderIntrinsic128SmallDivisor 399 399 2000000 BM_RemainderIntrinsic128SmallDivisor<__int128> 397 397 2000000 ``` With this patch ``` BM_DivideIntrinsic128UniformDivisor 21.7 21.7 33000000 BM_DivideIntrinsic128UniformDivisor<__int128> 23.0 23.0 31000000 BM_RemainderIntrinsic128UniformDivisor 21.9 21.9 33000000 BM_RemainderIntrinsic128UniformDivisor<__int128> 23.9 23.9 30000000 BM_DivideIntrinsic128SmallDivisor 32.7 32.6 23000000 BM_DivideIntrinsic128SmallDivisor<__int128> 33.4 33.4 21000000 BM_RemainderIntrinsic128SmallDivisor 31.1 31.1 22000000 BM_RemainderIntrinsic128SmallDivisor<__int128> 33.2 33.2 22000000 ``` My email: danilak at google.com, I don't have commit rights Reviewers: howard.hinnant, courbet, MaskRay Reviewed By: courbet Subscribers: steven.zhang, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D81809 From all-commits at lists.llvm.org Fri Jul 10 01:33:28 2020 From: all-commits at lists.llvm.org (Valeriy Savchenko via All-commits) Date: Fri, 10 Jul 2020 01:33:28 -0700 Subject: [all-commits] [llvm/llvm-project] 21bacc: [analyzer][tests] Measure peak memory consumption ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 21bacc215413d10df53a4690e9561e9b96698742 https://github.com/llvm/llvm-project/commit/21bacc215413d10df53a4690e9561e9b96698742 Author: Valeriy Savchenko Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/utils/analyzer/Dockerfile M clang/utils/analyzer/SATestBuild.py M clang/utils/analyzer/SATestUtils.py A clang/utils/analyzer/requirements.txt Log Message: ----------- [analyzer][tests] Measure peak memory consumption for every project Differential Revision: https://reviews.llvm.org/D82967 Commit: 9c7ff0a4aaef0a1efa33e9ff8a12a064087bded9 https://github.com/llvm/llvm-project/commit/9c7ff0a4aaef0a1efa33e9ff8a12a064087bded9 Author: Valeriy Savchenko Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/utils/analyzer/SATest.py Log Message: ----------- [analyzer][tests] Make test interruption safe Differential Revision: https://reviews.llvm.org/D83373 Commit: 00997d1cad9ecd40c92aeae40269f6bfb9e58d11 https://github.com/llvm/llvm-project/commit/00997d1cad9ecd40c92aeae40269f6bfb9e58d11 Author: Valeriy Savchenko Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/utils/analyzer/SATestBuild.py Log Message: ----------- [analyzer][tests] Fix zip unpacking Differential Revision: https://reviews.llvm.org/D83374 Compare: https://github.com/llvm/llvm-project/compare/68c011aa085a...00997d1cad9e From all-commits at lists.llvm.org Fri Jul 10 01:34:30 2020 From: all-commits at lists.llvm.org (Simon Pilgrim via All-commits) Date: Fri, 10 Jul 2020 01:34:30 -0700 Subject: [all-commits] [llvm/llvm-project] 77133c: [X86][AVX] Attempt to fold PACK(SHUFFLE(X, Y), SHUFF... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 77133cc1e2c91678082d2098b959757e72dfce60 https://github.com/llvm/llvm-project/commit/77133cc1e2c91678082d2098b959757e72dfce60 Author: Simon Pilgrim Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/Target/X86/X86ISelLowering.cpp M llvm/test/CodeGen/X86/avg.ll M llvm/test/CodeGen/X86/bitcast-and-setcc-512.ll M llvm/test/CodeGen/X86/packss.ll M llvm/test/CodeGen/X86/vector-compare-results.ll M llvm/test/CodeGen/X86/vector-pack-256.ll Log Message: ----------- [X86][AVX] Attempt to fold PACK(SHUFFLE(X,Y),SHUFFLE(X,Y)) -> SHUFFLE(PACK(X,Y)). Truncations lowered as shuffles of multiple (concatenated) vectors often leave us with lane-crossing shuffles that feed a PACKSS/PACKUS, if both shuffles are fed from the same 2 vector sources, then we can PACK the sources directly and shuffle the result instead. This is currently limited to whole i128 lanes in a 256-bit vector, but we can extend this if the need arises (but I'm not seeing many examples in real world code). From all-commits at lists.llvm.org Fri Jul 10 01:48:16 2020 From: all-commits at lists.llvm.org (Vitaly Buka via All-commits) Date: Fri, 10 Jul 2020 01:48:16 -0700 Subject: [all-commits] [llvm/llvm-project] c06417: Fix check-all with -DLLVM_USE_SANITIZER=Address Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c06417b24dfbfd62650ab05aff78e188b5d00681 https://github.com/llvm/llvm-project/commit/c06417b24dfbfd62650ab05aff78e188b5d00681 Author: Vitaly Buka Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/test/SemaTemplate/stack-exhaustion.cpp M compiler-rt/cmake/config-ix.cmake M llvm/test/tools/gold/lit.local.cfg Log Message: ----------- Fix check-all with -DLLVM_USE_SANITIZER=Address From all-commits at lists.llvm.org Fri Jul 10 02:25:20 2020 From: all-commits at lists.llvm.org (Simon Pilgrim via All-commits) Date: Fri, 10 Jul 2020 02:25:20 -0700 Subject: [all-commits] [llvm/llvm-project] 9a3e8b: extractConstantWithoutWrapping - use const APInt& ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9a3e8b11a8317b1a3d7440b0585b011cc9527494 https://github.com/llvm/llvm-project/commit/9a3e8b11a8317b1a3d7440b0585b011cc9527494 Author: Simon Pilgrim Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/Analysis/ScalarEvolution.cpp Log Message: ----------- extractConstantWithoutWrapping - use const APInt& returned by SCEVConstant::getAPInt() Avoids unnecessary APInt copies and silences clang tidy warning. From all-commits at lists.llvm.org Fri Jul 10 02:37:22 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?TWlya28gQnJrdcWhYW5pbg==?= via All-commits) Date: Fri, 10 Jul 2020 02:37:22 -0700 Subject: [all-commits] [llvm/llvm-project] cf40db: [AMDGPU][GlobalISel] Fix G_AMDGPU_TBUFFER_STORE_FO... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: cf40db21af489e3e5bc1c39cea855cc068c4ce48 https://github.com/llvm/llvm-project/commit/cf40db21af489e3e5bc1c39cea855cc068c4ce48 Author: Mirko Brkusanin Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp M llvm/lib/Target/AMDGPU/BUFInstructions.td A llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.tbuffer.store.f16.ll A llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.tbuffer.store.i8.ll A llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.tbuffer.store.ll Log Message: ----------- [AMDGPU][GlobalISel] Fix G_AMDGPU_TBUFFER_STORE_FORMAT mapping Add missing mappings and tablegen definitions for TBUFFER_STORE_FORMAT. Differential Revision: https://reviews.llvm.org/D83240 From all-commits at lists.llvm.org Fri Jul 10 02:37:51 2020 From: all-commits at lists.llvm.org (Florian Hahn via All-commits) Date: Fri, 10 Jul 2020 02:37:51 -0700 Subject: [all-commits] [llvm/llvm-project] 264ab1: [LV] Pick vector loop body as insert point for SCE... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 264ab1e2c815728ede5d1fce257abbd04044cc27 https://github.com/llvm/llvm-project/commit/264ab1e2c815728ede5d1fce257abbd04044cc27 Author: Florian Hahn Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp A llvm/test/Transforms/LoopVectorize/pr46525-expander-insertpoint.ll Log Message: ----------- [LV] Pick vector loop body as insert point for SCEV expansion. Currently the DomTree is not kept up to date for additional blocks generated in the vector loop, for example when vectorizing with predication. SCEVExpander relies on dominance checks when looking for existing instructions to re-use and in some cases that can lead to the expander picking instructions that do not actually dominate their insert point (e.g. as in PR46525). Unfortunately keeping the DT up-to-date is a bit tricky, because the CFG is only patched up after generating code for a block. For now, we can just use the vector loop header, as this ensures the inserted instructions dominate all uses in the vector loop. There should be no noticeable impact on the generated code, as other passes should sink those instructions, if profitable. Fixes PR46525. Reviewers: Ayal, gilr, mkazantsev, dmgreen Reviewed By: dmgreen Differential Revision: https://reviews.llvm.org/D83288 From all-commits at lists.llvm.org Fri Jul 10 02:42:58 2020 From: all-commits at lists.llvm.org (Haojian Wu via All-commits) Date: Fri, 10 Jul 2020 02:42:58 -0700 Subject: [all-commits] [llvm/llvm-project] 5f41ca: [clang-tidy] More strict on matching the standard ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 5f41ca48d1c46fc78958d47c0edfb2dbcde47217 https://github.com/llvm/llvm-project/commit/5f41ca48d1c46fc78958d47c0edfb2dbcde47217 Author: Haojian Wu Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang-tools-extra/clang-tidy/bugprone/SuspiciousMemsetUsageCheck.cpp M clang-tools-extra/test/clang-tidy/checkers/bugprone-suspicious-memset-usage.cpp Log Message: ----------- [clang-tidy] More strict on matching the standard memset function in memset-usage check. The check assumed the matched function call has 3 arguments, but the matcher didn't guaranteed that. Differential Revision: https://reviews.llvm.org/D83301 From all-commits at lists.llvm.org Fri Jul 10 02:57:39 2020 From: all-commits at lists.llvm.org (Pavel Labath via All-commits) Date: Fri, 10 Jul 2020 02:57:39 -0700 Subject: [all-commits] [llvm/llvm-project] d372a8: [lldb/pecoff] Use a different llvm createBinary ov... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: d372a8e8bce266bb4043e6a0bfd76c7e5bf457a5 https://github.com/llvm/llvm-project/commit/d372a8e8bce266bb4043e6a0bfd76c7e5bf457a5 Author: Pavel Labath Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp M lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h Log Message: ----------- [lldb/pecoff] Use a different llvm createBinary overload for parsing Change the code the use the version which accepts a memory buffer, instead of the one taking a file name. This ensures we are not loading the file into memory twice (ObjectFilePECOFF also loads a copy), reducing our memory footprint, as well as enabling additional goodies in the future, like being able to open files which don't exist on disk (D83512). From all-commits at lists.llvm.org Fri Jul 10 03:38:51 2020 From: all-commits at lists.llvm.org (paulwalker-arm via All-commits) Date: Fri, 10 Jul 2020 03:38:51 -0700 Subject: [all-commits] [llvm/llvm-project] f78e6a: [SVE] Code generation for fixed length vector trun... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f78e6a3095ca82d7621def46b2531b922a56e8f9 https://github.com/llvm/llvm-project/commit/f78e6a3095ca82d7621def46b2531b922a56e8f9 Author: Paul Walker Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp M llvm/lib/Target/AArch64/AArch64ISelLowering.h A llvm/test/CodeGen/AArch64/sve-fixed-length-trunc.ll Log Message: ----------- [SVE] Code generation for fixed length vector truncates. Lower fixed length vector truncates to a sequence of SVE UZP1 instructions. Differential Revision: https://reviews.llvm.org/D83395 From all-commits at lists.llvm.org Fri Jul 10 04:12:37 2020 From: all-commits at lists.llvm.org (David Stuttard via All-commits) Date: Fri, 10 Jul 2020 04:12:37 -0700 Subject: [all-commits] [llvm/llvm-project] 69a89b: [NFC] Change isFPPredicate comparison to ignore lo... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 69a89b54c62696d45731b48c26686cc4f9d652c6 https://github.com/llvm/llvm-project/commit/69a89b54c62696d45731b48c26686cc4f9d652c6 Author: dstuttar Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/include/llvm/IR/InstrTypes.h M llvm/lib/Target/AMDGPU/SIISelLowering.cpp Log Message: ----------- [NFC] Change isFPPredicate comparison to ignore lower bound Summary: Since changing the Predicate to be an unsigned enum, the lower bound check for isFPPredicate no longer needs to check the lower bound, since it will always evaluate to true. Also fixed a similar issue in SIISelLowering.cpp by removing the need for comparing to FIRST and LAST predicates Added an assert to the isFPPredicate comparison to flag if the FIRST_FCMP_PREDICATE is ever changed to anything other than 0, in which case the logic will break. Without this change warnings are generated in VS. Change-Id: I358f0daf28c0628c7bda8ad4cab4e1757b761bab Subscribers: arsenm, jvesely, nhaehnle, hiraditya, kerbowa, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83540 From all-commits at lists.llvm.org Fri Jul 10 04:14:06 2020 From: all-commits at lists.llvm.org (Simon Pilgrim via All-commits) Date: Fri, 10 Jul 2020 04:14:06 -0700 Subject: [all-commits] [llvm/llvm-project] 4cc26a: [X86][SSE] Use shouldUseHorizontalOp helper to det... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4cc26a44ca8b29abf9e73a1048e8a36ac87b1fa1 https://github.com/llvm/llvm-project/commit/4cc26a44ca8b29abf9e73a1048e8a36ac87b1fa1 Author: Simon Pilgrim Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/Target/X86/X86ISelLowering.cpp Log Message: ----------- [X86][SSE] Use shouldUseHorizontalOp helper to determine whether to use (F)HADD. NFCI. Commit: 9ce98312896c5c67adb3a137506758d2cac8bb37 https://github.com/llvm/llvm-project/commit/9ce98312896c5c67adb3a137506758d2cac8bb37 Author: Simon Pilgrim Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/Analysis/StackSafetyAnalysis.cpp Log Message: ----------- StackSafetyAnalysis.cpp - pass ConstantRange arg as const reference. Avoids unnecessary copies and silences clang tidy warning - we do this in most places, there are just a few that were missed. Compare: https://github.com/llvm/llvm-project/compare/69a89b54c626...9ce98312896c From all-commits at lists.llvm.org Fri Jul 10 04:27:32 2020 From: all-commits at lists.llvm.org (Nathan James via All-commits) Date: Fri, 10 Jul 2020 04:27:32 -0700 Subject: [all-commits] [llvm/llvm-project] a25487: [clang-tidy] Use Options priority in enum options ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a25487fd8cb91f99cfc1db1d4159184ac2a816a9 https://github.com/llvm/llvm-project/commit/a25487fd8cb91f99cfc1db1d4159184ac2a816a9 Author: Nathan James Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang-tools-extra/clang-tidy/ClangTidyCheck.cpp Log Message: ----------- [clang-tidy] Use Options priority in enum options where it was missing From all-commits at lists.llvm.org Fri Jul 10 04:48:31 2020 From: all-commits at lists.llvm.org (Simon Pilgrim via All-commits) Date: Fri, 10 Jul 2020 04:48:31 -0700 Subject: [all-commits] [llvm/llvm-project] b69e0f: DomTreeUpdater::dump() - use const auto& iterator ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b69e0f674fb5a05224fbe50cae9a9e4137a2c0e1 https://github.com/llvm/llvm-project/commit/b69e0f674fb5a05224fbe50cae9a9e4137a2c0e1 Author: Simon Pilgrim Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/Analysis/DomTreeUpdater.cpp Log Message: ----------- DomTreeUpdater::dump() - use const auto& iterator in for-range-loop. Avoids unnecessary copies and silences clang tidy warning. From all-commits at lists.llvm.org Fri Jul 10 05:01:41 2020 From: all-commits at lists.llvm.org (Ulrich Weigand via All-commits) Date: Fri, 10 Jul 2020 05:01:41 -0700 Subject: [all-commits] [llvm/llvm-project] 4c5a93: [ABI] Handle C++20 [[no_unique_address]] attribute Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4c5a93bd58bad70e91ac525b0e020bd5119a321a https://github.com/llvm/llvm-project/commit/4c5a93bd58bad70e91ac525b0e020bd5119a321a Author: Ulrich Weigand Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/lib/CodeGen/TargetInfo.cpp M clang/test/CodeGen/systemz-abi.cpp Log Message: ----------- [ABI] Handle C++20 [[no_unique_address]] attribute Many platform ABIs have special support for passing aggregates that either just contain a single member of floatint-point type, or else a homogeneous set of members of the same floating-point type. When making this determination, any extra "empty" members of the aggregate type will typically be ignored. However, in C++ (at least in all prior versions), no data member would actually count as empty, even if it's type is an empty record -- it would still be considered to take up at least one byte of space, and therefore make those ABI special cases not apply. This is now changing in C++20, which introduced the [[no_unique_address]] attribute. Members of empty record type, if they also carry this attribute, now do *not* take up any space in the type, and therefore the ABI special cases for single-element or homogeneous aggregates should apply. The C++ Itanium ABI has been updated accordingly, and GCC 10 has added support for this new case. This patch now adds support to LLVM. This is cross-platform; it affects all platforms that use the single-element or homogeneous aggregate ABI special case and implement this using any of the following common subroutines in lib/CodeGen/TargetInfo.cpp: isEmptyField isEmptyRecord isSingleElementStruct isHomogeneousAggregate From all-commits at lists.llvm.org Fri Jul 10 05:24:57 2020 From: all-commits at lists.llvm.org (Victor Huang via All-commits) Date: Fri, 10 Jul 2020 05:24:57 -0700 Subject: [all-commits] [llvm/llvm-project] 118366: [PowerPC] Implement R_PPC64_REL24_NOTOC calls, cal... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 118366dcb6c35239c1c816d109230d6f7f3660af https://github.com/llvm/llvm-project/commit/118366dcb6c35239c1c816d109230d6f7f3660af Author: Victor Huang Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M lld/ELF/Arch/PPC64.cpp A lld/test/ELF/Inputs/ppc64-callee-global-hidden.s A lld/test/ELF/ppc64-pcrel-call-to-pcrel.s Log Message: ----------- [PowerPC] Implement R_PPC64_REL24_NOTOC calls, callee also has no TOC The PC Relative code allows for calls that are marked with the relocation R_PPC64_REL24_NOTOC. This indicates that the caller does not have a valid TOC pointer in R2 and does not require R2 to be restored after the call. This patch is added to support local calls to callees tha also do not have a TOC. Reviewed By: sfertile, MaskRay, stefanp Differential Revision: https://reviews.llvm.org/D82816 From all-commits at lists.llvm.org Fri Jul 10 05:31:26 2020 From: all-commits at lists.llvm.org (Sam McCall via All-commits) Date: Fri, 10 Jul 2020 05:31:26 -0700 Subject: [all-commits] [llvm/llvm-project] 86f131: [clangd] Config: If.PathExclude Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 86f1313424fb578b0fd6c950d3ce7cb241f326ea https://github.com/llvm/llvm-project/commit/86f1313424fb578b0fd6c950d3ce7cb241f326ea Author: Sam McCall Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang-tools-extra/clangd/ConfigCompile.cpp M clang-tools-extra/clangd/ConfigFragment.h M clang-tools-extra/clangd/ConfigYAML.cpp M clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp Log Message: ----------- [clangd] Config: If.PathExclude Reviewers: hokein Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D83511 From all-commits at lists.llvm.org Fri Jul 10 05:44:18 2020 From: all-commits at lists.llvm.org (David Green via All-commits) Date: Fri, 10 Jul 2020 05:44:18 -0700 Subject: [all-commits] [llvm/llvm-project] e1135b: Revert "[BasicAA] Enable -basic-aa-recphi by default" Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e1135b486aaed207f87a6d2e890678ef133b816e https://github.com/llvm/llvm-project/commit/e1135b486aaed207f87a6d2e890678ef133b816e Author: David Green Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/Analysis/BasicAliasAnalysis.cpp M llvm/test/Analysis/BasicAA/phi-loop.ll M llvm/test/Analysis/BasicAA/recphi.ll Log Message: ----------- Revert "[BasicAA] Enable -basic-aa-recphi by default" This reverts commit af839a96187e3538d63ad57571e4bdf01e2b15c5. Some issues appear to be being caused by this. Reverting whilst we investigate. From all-commits at lists.llvm.org Fri Jul 10 05:50:59 2020 From: all-commits at lists.llvm.org (Kevin P. Neal via All-commits) Date: Fri, 10 Jul 2020 05:50:59 -0700 Subject: [all-commits] [llvm/llvm-project] d4ce86: Reland "[FPEnv][Clang][Driver] Disable constrained... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: d4ce862f2aa8b7e4b11462bd72014b08ab9468b3 https://github.com/llvm/llvm-project/commit/d4ce862f2aa8b7e4b11462bd72014b08ab9468b3 Author: Kevin P. Neal Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/docs/ClangCommandLineReference.rst M clang/include/clang/Basic/CodeGenOptions.def M clang/include/clang/Basic/DiagnosticFrontendKinds.td M clang/include/clang/Basic/DiagnosticGroups.td M clang/include/clang/Basic/LangOptions.def M clang/include/clang/Basic/TargetInfo.h M clang/include/clang/Driver/Options.td M clang/lib/Basic/TargetInfo.cpp M clang/lib/Basic/Targets/SystemZ.h M clang/lib/Basic/Targets/X86.h M clang/lib/Frontend/CompilerInstance.cpp M clang/lib/Frontend/CompilerInvocation.cpp M clang/test/CodeGen/aarch64-neon-misc-constrained.c M clang/test/CodeGen/aarch64-neon-scalar-x-indexed-elem-constrained.c M clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics-constrained.c M clang/test/CodeGen/arm-neon-directed-rounding-constrained.c M clang/test/CodeGen/arm64-vrnd-constrained.c M clang/test/CodeGen/builtins-ppc-fpconstrained.c A clang/test/CodeGen/fp-strictfp-exp.cpp A clang/test/CodeGen/fp-strictfp.cpp M clang/test/CodeGen/fpconstrained-cmp-double.c M clang/test/CodeGen/fpconstrained-cmp-float.c M clang/test/CodeGen/fpconstrained.c M clang/test/CodeGen/fpconstrained.cpp Log Message: ----------- Reland "[FPEnv][Clang][Driver] Disable constrained floating point on targets lacking support." We currently have strict floating point/constrained floating point enabled for all targets. Constrained SDAG nodes get converted to the regular ones before reaching the target layer. In theory this should be fine. However, the changes are exposed to users through multiple clang options already in use in the field, and the changes are _completely_ _untested_ on almost all of our targets. Bugs have already been found, like "https://bugs.llvm.org/show_bug.cgi?id=45274". This patch disables constrained floating point options in clang everywhere except X86 and SystemZ. A warning will be printed when this happens. Use the new -fexperimental-strict-floating-point flag to force allowing strict floating point on hosts that aren't already marked as supporting it (X86 and SystemZ). Differential Revision: https://reviews.llvm.org/D80952 From all-commits at lists.llvm.org Fri Jul 10 05:59:36 2020 From: all-commits at lists.llvm.org (Daniel Grumberg via All-commits) Date: Fri, 10 Jul 2020 05:59:36 -0700 Subject: [all-commits] [llvm/llvm-project] 0555db: Normalize default value for -triple correctly Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 0555db0a5df4d669ce4c2125668ec7a8a42fcd9d https://github.com/llvm/llvm-project/commit/0555db0a5df4d669ce4c2125668ec7a8a42fcd9d Author: Daniel Grumberg Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/include/clang/Driver/Options.td Log Message: ----------- Normalize default value for -triple correctly From all-commits at lists.llvm.org Fri Jul 10 06:34:59 2020 From: all-commits at lists.llvm.org (Nicolas Vasilache via All-commits) Date: Fri, 10 Jul 2020 06:34:59 -0700 Subject: [all-commits] [llvm/llvm-project] 22c8a0: [mlir][Vector] Fold chains of ExtractOp Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 22c8a08fd8a1487159564f74f24561964f6a6c97 https://github.com/llvm/llvm-project/commit/22c8a08fd8a1487159564f74f24561964f6a6c97 Author: Nicolas Vasilache Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M mlir/lib/Dialect/Vector/VectorOps.cpp M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir M mlir/test/Dialect/Vector/canonicalize.mlir M mlir/test/Dialect/Vector/vector-contract-transforms.mlir Log Message: ----------- [mlir][Vector] Fold chains of ExtractOp This revision adds folding to ExtractOp by simply concatenating the position attributes. From all-commits at lists.llvm.org Fri Jul 10 07:19:16 2020 From: all-commits at lists.llvm.org (Haojian Wu via All-commits) Date: Fri, 10 Jul 2020 07:19:16 -0700 Subject: [all-commits] [llvm/llvm-project] 015a0f: [clangd] Fix hover crash on InitListExpr. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 015a0faa5e9ef3095d521e1daf03fab9683ba028 https://github.com/llvm/llvm-project/commit/015a0faa5e9ef3095d521e1daf03fab9683ba028 Author: Haojian Wu Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang-tools-extra/clangd/Hover.cpp M clang-tools-extra/clangd/unittests/HoverTests.cpp Log Message: ----------- [clangd] Fix hover crash on InitListExpr. Fixes https://github.com/clangd/clangd/issues/455 Differential Revision: https://reviews.llvm.org/D83546 From all-commits at lists.llvm.org Fri Jul 10 07:29:59 2020 From: all-commits at lists.llvm.org (Nicolas Vasilache via All-commits) Date: Fri, 10 Jul 2020 07:29:59 -0700 Subject: [all-commits] [llvm/llvm-project] 56c638: [mlir][Linalg] Generalize Vectorization of Linalg ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 56c638b5c1caf018da3fa1a95b603267e607c89c https://github.com/llvm/llvm-project/commit/56c638b5c1caf018da3fa1a95b603267e607c89c Author: Nicolas Vasilache Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M mlir/include/mlir/IR/Attributes.h M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp M mlir/test/Dialect/Linalg/transform-patterns-matmul-to-vector.mlir M mlir/test/lib/Transforms/TestLinalgTransforms.cpp Log Message: ----------- [mlir][Linalg] Generalize Vectorization of Linalg contractions This revision adds support for vectorizing named and generic contraction ops to vector.contract. Cases in which the memref is 0-D are special cased to emit std.load/std.store instead of vector.transfer. Relevant tests are added. Differential revision: https://reviews.llvm.org/D83307 From all-commits at lists.llvm.org Fri Jul 10 07:34:44 2020 From: all-commits at lists.llvm.org (Kevin P. Neal via All-commits) Date: Fri, 10 Jul 2020 07:34:44 -0700 Subject: [all-commits] [llvm/llvm-project] 523a85: [FPEnv][Clang][Driver] Disable constrained floatin... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 523a8513f8ba4d6b111496c541b9ba9f4d5f0261 https://github.com/llvm/llvm-project/commit/523a8513f8ba4d6b111496c541b9ba9f4d5f0261 Author: Kevin P. Neal Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/test/CodeGen/fpconstrained-cmp-double.c M clang/test/CodeGen/fpconstrained-cmp-float.c Log Message: ----------- [FPEnv][Clang][Driver] Disable constrained floating point on targets lacking support." Use the new -fexperimental-strict-floating-point flag in more cases to fix the arm and aarch64 bots. Differential Revision: https://reviews.llvm.org/D80952 From all-commits at lists.llvm.org Fri Jul 10 07:50:05 2020 From: all-commits at lists.llvm.org (Roman Lebedev via All-commits) Date: Fri, 10 Jul 2020 07:50:05 -0700 Subject: [all-commits] [llvm/llvm-project] ef0ecb: [NFCI][InstCombine] PR46661: multiple stores eligi... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ef0ecb7b03332fd5076a7ea641eadf0d01cd32c0 https://github.com/llvm/llvm-project/commit/ef0ecb7b03332fd5076a7ea641eadf0d01cd32c0 Author: Roman Lebedev Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: A llvm/test/Transforms/InstCombine/merging-multiple-stores-into-successor.ll Log Message: ----------- [NFCI][InstCombine] PR46661: multiple stores eligible for merging into successor - worklist issue The testcase should pass with a single instcombine iteration. Commit: 2655a70a046b67abe3bca01059d8767030f6e1c9 https://github.com/llvm/llvm-project/commit/2655a70a046b67abe3bca01059d8767030f6e1c9 Author: Roman Lebedev Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp M llvm/test/Transforms/InstCombine/merging-multiple-stores-into-successor.ll Log Message: ----------- [InstCombine] After merging store into successor, queue prev. store to be visited (PR46661) We can happen to have a situation with many stores eligible for transform, but due to our visitation order (top to bottom), when we have processed the first eligible instruction, we would not try to reprocess the previous instructions that are now also eligible. So after we've successfully merged a store that was second-to-last instruction into successor, if the now-second-to-last instruction is also a such store that is eligible, add it to worklist to be revisited. Fixes https://bugs.llvm.org/show_bug.cgi?id=46661 Commit: 7103c87596efccd532e9fe04a6ba6a200fed8481 https://github.com/llvm/llvm-project/commit/7103c87596efccd532e9fe04a6ba6a200fed8481 Author: Roman Lebedev Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp Log Message: ----------- Reland "[InstCombine] Lower infinite combine loop detection thresholds"" This relands commit cd7f8051ac7b6f08734102446482c1e5d951bfcc that was reverted since lower threshold have successfully found an issue. Now that the issue is fixed, let's wait until the next one is reported. This reverts commit caa423eef0d128f35ac11ddbce34964caafb61c1. Compare: https://github.com/llvm/llvm-project/compare/523a8513f8ba...7103c87596ef From all-commits at lists.llvm.org Fri Jul 10 07:53:23 2020 From: all-commits at lists.llvm.org (Sam McCall via All-commits) Date: Fri, 10 Jul 2020 07:53:23 -0700 Subject: [all-commits] [llvm/llvm-project] 5fea54: [clangd] Update semanticTokens support to reflect ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 5fea54bc05a71e81e843fd9284d258cd38d7fe23 https://github.com/llvm/llvm-project/commit/5fea54bc05a71e81e843fd9284d258cd38d7fe23 Author: Sam McCall Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang-tools-extra/clangd/ClangdLSPServer.cpp M clang-tools-extra/clangd/ClangdLSPServer.h M clang-tools-extra/clangd/Protocol.cpp M clang-tools-extra/clangd/Protocol.h M clang-tools-extra/clangd/test/initialize-params.test M clang-tools-extra/clangd/test/semantic-tokens.test Log Message: ----------- [clangd] Update semanticTokens support to reflect latest LSP draft Summary: Mostly a few methods and message names have been renamed. Reviewers: hokein Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D83556 From all-commits at lists.llvm.org Fri Jul 10 07:58:57 2020 From: all-commits at lists.llvm.org (Alexandre Ganea via All-commits) Date: Fri, 10 Jul 2020 07:58:57 -0700 Subject: [all-commits] [llvm/llvm-project] 23cd70: [PDB] Fix out-of-bounds acces when sorting GSI buc... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 23cd70d71c10dc0b31ac37a733349f9de2e9b84c https://github.com/llvm/llvm-project/commit/23cd70d71c10dc0b31ac37a733349f9de2e9b84c Author: Alexandre Ganea Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp Log Message: ----------- [PDB] Fix out-of-bounds acces when sorting GSI buckets When building in Debug on Windows-MSVC after b7402edce315, a lot of tests were failing because we were dereferencing an element past the end of HashRecords. This happened towards the end of the table, in unused slots. From all-commits at lists.llvm.org Fri Jul 10 08:04:40 2020 From: all-commits at lists.llvm.org (Joel E. Denny via All-commits) Date: Fri, 10 Jul 2020 08:04:40 -0700 Subject: [all-commits] [llvm/llvm-project] bce8fc: [FileCheck] Implement -dump-input-context Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: bce8fced41b96260a42dfbb254240a49769fafa9 https://github.com/llvm/llvm-project/commit/bce8fced41b96260a42dfbb254240a49769fafa9 Author: Joel E. Denny Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/test/FileCheck/dump-input-annotations.txt A llvm/test/FileCheck/dump-input-context.txt M llvm/test/FileCheck/dump-input-enable.txt A llvm/test/FileCheck/dump-input-filter.txt M llvm/utils/FileCheck/FileCheck.cpp Log Message: ----------- [FileCheck] Implement -dump-input-context This patch is motivated by discussions at each of: * * When input is dumped as specified by `-dump-input=fail`, this patch filters the dump to show only input lines that are the starting lines of error diagnostics plus the number of contextual lines specified `-dump-input-context` (defaults to 5). When `-dump-input=always`, there might be not be any errors, so all input lines are printed, as without this patch. Here's some sample output with `-dump-input-context=3 -vv`: ``` <<<<<< . . . 13: foo 14: foo 15: hello world check:1 ^~~~~~~~~~~ 16: foo check:2'0 X~~ error: no match found 17: foo check:2'0 ~~~ 18: foo check:2'0 ~~~ 19: foo check:2'0 ~~~ . . . 27: foo check:2'0 ~~~ 28: foo check:2'0 ~~~ 29: foo check:2'0 ~~~ 30: goodbye word check:2'0 ~~~~~~~~~~~~ check:2'1 ? possible intended match 31: foo check:2'0 ~~~ 32: foo check:2'0 ~~~ 33: foo check:2'0 ~~~ . . . >>>>>> ``` Reviewed By: mehdi_amini, arsenm, jhenderson, rsmith, SjoerdMeijer, Meinersbur, lattner Differential Revision: https://reviews.llvm.org/D82203 Commit: 77b6ddf1bd77da90407316345156415dc646e744 https://github.com/llvm/llvm-project/commit/77b6ddf1bd77da90407316345156415dc646e744 Author: Joel E. Denny Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/test/FileCheck/dump-input-context.txt M llvm/utils/FileCheck/FileCheck.cpp Log Message: ----------- [FileCheck] In input dump, elide only if ellipsis is shorter For example, given `-dump-input-context=3 -vv`, the following now shows more leading context for the error than requested because a leading ellipsis would occupy the same number of lines as it would elide: ``` <<<<<< 1: foo6 2: foo5 3: foo4 4: foo3 5: foo2 6: foo1 7: hello world check:1 ^~~~~ check:2 X~~~~ error: no match found 8: foo1 check:2 ~~~~ 9: foo2 check:2 ~~~~ 10: foo3 check:2 ~~~~ . . . >>>>>> ``` Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D83526 Commit: 9fd4b5faacbdfb887389c9ac246efa23be1cd334 https://github.com/llvm/llvm-project/commit/9fd4b5faacbdfb887389c9ac246efa23be1cd334 Author: Joel E. Denny Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/test/FileCheck/dump-input-filter.txt M llvm/utils/FileCheck/FileCheck.cpp Log Message: ----------- [FileCheck] Implement -dump-input-filter This makes the input dump filtering implemented by D82203 more configurable. D82203 enables filtering out everything but the initial input lines of error diagnostics (plus some context). This patch enables including any line with any kind of annotation. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D83097 Compare: https://github.com/llvm/llvm-project/compare/23cd70d71c10...9fd4b5faacbd From all-commits at lists.llvm.org Fri Jul 10 08:11:31 2020 From: all-commits at lists.llvm.org (Nicolas Vasilache via All-commits) Date: Fri, 10 Jul 2020 08:11:31 -0700 Subject: [all-commits] [llvm/llvm-project] a490d3: [mlir][Vector] Add ExtractOp folding when fed by a... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a490d387e6e6085b35a6850581b62db3d2d47009 https://github.com/llvm/llvm-project/commit/a490d387e6e6085b35a6850581b62db3d2d47009 Author: Nicolas Vasilache Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M mlir/include/mlir/IR/AffineMap.h M mlir/lib/Dialect/Vector/VectorOps.cpp M mlir/lib/IR/AffineMap.cpp M mlir/test/Dialect/Vector/canonicalize.mlir Log Message: ----------- [mlir][Vector] Add ExtractOp folding when fed by a TransposeOp TransposeOp are often followed by ExtractOp. In certain cases however, it is unnecessary (and even detrimental) to lower a TransposeOp to either a flat transpose (llvm.matrix intrinsics) or to unrolled scalar insert / extract chains. Providing foldings of ExtractOp mitigates some of the unnecessary complexity. Differential revision: https://reviews.llvm.org/D83487 From all-commits at lists.llvm.org Fri Jul 10 08:29:12 2020 From: all-commits at lists.llvm.org (RotateRight via All-commits) Date: Fri, 10 Jul 2020 08:29:12 -0700 Subject: [all-commits] [llvm/llvm-project] 02fec9: [DAGCombiner] move/rename variables for readabilit... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 02fec9d2a5f4a6f169bcf2e850eb244fb919309f https://github.com/llvm/llvm-project/commit/02fec9d2a5f4a6f169bcf2e850eb244fb919309f Author: Sanjay Patel Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Log Message: ----------- [DAGCombiner] move/rename variables for readability; NFC From all-commits at lists.llvm.org Fri Jul 10 08:29:15 2020 From: all-commits at lists.llvm.org (RotateRight via All-commits) Date: Fri, 10 Jul 2020 08:29:15 -0700 Subject: [all-commits] [llvm/llvm-project] d84b4e: [AArch64][x86] add tests for rotated store merge; NFC Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: d84b4e163da7fba26594f960fca10fa31f7c611a https://github.com/llvm/llvm-project/commit/d84b4e163da7fba26594f960fca10fa31f7c611a Author: Sanjay Patel Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/test/CodeGen/AArch64/merge-store-dependency.ll M llvm/test/CodeGen/X86/stores-merging.ll Log Message: ----------- [AArch64][x86] add tests for rotated store merge; NFC From all-commits at lists.llvm.org Fri Jul 10 08:33:30 2020 From: all-commits at lists.llvm.org (Florian Hahn via All-commits) Date: Fri, 10 Jul 2020 08:33:30 -0700 Subject: [all-commits] [llvm/llvm-project] eb5c7f: [ARM] Add test with tcreturn and debug value. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: eb5c7f6b8fe0e66bbbc2aa23cc899fa11b750030 https://github.com/llvm/llvm-project/commit/eb5c7f6b8fe0e66bbbc2aa23cc899fa11b750030 Author: Florian Hahn Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: A llvm/test/CodeGen/ARM/dbg-tcreturn.ll Log Message: ----------- [ARM] Add test with tcreturn and debug value. In the attached test case, a non-terminator instruction (DBG_VALUE) is inserted after a terminator, producing an invalid MBB. From all-commits at lists.llvm.org Fri Jul 10 08:40:47 2020 From: all-commits at lists.llvm.org (Florian Hahn via All-commits) Date: Fri, 10 Jul 2020 08:40:47 -0700 Subject: [all-commits] [llvm/llvm-project] ec00aa: [DomTreeUpdater] Use const auto * when iterating o... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ec00aa99dd4cd46c328219cffefcfdf8a8bd53a0 https://github.com/llvm/llvm-project/commit/ec00aa99dd4cd46c328219cffefcfdf8a8bd53a0 Author: Florian Hahn Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/Analysis/DomTreeUpdater.cpp Log Message: ----------- [DomTreeUpdater] Use const auto * when iterating over pointers (NFC). This silences the warning below: llvm-project/llvm/lib/Analysis/DomTreeUpdater.cpp:510:20: warning: loop variable 'BB' is always a copy because the range of type 'const SmallPtrSet' does not return a reference [-Wrange-loop-analysis] for (const auto &BB : DeletedBBs) { ^ llvm-project/llvm/lib/Analysis/DomTreeUpdater.cpp:510:8: note: use non-reference type 'llvm::BasicBlock *' for (const auto &BB : DeletedBBs) { ^~~~~~~~~~~~~~~~ 1 warning generated. From all-commits at lists.llvm.org Fri Jul 10 08:41:33 2020 From: all-commits at lists.llvm.org (Johannes Doerfert via All-commits) Date: Fri, 10 Jul 2020 08:41:33 -0700 Subject: [all-commits] [llvm/llvm-project] 43d8d5: [Attributor][NFC] Update tests after recent changes Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 43d8d59d6d2c03165a219022430e3b1cbf6351a2 https://github.com/llvm/llvm-project/commit/43d8d59d6d2c03165a219022430e3b1cbf6351a2 Author: Johannes Doerfert Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/test/Transforms/Attributor/ArgumentPromotion/2008-02-01-ReturnAttrs.ll M llvm/test/Transforms/Attributor/ArgumentPromotion/X86/attributes.ll M llvm/test/Transforms/Attributor/ArgumentPromotion/X86/min-legal-vector-width.ll M llvm/test/Transforms/Attributor/ArgumentPromotion/alignment.ll M llvm/test/Transforms/Attributor/ArgumentPromotion/basictest.ll M llvm/test/Transforms/Attributor/ArgumentPromotion/byval.ll M llvm/test/Transforms/Attributor/ArgumentPromotion/control-flow2.ll M llvm/test/Transforms/Attributor/ArgumentPromotion/crash.ll M llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead.ll M llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead_2.ll M llvm/test/Transforms/Attributor/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll M llvm/test/Transforms/Attributor/ArgumentPromotion/profile.ll M llvm/test/Transforms/Attributor/ArgumentPromotion/sret.ll M llvm/test/Transforms/Attributor/IPConstantProp/dangling-block-address.ll M llvm/test/Transforms/Attributor/IPConstantProp/pthreads.ll M llvm/test/Transforms/Attributor/IPConstantProp/return-argument.ll M llvm/test/Transforms/Attributor/heap_to_stack.ll M llvm/test/Transforms/Attributor/internal-noalias.ll M llvm/test/Transforms/Attributor/liveness.ll M llvm/test/Transforms/Attributor/memory_locations.ll M llvm/test/Transforms/Attributor/misc_crash.ll M llvm/test/Transforms/Attributor/readattrs.ll M llvm/test/Transforms/Attributor/undefined_behavior.ll M llvm/test/Transforms/Attributor/value-simplify.ll Log Message: ----------- [Attributor][NFC] Update tests after recent changes Attributor tests are mostly updated using the auto upgrade scripts but sometimes we forget. If we do it manually or continue using old check lines that still match we see unrelated changes down the line. This is just a cleanup. From all-commits at lists.llvm.org Fri Jul 10 08:45:27 2020 From: all-commits at lists.llvm.org (Florian Hahn via All-commits) Date: Fri, 10 Jul 2020 08:45:27 -0700 Subject: [all-commits] [llvm/llvm-project] 864586: [ARM] Pass -verify-machineinstr to test and XFAIL ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 864586d0fd7df8efb2ac1f85ad1122e9a8fae349 https://github.com/llvm/llvm-project/commit/864586d0fd7df8efb2ac1f85ad1122e9a8fae349 Author: Florian Hahn Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/test/CodeGen/ARM/dbg-tcreturn.ll Log Message: ----------- [ARM] Pass -verify-machineinstr to test and XFAIL until fixed. Some bots run with -verify-machineinstr enabled. Add it to the new test and XFAIL it until fixed. From all-commits at lists.llvm.org Fri Jul 10 08:55:36 2020 From: all-commits at lists.llvm.org (Daniel Grumberg via All-commits) Date: Fri, 10 Jul 2020 08:55:36 -0700 Subject: [all-commits] [llvm/llvm-project] 3607aa: Delete CC1Options.td, since it should have happene... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 3607aacc59817f76bffb9b567f128871340d54d2 https://github.com/llvm/llvm-project/commit/3607aacc59817f76bffb9b567f128871340d54d2 Author: Daniel Grumberg Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: R clang/include/clang/Driver/CC1Options.td Log Message: ----------- Delete CC1Options.td, since it should have happened in D82574 From all-commits at lists.llvm.org Fri Jul 10 09:01:10 2020 From: all-commits at lists.llvm.org (Roman Lebedev via All-commits) Date: Fri, 10 Jul 2020 09:01:10 -0700 Subject: [all-commits] [llvm/llvm-project] 1d542f: Revert "[OpenMPOpt] ICV Tracking" Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1d542f0ca83fa1411d6501a8d088450d83abd5b8 https://github.com/llvm/llvm-project/commit/1d542f0ca83fa1411d6501a8d088450d83abd5b8 Author: Roman Lebedev Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/include/llvm/Transforms/IPO/Attributor.h M llvm/lib/Transforms/IPO/OpenMPOpt.cpp M llvm/test/Transforms/OpenMP/icv_tracking.ll Log Message: ----------- Revert "[OpenMPOpt] ICV Tracking" There appears to be some kind of memory corruption/use-after-free/etc going on here. In particular, in `OpenMPOpt::deleteParallelRegions()`, in `DeleteCallCB()`, `CI` is garbage. WIll post reproducer in the original review. This reverts commit 6c4a5e9257bac022ffe60e466686ba7fc96ffd1a. From all-commits at lists.llvm.org Fri Jul 10 09:05:13 2020 From: all-commits at lists.llvm.org (ZequanWu via All-commits) Date: Fri, 10 Jul 2020 09:05:13 -0700 Subject: [all-commits] [llvm/llvm-project] 1fbb71: [LPM] Port CGProfilePass from NPM to LPM Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1fbb719470c6e0395abaab66c68fae3b8ae405d0 https://github.com/llvm/llvm-project/commit/1fbb719470c6e0395abaab66c68fae3b8ae405d0 Author: Zequan Wu Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/include/clang/Basic/CodeGenOptions.def M clang/lib/CodeGen/BackendUtil.cpp M clang/lib/Frontend/CompilerInvocation.cpp M llvm/include/llvm/InitializePasses.h M llvm/include/llvm/Transforms/IPO.h M llvm/include/llvm/Transforms/IPO/PassManagerBuilder.h M llvm/include/llvm/Transforms/Instrumentation/CGProfile.h M llvm/lib/Passes/PassBuilder.cpp M llvm/lib/Transforms/IPO/PassManagerBuilder.cpp M llvm/lib/Transforms/Instrumentation/CGProfile.cpp M llvm/lib/Transforms/Instrumentation/Instrumentation.cpp M llvm/test/CodeGen/AMDGPU/opt-pipeline.ll M llvm/test/Instrumentation/cgprofile.ll R llvm/test/Other/new-pm-cgprofile.ll M llvm/test/Other/opt-O2-pipeline.ll M llvm/test/Other/opt-O3-pipeline.ll M llvm/test/Other/opt-Os-pipeline.ll Log Message: ----------- [LPM] Port CGProfilePass from NPM to LPM Reviewers: hans, chandlerc!, asbirlea, nikic Reviewed By: hans, nikic Subscribers: steven_wu, dexonsmith, nikic, echristo, void, zhizhouy, cfe-commits, aeubanks, MaskRay, jvesely, nhaehnle, hiraditya, kerbowa, llvm-commits Tags: #llvm, #clang Differential Revision: https://reviews.llvm.org/D83013 From all-commits at lists.llvm.org Fri Jul 10 09:05:54 2020 From: all-commits at lists.llvm.org (ZequanWu via All-commits) Date: Fri, 10 Jul 2020 09:05:54 -0700 Subject: [all-commits] [llvm/llvm-project] dcd76c: [Lexer] Fix missing coverage line after #endif Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: dcd76c0c0716a4417110423718c7cae4b516b4d0 https://github.com/llvm/llvm-project/commit/dcd76c0c0716a4417110423718c7cae4b516b4d0 Author: Zequan Wu Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang-tools-extra/clangd/SemanticHighlighting.cpp M clang/lib/Lex/PPDirectives.cpp M clang/test/CoverageMapping/preprocessor.c Log Message: ----------- [Lexer] Fix missing coverage line after #endif Summary: bug reported here: https://bugs.llvm.org/show_bug.cgi?id=46660 Reviewers: vsk, efriedma, arphaman Reviewed By: vsk Subscribers: dexonsmith, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D83514 From all-commits at lists.llvm.org Fri Jul 10 09:09:46 2020 From: all-commits at lists.llvm.org (Zhang Kang via All-commits) Date: Fri, 10 Jul 2020 09:09:46 -0700 Subject: [all-commits] [llvm/llvm-project] e5123e: [NFC][PowerPC] Add a new MIR file to test mi-peep... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e5123ea248eb460c6695dc28ed2f1cc53495356b https://github.com/llvm/llvm-project/commit/e5123ea248eb460c6695dc28ed2f1cc53495356b Author: Kang Zhang Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: A llvm/test/CodeGen/PowerPC/mi-peephole.mir Log Message: ----------- [NFC][PowerPC] Add a new MIR file to test mi-peephole pass From all-commits at lists.llvm.org Fri Jul 10 09:21:35 2020 From: all-commits at lists.llvm.org (Eduardo Caldas via All-commits) Date: Fri, 10 Jul 2020 09:21:35 -0700 Subject: [all-commits] [llvm/llvm-project] f33c2c: Fix crash on `user defined literals` Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f33c2c27a8d4ea831aa7c2c2649066be91318d85 https://github.com/llvm/llvm-project/commit/f33c2c27a8d4ea831aa7c2c2649066be91318d85 Author: Eduardo Caldas Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/include/clang/Tooling/Syntax/Nodes.h M clang/lib/Tooling/Syntax/BuildTree.cpp M clang/lib/Tooling/Syntax/Nodes.cpp M clang/unittests/Tooling/Syntax/TreeTest.cpp Log Message: ----------- Fix crash on `user defined literals` Summary: Given an UserDefinedLiteral `1.2_w`: Problem: Lexer generates one Token for the literal, but ClangAST references two source locations Fix: Ignore the operator and interpret it as the underlying literal. e.g.: `1.2_w` token generates syntax node IntegerLiteral(1.2_w) Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82157 Commit: 1db5b348c4c93b6610afb4fd515b389989efc302 https://github.com/llvm/llvm-project/commit/1db5b348c4c93b6610afb4fd515b389989efc302 Author: Eduardo Caldas Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/include/clang/Tooling/Syntax/Nodes.h M clang/lib/Tooling/Syntax/BuildTree.cpp M clang/lib/Tooling/Syntax/Nodes.cpp M clang/unittests/Tooling/Syntax/TreeTest.cpp Log Message: ----------- Add kinded UDL for raw literal operator and numeric literal operator template Commit: a474d5bae4773782d50d4a5a62300c0f4a2dff28 https://github.com/llvm/llvm-project/commit/a474d5bae4773782d50d4a5a62300c0f4a2dff28 Author: Eduardo Caldas Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/lib/Tooling/Syntax/BuildTree.cpp Log Message: ----------- Use FileRange::text instead of Lexer::getSpelling * as we are using them only for integer and floating literals they have the same behavior * FileRange::text is simpler to call and is within the context of syntax trees Compare: https://github.com/llvm/llvm-project/compare/e5123ea248eb...a474d5bae477 From all-commits at lists.llvm.org Fri Jul 10 09:37:46 2020 From: all-commits at lists.llvm.org (Saleem Abdulrasool via All-commits) Date: Fri, 10 Jul 2020 09:37:46 -0700 Subject: [all-commits] [llvm/llvm-project] aa7a5a: repair standalone clang builds Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: aa7a5ad56b6028e0963e1a8d45b4e82f3f6bc70e https://github.com/llvm/llvm-project/commit/aa7a5ad56b6028e0963e1a8d45b4e82f3f6bc70e Author: Saleem Abdulrasool Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/CMakeLists.txt Log Message: ----------- repair standalone clang builds Add missing C++ language standard setup for clang standalone build. Patch by Michele Scandale! Differential Revision: https://reviews.llvm.org/D83426 From all-commits at lists.llvm.org Fri Jul 10 09:55:53 2020 From: all-commits at lists.llvm.org (Daniel Grumberg via All-commits) Date: Fri, 10 Jul 2020 09:55:53 -0700 Subject: [all-commits] [llvm/llvm-project] a2cffb: Remove clang options that were added back when mer... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a2cffb11e287f0e35685ac404400edab12cae51e https://github.com/llvm/llvm-project/commit/a2cffb11e287f0e35685ac404400edab12cae51e Author: Daniel Grumberg Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/include/clang/Driver/Options.td Log Message: ----------- Remove clang options that were added back when merging the TableGen files From all-commits at lists.llvm.org Fri Jul 10 10:02:22 2020 From: all-commits at lists.llvm.org (Sergej Jaskiewicz via All-commits) Date: Fri, 10 Jul 2020 10:02:22 -0700 Subject: [all-commits] [llvm/llvm-project] 979c50: Revert "[compiler-rt] [test] Use the parent proces... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 979c5023d3f0656cf51bd645936f52acd62b0333 https://github.com/llvm/llvm-project/commit/979c5023d3f0656cf51bd645936f52acd62b0333 Author: Sergej Jaskiewicz Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M compiler-rt/test/lit.common.cfg.py Log Message: ----------- Revert "[compiler-rt] [test] Use the parent process env as base env in tests" This reverts commit 5ab446cfe5503fd4431a94db4d741cf3b5fdcd15. That commit caused memory sanitizer test failures on PowerPC buildbots From all-commits at lists.llvm.org Fri Jul 10 10:14:58 2020 From: all-commits at lists.llvm.org (Benjamin Kramer via All-commits) Date: Fri, 10 Jul 2020 10:14:58 -0700 Subject: [all-commits] [llvm/llvm-project] b887da: [CGProfile] Fix layering, IPO depends in Instrumen... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b887da81cc179575932302b87ae8dc7d3f5e3690 https://github.com/llvm/llvm-project/commit/b887da81cc179575932302b87ae8dc7d3f5e3690 Author: Benjamin Kramer Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/include/llvm/Transforms/IPO.h M llvm/include/llvm/Transforms/Instrumentation.h M llvm/lib/Transforms/Instrumentation/CGProfile.cpp Log Message: ----------- [CGProfile] Fix layering, IPO depends in Instrumentation. From all-commits at lists.llvm.org Fri Jul 10 10:24:53 2020 From: all-commits at lists.llvm.org (Luke Geeson via All-commits) Date: Fri, 10 Jul 2020 10:24:53 -0700 Subject: [all-commits] [llvm/llvm-project] 954db6: [ARM] Add Cortex-A78 and Cortex-X1 Support for Cla... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 954db63cd149df031d9b660bf68f0fe1de1defb9 https://github.com/llvm/llvm-project/commit/954db63cd149df031d9b660bf68f0fe1de1defb9 Author: Luke Geeson Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/test/Driver/aarch64-cpus.c M clang/test/Driver/arm-cortex-cpus.c M llvm/include/llvm/Support/AArch64TargetParser.def M llvm/include/llvm/Support/ARMTargetParser.def M llvm/lib/Support/Host.cpp M llvm/lib/Target/AArch64/AArch64.td M llvm/lib/Target/AArch64/AArch64Subtarget.cpp M llvm/lib/Target/AArch64/AArch64Subtarget.h M llvm/lib/Target/ARM/ARM.td M llvm/lib/Target/ARM/ARMSubtarget.cpp M llvm/lib/Target/ARM/ARMSubtarget.h M llvm/test/CodeGen/AArch64/cpus.ll M llvm/test/CodeGen/AArch64/remat.ll M llvm/test/MC/AArch64/armv8.2a-dotprod.s M llvm/test/MC/ARM/armv8.2a-dotprod-a32.s M llvm/test/MC/ARM/armv8.2a-dotprod-t32.s M llvm/test/MC/Disassembler/AArch64/armv8.3a-rcpc.txt M llvm/unittests/Support/TargetParserTest.cpp Log Message: ----------- [ARM] Add Cortex-A78 and Cortex-X1 Support for Clang and LLVM This patch upstreams support for the Arm-v8 Cortex-A78 and Cortex-X1 processors for AArch64 and ARM. In detail: - Adding cortex-a78 and cortex-x1 as cpu options for aarch64 and arm targets in clang - Adding Cortex-A78 and Cortex-X1 CPU names and ProcessorModels in llvm details of the CPU can be found here: https://www.arm.com/products/cortex-x https://www.arm.com/products/silicon-ip-cpu/cortex-a/cortex-a78 The following people contributed to this patch: - Luke Geeson - Mikhail Maltsev Reviewers: t.p.northover, dmgreen Reviewed By: dmgreen Subscribers: dmgreen, kristof.beyls, hiraditya, danielkiss, cfe-commits, llvm-commits, miyuki Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D83206 From all-commits at lists.llvm.org Fri Jul 10 10:42:54 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Fri, 10 Jul 2020 10:42:54 -0700 Subject: [all-commits] [llvm/llvm-project] 1cf6f2: [IR] Disable select ? C : undef -> C fold in Const... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1cf6f210a2ed87dcda2183fffd6f9aa17b5c493c https://github.com/llvm/llvm-project/commit/1cf6f210a2ed87dcda2183fffd6f9aa17b5c493c Author: Craig Topper Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/IR/ConstantFold.cpp M llvm/test/Transforms/InferAddressSpaces/AMDGPU/select.ll M llvm/test/Transforms/InstSimplify/select.ll Log Message: ----------- [IR] Disable select ? C : undef -> C fold in ConstantFoldSelectInstruction unless we know C isn't poison. This matches the recent change to InstSimplify from D83440. Differential Revision: https://reviews.llvm.org/D83535 From all-commits at lists.llvm.org Fri Jul 10 10:59:55 2020 From: all-commits at lists.llvm.org (Alexandre Ganea via All-commits) Date: Fri, 10 Jul 2020 10:59:55 -0700 Subject: [all-commits] [llvm/llvm-project] add59e: Re-land [CodeView] Add full repro to LF_BUILDINFO ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: add59ecb34e3003311b7e2318b16a0ef10c76d79 https://github.com/llvm/llvm-project/commit/add59ecb34e3003311b7e2318b16a0ef10c76d79 Author: Alexandre Ganea Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: A clang/test/CodeGen/debug-info-codeview-buildinfo.c M lld/COFF/PDB.cpp M lld/test/COFF/Inputs/pdb_lines_1_relative.yaml M lld/test/COFF/Inputs/pdb_lines_2_relative.yaml M lld/test/COFF/pdb-relative-source-lines.test A lld/test/COFF/pdb-relative-source-lines2.test M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp M llvm/test/DebugInfo/COFF/build-info.ll M llvm/test/DebugInfo/COFF/global-type-hashes.ll M llvm/test/DebugInfo/COFF/types-basic.ll M llvm/test/DebugInfo/COFF/types-data-members.ll Log Message: ----------- Re-land [CodeView] Add full repro to LF_BUILDINFO record This patch adds some missing information to the LF_BUILDINFO which allows for rebuilding an .OBJ without any external dependency but the .OBJ itself (other than the compiler executable). Some tools need this information to reproduce a build without any knowledge of the build system. The LF_BUILDINFO therefore stores a full path to the compiler, the PWD (which is the CWD at program startup), a relative or absolute path to the TU, and the full CC1 command line. The command line needs to be freestanding (not depend on any environment variable). In the same way, MSVC doesn't store the provided command-line, but an expanded version (somehow their equivalent of CC1) which is also freestanding. For more information see PR36198 and D43002. Differential Revision: https://reviews.llvm.org/D80833 From all-commits at lists.llvm.org Fri Jul 10 11:05:43 2020 From: all-commits at lists.llvm.org (Anastasia Stulova via All-commits) Date: Fri, 10 Jul 2020 11:05:43 -0700 Subject: [all-commits] [llvm/llvm-project] 8c8a2f: [OpenCL] Fixed typo for ctor stub name in UsersManual Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 8c8a2fd1f015525d048444610a6e27c66aa96293 https://github.com/llvm/llvm-project/commit/8c8a2fd1f015525d048444610a6e27c66aa96293 Author: Anastasia Stulova Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/docs/UsersManual.rst Log Message: ----------- [OpenCL] Fixed typo for ctor stub name in UsersManual From all-commits at lists.llvm.org Fri Jul 10 11:12:32 2020 From: all-commits at lists.llvm.org (jimingham via All-commits) Date: Fri, 10 Jul 2020 11:12:32 -0700 Subject: [all-commits] [llvm/llvm-project] e33735: This is a refinement on 96601ec28b7efe5abf3479a1aa... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e337350be9d6efd72027c331f95ef33df61fdc43 https://github.com/llvm/llvm-project/commit/e337350be9d6efd72027c331f95ef33df61fdc43 Author: Jim Ingham Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M lldb/include/lldb/Core/ValueObject.h M lldb/include/lldb/Core/ValueObjectVariable.h M lldb/source/Core/ValueObject.cpp M lldb/source/Core/ValueObjectVariable.cpp Log Message: ----------- This is a refinement on 96601ec28b7efe5abf3479a1aa91bcedb235bbbd. The intent of that change was to do the same work for the computation of the locations of the children of ValueObjectVariable as was done for the root ValueObjectVariable. This original patch did that by moving the computation from ValueObjectVariable to ValueObject. That fixed the problem but caused a handful of swift-lldb testsuite failures and a crash or two. The problem is that synthetic value objects can sometimes represent objects in target memory, and other times they might be made up wholly in lldb memory, with pointers from one synthetic object to another, and so the ValueObjectVariable computation was not appropriate. This patch delegates the computation to the root of the ValueObject in question. That solves the problem for ValueObjectVariable while not messing up the computation for ValueObjectConstResult or ValueObjectSynthetic. Differential Revision: https://reviews.llvm.org/D83450 From all-commits at lists.llvm.org Fri Jul 10 11:19:34 2020 From: all-commits at lists.llvm.org (Davide Italiano via All-commits) Date: Fri, 10 Jul 2020 11:19:34 -0700 Subject: [all-commits] [llvm/llvm-project] fdb785: Revert "[NFC] Derive from PassInfoMixin for no-op/... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: fdb7856d54a1f81bab0ac0c8a4e984620589e699 https://github.com/llvm/llvm-project/commit/fdb7856d54a1f81bab0ac0c8a4e984620589e699 Author: Davide Italiano Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/include/llvm/IR/IRPrintingPasses.h M llvm/lib/IR/LegacyPassManager.cpp M llvm/lib/Passes/PassBuilder.cpp Log Message: ----------- Revert "[NFC] Derive from PassInfoMixin for no-op/printing passes" This reverts commit 8039d2c3bf14585ef37dc9343bf393ecad9aead9 as it breaks the modules build on macOS. From all-commits at lists.llvm.org Fri Jul 10 11:28:07 2020 From: all-commits at lists.llvm.org (Lei Huang via All-commits) Date: Fri, 10 Jul 2020 18:28:07 +0000 (UTC) Subject: [all-commits] [llvm/llvm-project] 90b1a7: [PowerPC] Enable default support of quad precision... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 90b1a710aede2b276cda47538142fef6f5253361 https://github.com/llvm/llvm-project/commit/90b1a710aede2b276cda47538142fef6f5253361 Author: Lei Huang Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/Target/PowerPC/PPCISelLowering.cpp M llvm/test/CodeGen/PowerPC/builtins-ppc-p9-f128.ll M llvm/test/CodeGen/PowerPC/constant-pool.ll M llvm/test/CodeGen/PowerPC/f128-aggregates.ll M llvm/test/CodeGen/PowerPC/f128-arith.ll M llvm/test/CodeGen/PowerPC/f128-bitcast.ll M llvm/test/CodeGen/PowerPC/f128-compare.ll M llvm/test/CodeGen/PowerPC/f128-conv.ll M llvm/test/CodeGen/PowerPC/f128-fma.ll M llvm/test/CodeGen/PowerPC/f128-passByValue.ll M llvm/test/CodeGen/PowerPC/f128-rounding.ll M llvm/test/CodeGen/PowerPC/f128-truncateNconv.ll M llvm/test/CodeGen/PowerPC/f128-vecExtractNconv.ll M llvm/test/CodeGen/PowerPC/float-load-store-pair.ll M llvm/test/CodeGen/PowerPC/fp-strict-f128.ll M llvm/test/CodeGen/PowerPC/global-address-non-got-indirect-access.ll M llvm/test/CodeGen/PowerPC/pcrel-got-indirect.ll M llvm/test/CodeGen/PowerPC/ppc64-P9-setb.ll M llvm/test/CodeGen/PowerPC/recipest.ll Log Message: ----------- [PowerPC] Enable default support of quad precision operations Summary: Remove option guarding support of quad precision operations. Reviewers: nemanjai, #powerpc, steven.zhang Reviewed By: nemanjai, #powerpc, steven.zhang Subscribers: qiucf, wuzish, nemanjai, hiraditya, kbarton, shchenz, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83437 From all-commits at lists.llvm.org Fri Jul 10 11:31:17 2020 From: all-commits at lists.llvm.org (Chris Gyurgyik via All-commits) Date: Fri, 10 Jul 2020 11:31:17 -0700 Subject: [all-commits] [llvm/llvm-project] a4f0c5: [libc] Add strchr implementation. Fixes bug in mem... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a4f0c58c6e3f4ec0f5bb8c5232a77dd452df0fb5 https://github.com/llvm/llvm-project/commit/a4f0c58c6e3f4ec0f5bb8c5232a77dd452df0fb5 Author: cgyurgyik Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M libc/config/linux/aarch64/entrypoints.txt M libc/config/linux/x86_64/entrypoints.txt M libc/src/string/CMakeLists.txt M libc/src/string/memchr.cpp A libc/src/string/strchr.cpp A libc/src/string/strchr.h M libc/test/src/string/CMakeLists.txt M libc/test/src/string/memchr_test.cpp A libc/test/src/string/strchr_test.cpp Log Message: ----------- [libc] Add strchr implementation. Fixes bug in memchr. Summary: [libc] Adds strchr implementation with unit tests. Fixes signed character bug in memchr. Reviewers: sivachandra, PaulkaToast Reviewed By: sivachandra Subscribers: mgorny, tschuett, ecnelises, libc-commits Tags: #libc-project Differential Revision: https://reviews.llvm.org/D83353 From all-commits at lists.llvm.org Fri Jul 10 11:40:06 2020 From: all-commits at lists.llvm.org (Sidharth Baveja via All-commits) Date: Fri, 10 Jul 2020 11:40:06 -0700 Subject: [all-commits] [llvm/llvm-project] e541e1: [NFC] Separate Peeling Properties into its own str... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e541e1b757237172c247904b670c9894d6b3759d https://github.com/llvm/llvm-project/commit/e541e1b757237172c247904b670c9894d6b3759d Author: Sidharth Baveja Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/include/llvm/Analysis/TargetTransformInfo.h M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h M llvm/include/llvm/CodeGen/BasicTTIImpl.h M llvm/include/llvm/Transforms/Utils/UnrollLoop.h M llvm/lib/Analysis/TargetTransformInfo.cpp M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp M llvm/lib/Target/ARM/ARMTargetTransformInfo.h M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h M llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp M llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.h M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h M llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp M llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h M llvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp M llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp M llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp Log Message: ----------- [NFC] Separate Peeling Properties into its own struct (re-land after minor fix) Summary: This patch separates the peeling specific parameters from the UnrollingPreferences, and creates a new struct called PeelingPreferences. Functions which used the UnrollingPreferences struct for peeling have been updated to use the PeelingPreferences struct. Author: sidbav (Sidharth Baveja) Reviewers: Whitney (Whitney Tsang), Meinersbur (Michael Kruse), skatkov (Serguei Katkov), ashlykov (Arkady Shlykov), bogner (Justin Bogner), hfinkel (Hal Finkel), anhtuyen (Anh Tuyen Tran), nikic (Nikita Popov) Reviewed By: Meinersbur (Michael Kruse) Subscribers: fhahn (Florian Hahn), hiraditya (Aditya Kumar), llvm-commits, LLVM Tag: LLVM Differential Revision: https://reviews.llvm.org/D80580 From all-commits at lists.llvm.org Fri Jul 10 11:59:29 2020 From: all-commits at lists.llvm.org (Nikita Popov via All-commits) Date: Fri, 10 Jul 2020 11:59:29 -0700 Subject: [all-commits] [llvm/llvm-project] a0b549: [PredicateInfo] Add test for multiple branches on ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: a0b549602612fa2577068bcdcae3bfbc6c9c3264 https://github.com/llvm/llvm-project/commit/a0b549602612fa2577068bcdcae3bfbc6c9c3264 Author: Nikita Popov Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: A llvm/test/Transforms/Util/PredicateInfo/branch-on-same-cond.ll Log Message: ----------- [PredicateInfo] Add test for multiple branches on same condition (NFC) This illustrates a case where RenamedOp does not correspond to the value used in the condition, which it ideally should. From all-commits at lists.llvm.org Fri Jul 10 12:10:45 2020 From: all-commits at lists.llvm.org (Erik Pilkington via All-commits) Date: Fri, 10 Jul 2020 12:10:45 -0700 Subject: [all-commits] [llvm/llvm-project] dafc31: [Sema] Emit a -Wformat warning for printf("%s", (v... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: dafc3106d2069b806a10e072306a2196f1cda585 https://github.com/llvm/llvm-project/commit/dafc3106d2069b806a10e072306a2196f1cda585 Author: Erik Pilkington Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/lib/AST/FormatString.cpp M clang/test/Sema/format-strings.c Log Message: ----------- [Sema] Emit a -Wformat warning for printf("%s", (void*)p) Its dangerous to assume that the opaque pointer points to a null-terminated string, and this has an easy fix (casting to char*). rdar://62432331 From all-commits at lists.llvm.org Fri Jul 10 12:12:21 2020 From: all-commits at lists.llvm.org (Konrad Kleine via All-commits) Date: Fri, 10 Jul 2020 12:12:21 -0700 Subject: [all-commits] [llvm/llvm-project] ecfa01: [lldb] on s390x fix override issue Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ecfa01e956a49ed349683f1cfcfbbec423114b68 https://github.com/llvm/llvm-project/commit/ecfa01e956a49ed349683f1cfcfbbec423114b68 Author: Konrad Kleine Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_s390x.h Log Message: ----------- [lldb] on s390x fix override issue Summary: This fixes an override issue by marking a function as const so that the signature maps to the signature of the function in the base class. This is the original error: In file included from /root/llvm/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_s390x.cpp:11: /root/llvm/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_s390x.h:79:10: error: 'size_t lldb_private::process_linux::NativeRegisterContextLinux_s390x::GetGPRSize()' marked 'override', but does not override 79 | size_t GetGPRSize() override { return sizeof(m_regs); } | ^~~~~~~~~~ Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D83580 From all-commits at lists.llvm.org Fri Jul 10 12:12:45 2020 From: all-commits at lists.llvm.org (Matt Arsenault via All-commits) Date: Fri, 10 Jul 2020 12:12:45 -0700 Subject: [all-commits] [llvm/llvm-project] 9ff310: AArch64: Fix unused variables Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9ff310d5bfa56bb5f29645e2d2fee12115c3ddb7 https://github.com/llvm/llvm-project/commit/9ff310d5bfa56bb5f29645e2d2fee12115c3ddb7 Author: Matt Arsenault Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp Log Message: ----------- AArch64: Fix unused variables From all-commits at lists.llvm.org Fri Jul 10 12:23:56 2020 From: all-commits at lists.llvm.org (Aart Bik via All-commits) Date: Fri, 10 Jul 2020 12:23:56 -0700 Subject: [all-commits] [llvm/llvm-project] 9bf635: [mlir] [VectorOps] Allow AXPY to be expressed as s... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 9bf6354301ac4e1c7a00e4ef46decba38840fe62 https://github.com/llvm/llvm-project/commit/9bf6354301ac4e1c7a00e4ef46decba38840fe62 Author: aartbik Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M mlir/include/mlir/Dialect/Vector/VectorOps.td M mlir/integration_test/Dialect/Vector/CPU/test-outerproduct-f32.mlir M mlir/integration_test/Dialect/Vector/CPU/test-outerproduct-i64.mlir M mlir/lib/Dialect/Vector/VectorOps.cpp M mlir/lib/Dialect/Vector/VectorTransforms.cpp M mlir/test/Dialect/Vector/invalid.mlir M mlir/test/Dialect/Vector/vector-contract-transforms.mlir Log Message: ----------- [mlir] [VectorOps] Allow AXPY to be expressed as special case of OUTERPRODUCT This specialization allows sharing more code where an AXPY follows naturally in cases where an OUTERPRODUCT on a scalar would be generated. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D83453 From all-commits at lists.llvm.org Fri Jul 10 12:36:58 2020 From: all-commits at lists.llvm.org (David Goldman via All-commits) Date: Fri, 10 Jul 2020 12:36:58 -0700 Subject: [all-commits] [llvm/llvm-project] ea201e: [AST][ObjC] Fix crash when printing invalid objc c... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ea201e83e292f39c3ee7fe8810a348ee98000398 https://github.com/llvm/llvm-project/commit/ea201e83e292f39c3ee7fe8810a348ee98000398 Author: David Goldman Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/lib/AST/DeclPrinter.cpp M clang/unittests/AST/DeclPrinterTest.cpp Log Message: ----------- [AST][ObjC] Fix crash when printing invalid objc categories Summary: If no valid interface definition was found previously we would crash. With this change instead we just print `<>` in place of the NULL interface. In the future this could be improved by saving the invalid interface's name and using that. Reviewers: sammccall, gribozavr Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D83513 From all-commits at lists.llvm.org Fri Jul 10 12:48:40 2020 From: all-commits at lists.llvm.org (Jonas Devlieghere via All-commits) Date: Fri, 10 Jul 2020 12:48:40 -0700 Subject: [all-commits] [llvm/llvm-project] 169c83: [ldb/Reproducers] Add YamlRecorder and MultiProvider Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 169c83208f37f8e5539b1386030d9f3e4b15f16a https://github.com/llvm/llvm-project/commit/169c83208f37f8e5539b1386030d9f3e4b15f16a Author: Jonas Devlieghere Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M lldb/include/lldb/Utility/Reproducer.h M lldb/source/API/SBDebugger.cpp M lldb/source/Utility/Reproducer.cpp M lldb/unittests/Utility/ReproducerTest.cpp Log Message: ----------- [ldb/Reproducers] Add YamlRecorder and MultiProvider This patch does several things that are all closely related: - It introduces a new YamlRecorder as a counterpart to the existing DataRecorder. As the name suggests the former serializes data as yaml while the latter uses raw texts or bytes. - It introduces a new MultiProvider base class which can be backed by either a DataRecorder or a YamlRecorder. - It reimplements the CommandProvider in terms of the new MultiProvider. Finally, it adds unit testing coverage for the MultiProvider, a naive YamlProvider built on top of the new YamlRecorder and the existing MutliLoader. Differential revision: https://reviews.llvm.org/D83441 From all-commits at lists.llvm.org Fri Jul 10 12:52:44 2020 From: all-commits at lists.llvm.org (aeubanks via All-commits) Date: Fri, 10 Jul 2020 12:52:44 -0700 Subject: [all-commits] [llvm/llvm-project] 21b4cc: Reland [NFC] Derive from PassInfoMixin for no-op/p... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 21b4cc1db9f4eb6d6956802257e3a80f86045c67 https://github.com/llvm/llvm-project/commit/21b4cc1db9f4eb6d6956802257e3a80f86045c67 Author: Arthur Eubanks Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/include/llvm/IR/IRPrintingPasses.h M llvm/include/llvm/module.modulemap M llvm/lib/IR/LegacyPassManager.cpp M llvm/lib/Passes/PassBuilder.cpp Log Message: ----------- Reland [NFC] Derive from PassInfoMixin for no-op/printing passes PassInfoMixin should be used for all NPM passes, rater than a custom `name()`. This caused ambiguous references in LegacyPassManager.cpp, so had to remove "using namespace llvm::legacy" and move some things around. Reviewed By: ychen, asbirlea Differential Revision: https://reviews.llvm.org/D83498 From all-commits at lists.llvm.org Fri Jul 10 12:58:35 2020 From: all-commits at lists.llvm.org (Aaron Ballman via All-commits) Date: Fri, 10 Jul 2020 12:58:35 -0700 Subject: [all-commits] [llvm/llvm-project] 006c49: Change behavior with zero-sized static array extents Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 006c49d890da633d1ce502117fc2a49863cd65b7 https://github.com/llvm/llvm-project/commit/006c49d890da633d1ce502117fc2a49863cd65b7 Author: Aaron Ballman Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/include/clang/Basic/DiagnosticSemaKinds.td M clang/lib/CodeGen/CGCall.cpp M clang/lib/Sema/SemaType.cpp M clang/test/CodeGen/vla.c M clang/test/Sema/static-array.c Log Message: ----------- Change behavior with zero-sized static array extents Currently, Clang previously diagnosed this code by default: void f(int a[static 0]); saying that "static has no effect on zero-length arrays", which was accurate. However, static array extents require that the caller of the function pass a nonnull pointer to an array of *at least* that number of elements, but it can pass more (see C17 6.7.6.3p6). Given that we allow zero-sized arrays as a GNU extension and that it's valid to pass more elements than specified by the static array extent, we now support zero-sized static array extents with the usual semantics because it can be useful in cases like: void my_bzero(char p[static 0], int n); my_bzero(&c+1, 0); //ok my_bzero(t+k,n-k); //ok, pattern from actual code From all-commits at lists.llvm.org Fri Jul 10 13:12:23 2020 From: all-commits at lists.llvm.org (Aart Bik via All-commits) Date: Fri, 10 Jul 2020 13:12:23 -0700 Subject: [all-commits] [llvm/llvm-project] 365434: [mlir] [VectorOps] Merge OUTER/AXPY vector.contrac... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 365434a584078577a7af6b91ffd2640c72c6d265 https://github.com/llvm/llvm-project/commit/365434a584078577a7af6b91ffd2640c72c6d265 Author: aartbik Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M mlir/include/mlir/Dialect/Vector/VectorOps.h M mlir/include/mlir/Dialect/Vector/VectorTransforms.h M mlir/lib/Dialect/Vector/VectorTransforms.cpp M mlir/test/Dialect/Vector/vector-contract-matvec-transforms.mlir M mlir/test/lib/Transforms/TestVectorTransforms.cpp Log Message: ----------- [mlir] [VectorOps] Merge OUTER/AXPY vector.contract lowering into single case We temporarily had separate OUTER lowering (for matmat flavors) and AXPY lowering (for matvec flavors). With the new generalized "vector.outerproduct" semantics, these cases can be merged into a single lowering method. This refactoring will simplify future decisions on cost models and lowering heuristics. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D83585 From all-commits at lists.llvm.org Fri Jul 10 13:26:09 2020 From: all-commits at lists.llvm.org (NoQ via All-commits) Date: Fri, 10 Jul 2020 13:26:09 -0700 Subject: [all-commits] [llvm/llvm-project] cb6c11: [analyzer] Silence a warning. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: cb6c1106141efa721a3902a98c37a54d135464fd https://github.com/llvm/llvm-project/commit/cb6c1106141efa721a3902a98c37a54d135464fd Author: Artem Dergachev Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp Log Message: ----------- [analyzer] Silence a warning. An old clang warns that the const object has no default constructor so it may remain uninitialized forever. That's a false alarm because all fields have a default initializer. Apply the suggested fixit anyway. From all-commits at lists.llvm.org Fri Jul 10 13:52:04 2020 From: all-commits at lists.llvm.org (Nicolas Vasilache via All-commits) Date: Fri, 10 Jul 2020 13:52:04 -0700 Subject: [all-commits] [llvm/llvm-project] ec2f2c: [mlir][Vector] Add folding for vector.transfer ops Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ec2f2cec769cb07bbf8691f2e0e800747266f857 https://github.com/llvm/llvm-project/commit/ec2f2cec769cb07bbf8691f2e0e800747266f857 Author: Nicolas Vasilache Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M mlir/include/mlir/Dialect/Vector/VectorOps.td M mlir/include/mlir/IR/AffineMap.h M mlir/lib/Conversion/VectorToROCDL/VectorToROCDL.cpp M mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp M mlir/lib/Dialect/Vector/VectorOps.cpp M mlir/lib/IR/AffineMap.cpp M mlir/test/Dialect/Vector/canonicalize.mlir M mlir/test/Dialect/Vector/vector-transforms.mlir Log Message: ----------- [mlir][Vector] Add folding for vector.transfer ops This revision folds vector.transfer operations by updating the `masked` bool array attribute when more unmasked dimensions can be discovered. Differential revision: https://reviews.llvm.org/D83586 From all-commits at lists.llvm.org Fri Jul 10 14:21:52 2020 From: all-commits at lists.llvm.org (Joel E. Denny via All-commits) Date: Fri, 10 Jul 2020 14:21:52 -0700 Subject: [all-commits] [llvm/llvm-project] 6dda6f: [FileCheck] Fix up -dump-input* docs Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6dda6ff0e094b667311dbd7a46d4e36aa787e033 https://github.com/llvm/llvm-project/commit/6dda6ff0e094b667311dbd7a46d4e36aa787e033 Author: Joel E. Denny Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/docs/CommandGuide/FileCheck.rst M llvm/utils/FileCheck/FileCheck.cpp Log Message: ----------- [FileCheck] Fix up -dump-input* docs In FileCheck.rst, add `-dump-input-context` and `-dump-input-filter`, and fix some `-dump-input` documentation. In `FileCheck -help`, `cl::value_desc("kind")` is being ignored for `-dump-input-filter`, so just drop it. Extend `-dump-input=help` to mention FILECHECK_OPTS. From all-commits at lists.llvm.org Fri Jul 10 14:29:00 2020 From: all-commits at lists.llvm.org (Tom Stellard via All-commits) Date: Fri, 10 Jul 2020 14:29:00 -0700 Subject: [all-commits] [llvm/llvm-project] 1d68a7: [clang-shlib] Don't link with static clang libraries Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 1d68a780b34e1f18f865d0754fce6c6177dc5d21 https://github.com/llvm/llvm-project/commit/1d68a780b34e1f18f865d0754fce6c6177dc5d21 Author: Tom Stellard Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/tools/clang-shlib/CMakeLists.txt Log Message: ----------- [clang-shlib] Don't link with static clang libraries Summary: If we are building static libraries we don't need to link them into clang-shlib, since clang-shlib already has all the individual object files linked in. Reviewers: smeenai Reviewed By: smeenai Subscribers: mgorny, cfe-commits, llvm-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82694 From all-commits at lists.llvm.org Fri Jul 10 14:42:55 2020 From: all-commits at lists.llvm.org (Michael Kruse via All-commits) Date: Fri, 10 Jul 2020 14:42:55 -0700 Subject: [all-commits] [llvm/llvm-project] 32bf46: [Polly] Fix -polly-opt-isl -analyze Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 32bf46842025b740de870dbcd446e4b0f203c9aa https://github.com/llvm/llvm-project/commit/32bf46842025b740de870dbcd446e4b0f203c9aa Author: Michael Kruse Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M polly/lib/Transform/ScheduleOptimizer.cpp M polly/test/ScheduleOptimizer/mat_mul_pattern_data_layout_2.ll M polly/test/ScheduleOptimizer/pattern-matching-based-opts_3.ll M polly/test/ScheduleOptimizer/tile_after_fusion.ll Log Message: ----------- [Polly] Fix -polly-opt-isl -analyze The member LastSchedule was never set, such that printScop would always print "n/a" instead of the last schedule. To ensure that the isl_ctx lives as least as long as the stored schedule, also store a shared_ptr. Also set the schedule tree output style to ISL_YAML_STYLE_BLOCK to avoid printing everything on a single line. `opt -polly-opt-isl -analyze` will be used in the next commit. Commit: c0bc995429c417c1e206841d6b9727218fab3f73 https://github.com/llvm/llvm-project/commit/c0bc995429c417c1e206841d6b9727218fab3f73 Author: Michael Kruse Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M polly/lib/Transform/ScheduleOptimizer.cpp A polly/test/ScheduleOptimizer/focaltech_test_detail_threshold-7bc17e.ll Log Message: ----------- [Polly] Fix prevectorization of fused loops. The schedule of a fused loop has one isl_space per statement, such that a conversion to a isl_map fails. However, the prevectorization is interested in the schedule space only: Converting to the non-union representation only after extracting the schedule range fixes the problem. This fixes llvm.org/PR46578 Compare: https://github.com/llvm/llvm-project/compare/1d68a780b34e...c0bc995429c4 From all-commits at lists.llvm.org Fri Jul 10 15:09:44 2020 From: all-commits at lists.llvm.org (Thomas via All-commits) Date: Fri, 10 Jul 2020 15:09:44 -0700 Subject: [all-commits] [llvm/llvm-project] 6d5aeb: [mlir][linalg] Improve aliasing approximation for ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6d5aeb0dceebd4c4d4ac9d9d78919362db28f081 https://github.com/llvm/llvm-project/commit/6d5aeb0dceebd4c4d4ac9d9d78919362db28f081 Author: Thomas Raoux Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M mlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp M mlir/test/Dialect/Linalg/hoisting.mlir Log Message: ----------- [mlir][linalg] Improve aliasing approximation for hoisting transfer read/write Improve the logic deciding if it is safe to hoist vector transfer read/write out of the loop. Change the logic to prevent hoisting operations if there are any unknown access to the memref in the loop no matter where the operation is. For other transfer read/write in the loop check if we can prove that they access disjoint memory and ignore them in this case. Differential Revision: https://reviews.llvm.org/D83538 From all-commits at lists.llvm.org Fri Jul 10 15:15:45 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Fri, 10 Jul 2020 15:15:45 -0700 Subject: [all-commits] [llvm/llvm-project] 122a45: [X86] Add isel patterns for matching broadcast vpt... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 122a45fbac059be0fb88b2b909191d7a93ce9c09 https://github.com/llvm/llvm-project/commit/122a45fbac059be0fb88b2b909191d7a93ce9c09 Author: Craig Topper Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/Target/X86/X86InstrAVX512.td M llvm/test/CodeGen/X86/vector-fshl-128.ll M llvm/test/CodeGen/X86/vector-fshl-256.ll M llvm/test/CodeGen/X86/vector-fshl-512.ll M llvm/test/CodeGen/X86/vector-fshr-128.ll M llvm/test/CodeGen/X86/vector-fshr-256.ll M llvm/test/CodeGen/X86/vector-fshr-512.ll M llvm/test/CodeGen/X86/vector-shuffle-avx512.ll Log Message: ----------- [X86] Add isel patterns for matching broadcast vpternlog if the ternlog and the broadcast have different types. From all-commits at lists.llvm.org Fri Jul 10 15:16:49 2020 From: all-commits at lists.llvm.org (Matt Arsenault via All-commits) Date: Fri, 10 Jul 2020 15:16:49 -0700 Subject: [all-commits] [llvm/llvm-project] 31f4e4: AMDGPU: Remove .value_type from kernel metadata Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 31f4e43f3f391e5c5034580f972e0acc78f99b63 https://github.com/llvm/llvm-project/commit/31f4e43f3f391e5c5034580f972e0acc78f99b63 Author: Matt Arsenault Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/docs/AMDGPUUsage.rst M llvm/include/llvm/Support/AMDGPUMetadata.h M llvm/lib/BinaryFormat/AMDGPUMetadataVerifier.cpp M llvm/lib/Support/AMDGPUMetadata.cpp M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.h M llvm/test/CodeGen/AMDGPU/hsa-metadata-deduce-ro-arg-v3.ll M llvm/test/CodeGen/AMDGPU/hsa-metadata-deduce-ro-arg.ll M llvm/test/CodeGen/AMDGPU/hsa-metadata-enqueue-kernel-v3.ll M llvm/test/CodeGen/AMDGPU/hsa-metadata-enqueue-kernel.ll M llvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full-v3.ll M llvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll M llvm/test/CodeGen/AMDGPU/hsa-metadata-hidden-args-v3.ll M llvm/test/CodeGen/AMDGPU/hsa-metadata-hidden-args.ll M llvm/test/CodeGen/AMDGPU/hsa-metadata-hostcall-absent-v3.ll M llvm/test/CodeGen/AMDGPU/hsa-metadata-hostcall-absent.ll M llvm/test/CodeGen/AMDGPU/hsa-metadata-hostcall-present-v3.ll M llvm/test/CodeGen/AMDGPU/hsa-metadata-hostcall-present.ll M llvm/test/CodeGen/AMDGPU/hsa-metadata-images-v3.ll M llvm/test/MC/AMDGPU/hsa-metadata-kernel-args.s Log Message: ----------- AMDGPU: Remove .value_type from kernel metadata This doesn't appear used for anything, and is emitted incorrectly based on the description. This also depends on the IR type, and pointee element type. From all-commits at lists.llvm.org Fri Jul 10 15:21:21 2020 From: all-commits at lists.llvm.org (Eric Christopher via All-commits) Date: Fri, 10 Jul 2020 15:21:21 -0700 Subject: [all-commits] [llvm/llvm-project] cc2805: Temporarily revert "[NFC] Separate bitcode reading... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: cc28058c13e89ecc85dac7e1bd5d13a2ce1bb620 https://github.com/llvm/llvm-project/commit/cc28058c13e89ecc85dac7e1bd5d13a2ce1bb620 Author: Eric Christopher Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/include/llvm/Bitcode/LLVMBitCodes.h M llvm/lib/Bitcode/Reader/BitcodeReader.cpp Log Message: ----------- Temporarily revert "[NFC] Separate bitcode reading for FUNC_CODE_INST_CMPXCHG(_OLD)" as it wasn't NFC and is causing issues with thinlto bitcode reading. I've followed up offline with reproduction instructions and testcases. This reverts commit 30582457b47004dec8a78144abc919a13ccbd08c. From all-commits at lists.llvm.org Fri Jul 10 15:28:41 2020 From: all-commits at lists.llvm.org (JF Bastien via All-commits) Date: Fri, 10 Jul 2020 15:28:41 -0700 Subject: [all-commits] [llvm/llvm-project] 7bf73b: [docs] LLVM Security Group and Process Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7bf73bcf6d9335938bd072b11809d305173c7c1e https://github.com/llvm/llvm-project/commit/7bf73bcf6d9335938bd072b11809d305173c7c1e Author: JF Bastien Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/docs/Contributing.rst M llvm/docs/HowToSubmitABug.rst M llvm/docs/Reference.rst A llvm/docs/Security.rst M llvm/docs/index.rst Log Message: ----------- [docs] LLVM Security Group and Process Summary: See the corresponding RFC on llvm-dev for a discussion of this proposal. http://lists.llvm.org/pipermail/llvm-dev/2019-November/136839.html Subscribers: jkorous, dexonsmith, arphaman, ributzka, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70326 From all-commits at lists.llvm.org Fri Jul 10 15:53:13 2020 From: all-commits at lists.llvm.org (Alexandre Ganea via All-commits) Date: Fri, 10 Jul 2020 15:53:13 -0700 Subject: [all-commits] [llvm/llvm-project] 41d281: [PDB] Attempt fix for debug-info-codeview-buildinf... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 41d2813a5faea1c18b7d329109e0287c5cd9ffea https://github.com/llvm/llvm-project/commit/41d2813a5faea1c18b7d329109e0287c5cd9ffea Author: Alexandre Ganea Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/cmake/caches/BaremetalARM.cmake M clang/cmake/caches/CrossWinToARMLinux.cmake M clang/cmake/caches/Fuchsia-stage2.cmake M clang/test/CMakeLists.txt M clang/test/CodeGen/debug-info-codeview-buildinfo.c Log Message: ----------- [PDB] Attempt fix for debug-info-codeview-buildinfo.c test This is a bit a shot in the dark, as it doesn't occur on my Windows 10 machines, nor on x64 Linux Ubuntu 18.04. This patch tries to fix the following kind of error: - http://lab.llvm.org:8011/builders/clang-ppc64le-linux/builds/31511/steps/cmake%20stage%201/logs/stdio - http://lab.llvm.org:8011/builders/clang-ppc64le-linux-lnt/builds/25150/steps/ninja%20check%201/logs/FAIL%3A%20Clang%3A%3Adebug-info-codeview-buildinfo.c - http://lab.llvm.org:8011/builders/fuchsia-x86_64-linux/builds/7947/steps/check/logs/stdio From all-commits at lists.llvm.org Fri Jul 10 16:23:55 2020 From: all-commits at lists.llvm.org (David Blaikie via All-commits) Date: Fri, 10 Jul 2020 16:23:55 -0700 Subject: [all-commits] [llvm/llvm-project] 854e8f: Remove unnecessary/erroneous "static" from functio... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 854e8f88e96bd6a75844d2af061cacc61fb0defe https://github.com/llvm/llvm-project/commit/854e8f88e96bd6a75844d2af061cacc61fb0defe Author: David Blaikie Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/include/llvm/ADT/STLExtras.h Log Message: ----------- Remove unnecessary/erroneous "static" from function templates in headers This risks ODR violations in inline functions that call these functions (if they remain static) & otherwise just causes some object size increase, potentially, by these functions not being deduplicated by the linker. From all-commits at lists.llvm.org Fri Jul 10 16:35:07 2020 From: all-commits at lists.llvm.org (Chris Gyurgyik via All-commits) Date: Fri, 10 Jul 2020 16:35:07 -0700 Subject: [all-commits] [llvm/llvm-project] 785924: [libc] [Obvious] Remove unneeded header in strchr. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7859242a3713eb84b57430625b2a70efe30efbf2 https://github.com/llvm/llvm-project/commit/7859242a3713eb84b57430625b2a70efe30efbf2 Author: cgyurgyik Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M libc/src/string/CMakeLists.txt M libc/src/string/strchr.cpp Log Message: ----------- [libc] [Obvious] Remove unneeded header in strchr. Reviewers: sivachandra Reviewed By: sivachandra Subscribers: mgorny, tschuett, ecnelises, libc-commits Tags: #libc-project Differential Revision: https://reviews.llvm.org/D83589 From all-commits at lists.llvm.org Fri Jul 10 16:46:36 2020 From: all-commits at lists.llvm.org (Alexandre Ganea via All-commits) Date: Fri, 10 Jul 2020 16:46:36 -0700 Subject: [all-commits] [llvm/llvm-project] b71499: Revert "Re-land [CodeView] Add full repro to LF_BU... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b71499ac9eebbddd3a45ac15f161f89eb3378918 https://github.com/llvm/llvm-project/commit/b71499ac9eebbddd3a45ac15f161f89eb3378918 Author: Alexandre Ganea Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/cmake/caches/BaremetalARM.cmake M clang/cmake/caches/CrossWinToARMLinux.cmake M clang/cmake/caches/Fuchsia-stage2.cmake M clang/test/CMakeLists.txt R clang/test/CodeGen/debug-info-codeview-buildinfo.c M lld/COFF/PDB.cpp M lld/test/COFF/Inputs/pdb_lines_1_relative.yaml M lld/test/COFF/Inputs/pdb_lines_2_relative.yaml M lld/test/COFF/pdb-relative-source-lines.test R lld/test/COFF/pdb-relative-source-lines2.test M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp M llvm/test/DebugInfo/COFF/build-info.ll M llvm/test/DebugInfo/COFF/global-type-hashes.ll M llvm/test/DebugInfo/COFF/types-basic.ll M llvm/test/DebugInfo/COFF/types-data-members.ll Log Message: ----------- Revert "Re-land [CodeView] Add full repro to LF_BUILDINFO record" This reverts commit add59ecb34e3003311b7e2318b16a0ef10c76d79 and 41d2813a5faea1c18b7d329109e0287c5cd9ffea. From all-commits at lists.llvm.org Fri Jul 10 16:51:04 2020 From: all-commits at lists.llvm.org (Gui Andrade via All-commits) Date: Fri, 10 Jul 2020 16:51:04 -0700 Subject: [all-commits] [llvm/llvm-project] e54b22: [Sanitizers] Change protoent test to check for IPv... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e54b228408852e385d89b5202573bdd8d8da58cf https://github.com/llvm/llvm-project/commit/e54b228408852e385d89b5202573bdd8d8da58cf Author: Gui Andrade Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M compiler-rt/test/sanitizer_common/TestCases/Linux/protoent.cpp Log Message: ----------- [Sanitizers] Change protoent test to check for IPv6 instead of RDP Looks like RDP isn't present on some of LLVM's buildbot machines From all-commits at lists.llvm.org Fri Jul 10 16:51:19 2020 From: all-commits at lists.llvm.org (walter erquinigo via All-commits) Date: Fri, 10 Jul 2020 16:51:19 -0700 Subject: [all-commits] [llvm/llvm-project] f7f801: [lldb-vscode] Add Support for Module Event Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f7f80159753ba725f7e32529fcc369bc358efbb3 https://github.com/llvm/llvm-project/commit/f7f80159753ba725f7e32529fcc369bc358efbb3 Author: Yifan Shen Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py A lldb/test/API/tools/lldb-vscode/module/Makefile A lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py A lldb/test/API/tools/lldb-vscode/module/main.cpp M lldb/tools/lldb-vscode/JSONUtils.cpp M lldb/tools/lldb-vscode/JSONUtils.h M lldb/tools/lldb-vscode/VSCode.cpp M lldb/tools/lldb-vscode/lldb-vscode.cpp Log Message: ----------- [lldb-vscode] Add Support for Module Event Summary: Whenever a module is created, removed or changed, lldb-vscode is now sending an event that can be interpreted by the IDE so that modules can be rendered in the IDE, like the tree view in this screenshot {F12229758} Reviewers: wallace, clayborg, kusmour, aadsm Reviewed By: clayborg Subscribers: cfe-commits, labath, lldb-commits Tags: #lldb, #clang Differential Revision: https://reviews.llvm.org/D82477 Commit: 03ef61033ff5e1e40518f14f642e4ad8d686974c https://github.com/llvm/llvm-project/commit/03ef61033ff5e1e40518f14f642e4ad8d686974c Author: Yifan Shen Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py M lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py M lldb/tools/lldb-vscode/JSONUtils.cpp M lldb/tools/lldb-vscode/JSONUtils.h M lldb/tools/lldb-vscode/lldb-vscode.cpp Log Message: ----------- [lldb-vscode] Add Compile Unit List to Modules View Summary: User can expand and check compile unit list for the modules that have debug info. Reviewers: wallace, clayborg Reviewed By: clayborg Subscribers: aprantl, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D83072 Commit: 881af6eb0030986876d3b80668193e5c3c04a87c https://github.com/llvm/llvm-project/commit/881af6eb0030986876d3b80668193e5c3c04a87c Author: Walter Erquinigo Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M lldb/test/API/tools/lldb-vscode/module/Makefile M lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py A lldb/test/API/tools/lldb-vscode/module/foo.cpp A lldb/test/API/tools/lldb-vscode/module/foo.h M lldb/test/API/tools/lldb-vscode/module/main.cpp Log Message: ----------- [lldb-vscode] Fix TestVSCode_module For some reason this works on the original author's machine, but not on my. So I'm using a safer approach of using an unstripped dynamic library to place breakpoints on. The author was placing a breakpoint on the main symbol of a stripped library and for some reason it worked on their machine, but it shouldn't have... Offender diff: D82477 Compare: https://github.com/llvm/llvm-project/compare/e54b22840885...881af6eb0030 From all-commits at lists.llvm.org Fri Jul 10 16:55:35 2020 From: all-commits at lists.llvm.org (Johannes Doerfert via All-commits) Date: Fri, 10 Jul 2020 16:55:35 -0700 Subject: [all-commits] [llvm/llvm-project] 7f1e6f: [OpenMP] Use __OPENMP_NVPTX__ instead of _OPENMP i... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7f1e6fcff9427adfa8efa3bfeeeac801da788b87 https://github.com/llvm/llvm-project/commit/7f1e6fcff9427adfa8efa3bfeeeac801da788b87 Author: Johannes Doerfert Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/lib/Headers/__clang_cuda_cmath.h M clang/lib/Headers/__clang_cuda_device_functions.h M clang/lib/Headers/__clang_cuda_libdevice_declares.h M clang/lib/Headers/__clang_cuda_math.h M clang/lib/Headers/openmp_wrappers/__clang_openmp_device_functions.h M clang/lib/Headers/openmp_wrappers/cmath M clang/lib/Headers/openmp_wrappers/math.h Log Message: ----------- [OpenMP] Use __OPENMP_NVPTX__ instead of _OPENMP in wrapper headers Due to recent changes we cannot use OpenMP in CUDA files anymore (PR45533) as the math handling of CUDA is different when _OPENMP is defined. We actually want this different behavior only if we are offloading with OpenMP to NVIDIA, thus generating NVPTX. With this patch we do not interfere with the CUDA math handling except if we are in NVPTX offloading mode, as indicated by the presence of __OPENMP_NVPTX__. Reviewed By: tra Differential Revision: https://reviews.llvm.org/D78155 From all-commits at lists.llvm.org Fri Jul 10 16:56:20 2020 From: all-commits at lists.llvm.org (Teresa Johnson via All-commits) Date: Fri, 10 Jul 2020 16:56:20 -0700 Subject: [all-commits] [llvm/llvm-project] 3e5173: [BPI] Compile time improvement when erasing blocks... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 3e5173dbc352317712ca35788333c6e118cbf79c https://github.com/llvm/llvm-project/commit/3e5173dbc352317712ca35788333c6e118cbf79c Author: Teresa Johnson Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/Analysis/BranchProbabilityInfo.cpp Log Message: ----------- [BPI] Compile time improvement when erasing blocks (NFC) Summary: eraseBlock is trying to erase all probability info for the given BB. This info is stored in a DenseMap organized like so: using Edge = std::pair; DenseMap Probs; where the unsigned in the Edge key is the successor id. It was walking through every single map entry, checking if the BB in the key's pair matched the given BB. Much more efficient is to do what another method (getEdgeProbability) was already doing, which is to walk the successors of the BB, and simply do a map lookup on the key formed from each pair. Doing this dropped the overall compile time for a file containing a very large function by around 32%. Reviewers: davidxl, xur Subscribers: llvm-commits, hiraditya Tags: #llvm Differential Revision: https://reviews.llvm.org/D83596 From all-commits at lists.llvm.org Fri Jul 10 17:07:27 2020 From: all-commits at lists.llvm.org (walter erquinigo via All-commits) Date: Fri, 10 Jul 2020 17:07:27 -0700 Subject: [all-commits] [llvm/llvm-project] c60216: Revert "[lldb-vscode] Fix TestVSCode_module" Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c60216db15132401ff60c08ccef899321f63b6b6 https://github.com/llvm/llvm-project/commit/c60216db15132401ff60c08ccef899321f63b6b6 Author: Walter Erquinigo Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py R lldb/test/API/tools/lldb-vscode/module/Makefile R lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py R lldb/test/API/tools/lldb-vscode/module/foo.cpp R lldb/test/API/tools/lldb-vscode/module/foo.h R lldb/test/API/tools/lldb-vscode/module/main.cpp M lldb/tools/lldb-vscode/JSONUtils.cpp M lldb/tools/lldb-vscode/JSONUtils.h M lldb/tools/lldb-vscode/VSCode.cpp M lldb/tools/lldb-vscode/lldb-vscode.cpp Log Message: ----------- Revert "[lldb-vscode] Fix TestVSCode_module" This reverts commit 881af6eb0030986876d3b80668193e5c3c04a87c. Revert "[lldb-vscode] Add Compile Unit List to Modules View" This reverts commit 03ef61033ff5e1e40518f14f642e4ad8d686974c. Revert "[lldb-vscode] Add Support for Module Event" This reverts commit f7f80159753ba725f7e32529fcc369bc358efbb3. The debian buildbot has reported issues with the modules test. http://lab.llvm.org:8011/builders/lldb-x86_64-debian/builds/13767/steps/test/logs/stdio Reverting it for now. From all-commits at lists.llvm.org Fri Jul 10 17:07:51 2020 From: all-commits at lists.llvm.org (ZequanWu via All-commits) Date: Fri, 10 Jul 2020 17:07:51 -0700 Subject: [all-commits] [llvm/llvm-project] 0f0c5a: [COFF] Add cg_profile directive and .llvm.call-gra... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 0f0c5af3db9b0159d9b1a89faff3bd047510b628 https://github.com/llvm/llvm-project/commit/0f0c5af3db9b0159d9b1a89faff3bd047510b628 Author: Zequan Wu Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/include/llvm/MC/MCParser/MCAsmParserExtension.h M llvm/include/llvm/MC/MCWinCOFFStreamer.h M llvm/lib/MC/MCParser/COFFAsmParser.cpp M llvm/lib/MC/MCParser/ELFAsmParser.cpp M llvm/lib/MC/MCParser/MCAsmParserExtension.cpp M llvm/lib/MC/MCWinCOFFStreamer.cpp M llvm/lib/MC/WinCOFFObjectWriter.cpp M llvm/test/MC/AsmParser/directive_cgprofile.s A llvm/test/MC/COFF/cgprofile.s Log Message: ----------- [COFF] Add cg_profile directive and .llvm.call-graph-profile section Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83597 From all-commits at lists.llvm.org Fri Jul 10 17:11:44 2020 From: all-commits at lists.llvm.org (Johannes Doerfert via All-commits) Date: Fri, 10 Jul 2020 17:11:44 -0700 Subject: [all-commits] [llvm/llvm-project] cd0ea0: [OpenMP][NFC] Remove unused and untested code from... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: cd0ea03e6f157e8fb477cd8368b29e1448eeb265 https://github.com/llvm/llvm-project/commit/cd0ea03e6f157e8fb477cd8368b29e1448eeb265 Author: Johannes Doerfert Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/test/OpenMP/nvptx_target_simd_codegen.cpp M openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h M openmp/libomptarget/deviceRTLs/common/omptarget.h M openmp/libomptarget/deviceRTLs/common/src/data_sharing.cu M openmp/libomptarget/deviceRTLs/common/src/libcall.cu M openmp/libomptarget/deviceRTLs/common/src/loop.cu M openmp/libomptarget/deviceRTLs/common/src/omptarget.cu M openmp/libomptarget/deviceRTLs/common/src/parallel.cu M openmp/libomptarget/deviceRTLs/common/src/reduction.cu M openmp/libomptarget/deviceRTLs/common/src/support.cu M openmp/libomptarget/deviceRTLs/common/src/sync.cu M openmp/libomptarget/deviceRTLs/common/support.h M openmp/libomptarget/deviceRTLs/interface.h M openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h Log Message: ----------- [OpenMP][NFC] Remove unused and untested code from the device runtime Summary: We carried a lot of unused and untested code in the device runtime. Among other reasons, we are planning major rewrites for which reduced size is going to help a lot. The number of code lines reduced by 14%! Before: ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- CUDA 13 489 841 2454 C/C++ Header 14 322 493 1377 C 12 117 124 559 CMake 4 64 64 262 C++ 1 6 6 39 ------------------------------------------------------------------------------- SUM: 44 998 1528 4691 ------------------------------------------------------------------------------- After: ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- CUDA 13 366 733 1879 C/C++ Header 14 317 484 1293 C 12 117 124 559 CMake 4 64 64 262 C++ 1 6 6 39 ------------------------------------------------------------------------------- SUM: 44 870 1411 4032 ------------------------------------------------------------------------------- Reviewers: hfinkel, jhuber6, fghanim, JonChesterfield, grokos, AndreyChurbanov, ye-luo, tianshilei1992, ggeorgakoudis, Hahnfeld, ABataev, hbae, ronlieb, gregrodgers Subscribers: jvesely, yaxunl, bollu, guansong, jfb, sstefan1, aaron.ballman, openmp-commits, cfe-commits Tags: #clang, #openmp Differential Revision: https://reviews.llvm.org/D83349 From all-commits at lists.llvm.org Fri Jul 10 17:12:17 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?VmFsZW50aW4gQ2xlbWVudCAo44OQ44Os44Oz44K/44Kk44OzIOOCr+ODrA==?= =?UTF-8?B?44Oh44OzKQ==?= via All-commits) Date: Fri, 10 Jul 2020 17:12:17 -0700 Subject: [all-commits] [llvm/llvm-project] 943660: [openmp] Remove OMPConstants.cpp and replace it by... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 943660fd15f193dc6961597c25541fee2e01ebbb https://github.com/llvm/llvm-project/commit/943660fd15f193dc6961597c25541fee2e01ebbb Author: Valentin Clement Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/include/llvm/Frontend/Directive/DirectiveBase.td M llvm/include/llvm/Frontend/OpenMP/CMakeLists.txt M llvm/include/llvm/Frontend/OpenMP/OMP.td M llvm/lib/Frontend/OpenMP/CMakeLists.txt R llvm/lib/Frontend/OpenMP/OMPConstants.cpp M llvm/test/TableGen/directive1.td M llvm/test/TableGen/directive2.td M llvm/utils/TableGen/DirectiveEmitter.cpp Log Message: ----------- [openmp] Remove OMPConstants.cpp and replace it by OMP.cpp generated by tablegen Summary: Diff D83176 moved the last piece of code from OMPConstants.cpp and now this file was only useful to include the tablegen generated file. This patch replace OMPConstants.cpp with OMP.cpp generated by tablegen. Reviewers: sstefan1, jdoerfert, jdenny Reviewed By: sstefan1 Subscribers: mgorny, yaxunl, hiraditya, guansong, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83583 From all-commits at lists.llvm.org Fri Jul 10 17:14:20 2020 From: all-commits at lists.llvm.org (adrian-prantl via All-commits) Date: Fri, 10 Jul 2020 17:14:20 -0700 Subject: [all-commits] [llvm/llvm-project] 851cc2: Fix nesting of #ifdef Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 851cc2f8f60ad86a8af4f57d23df0c930efdc4da https://github.com/llvm/llvm-project/commit/851cc2f8f60ad86a8af4f57d23df0c930efdc4da Author: Adrian Prantl Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M lldb/tools/debugserver/source/MacOSX/MachProcess.mm Log Message: ----------- Fix nesting of #ifdef This fixes a compile error when building for an arm64 host. Differential Revision: https://reviews.llvm.org/D83582 From all-commits at lists.llvm.org Fri Jul 10 17:21:01 2020 From: all-commits at lists.llvm.org (RotateRight via All-commits) Date: Fri, 10 Jul 2020 17:21:01 -0700 Subject: [all-commits] [llvm/llvm-project] 351f2b: [InstSimplify] add tests for maxnum (PR46627); NFC Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 351f2b3c0ab357d42b3bda319979fa537f1565c3 https://github.com/llvm/llvm-project/commit/351f2b3c0ab357d42b3bda319979fa537f1565c3 Author: Sanjay Patel Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll Log Message: ----------- [InstSimplify] add tests for maxnum (PR46627); NFC From all-commits at lists.llvm.org Fri Jul 10 17:24:45 2020 From: all-commits at lists.llvm.org (Akira Hatanaka via All-commits) Date: Fri, 10 Jul 2020 17:24:45 -0700 Subject: [all-commits] [llvm/llvm-project] e9bf0a: [CodeGen] Store the return value of the target fun... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e9bf0a710c993b932fa69c95ef6d0130fd721115 https://github.com/llvm/llvm-project/commit/e9bf0a710c993b932fa69c95ef6d0130fd721115 Author: Akira Hatanaka Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/lib/CodeGen/CGCXXABI.cpp M clang/lib/CodeGen/CGVTables.cpp M clang/test/CodeGenCXX/trivial_abi.cpp M clang/test/CodeGenObjCXX/objc-struct-cxx-abi.mm Log Message: ----------- [CodeGen] Store the return value of the target function call to the thunk's return value slot directly when the return type is an aggregate instead of doing so via a temporary This fixes PR45997 (https://bugs.llvm.org/show_bug.cgi?id=45997), which is caused by a bug that has existed since we started passing and returning C++ structs with ObjC strong pointer members (see https://reviews.llvm.org/D44908) or structs annotated with trivial_abi directly. rdar://problem/63740936 Differential Revision: https://reviews.llvm.org/D82513 From all-commits at lists.llvm.org Fri Jul 10 17:27:42 2020 From: all-commits at lists.llvm.org (Stefan Stipanovic via All-commits) Date: Fri, 10 Jul 2020 17:27:42 -0700 Subject: [all-commits] [llvm/llvm-project] b8235d: Reland "[OpenMPOpt] ICV Tracking" Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b8235d2bd87158c280dded0a40c0f9ddc9cb519b https://github.com/llvm/llvm-project/commit/b8235d2bd87158c280dded0a40c0f9ddc9cb519b Author: sstefan1 Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/include/llvm/ADT/EnumeratedArray.h M llvm/include/llvm/Transforms/IPO/Attributor.h M llvm/lib/Transforms/IPO/OpenMPOpt.cpp A llvm/test/Transforms/OpenMP/dead_use.ll M llvm/test/Transforms/OpenMP/icv_tracking.ll Log Message: ----------- Reland "[OpenMPOpt] ICV Tracking" This reverts commit 1d542f0ca83fa1411d6501a8d088450d83abd5b8. `recollectUses()` is added to prevent looking at dead uses after Attributor run. This is the first and most basic ICV Tracking implementation. For this first version, we only support deduplication within the same BB. Reviewers: jdoerfert, JonChesterfield, hamax97, jhuber6, uenoku, baziotis, lebedev.ri Differential Revision: https://reviews.llvm.org/D81788 From all-commits at lists.llvm.org Fri Jul 10 17:42:35 2020 From: all-commits at lists.llvm.org (Akira Hatanaka via All-commits) Date: Fri, 10 Jul 2020 17:42:35 -0700 Subject: [all-commits] [llvm/llvm-project] 3a5617: Fix build error Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 3a5617c02e38618bd5534491077afbc7178adf3f https://github.com/llvm/llvm-project/commit/3a5617c02e38618bd5534491077afbc7178adf3f Author: Akira Hatanaka Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/lib/CodeGen/CGCXXABI.cpp Log Message: ----------- Fix build error From all-commits at lists.llvm.org Fri Jul 10 17:47:28 2020 From: all-commits at lists.llvm.org (Mauricio Sifontes via All-commits) Date: Fri, 10 Jul 2020 17:47:28 -0700 Subject: [all-commits] [llvm/llvm-project] 16e9cc: Create TestReducer pass Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 16e9ccb2be7a2ebb04e781bbe4a4f9ce93a06c8e https://github.com/llvm/llvm-project/commit/16e9ccb2be7a2ebb04e781bbe4a4f9ce93a06c8e Author: Mauricio Sifontes Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M mlir/test/lib/CMakeLists.txt A mlir/test/lib/Reducer/CMakeLists.txt A mlir/test/lib/Reducer/MLIRTestReducer.cpp A mlir/test/mlir-reduce/test-reducer-pass.mlir M mlir/tools/mlir-opt/CMakeLists.txt M mlir/tools/mlir-opt/mlir-opt.cpp Log Message: ----------- Create TestReducer pass - Create a pass that generates bugs based on trivially defined behavior for the purpose of testing the MLIR Reduce Tool. - Implement the functionality inside the pass to crash mlir-opt in the presence of an operation with the name "crashOp". - Register the pass as a test pass in the mlir-opt tool. Reviewed by: jpienaar Differential Revision: https://reviews.llvm.org/D83422 From all-commits at lists.llvm.org Fri Jul 10 18:13:37 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?VmFsZW50aW4gQ2xlbWVudCAo44OQ44Os44Oz44K/44Kk44OzIOOCr+ODrA==?= =?UTF-8?B?44Oh44OzKQ==?= via All-commits) Date: Fri, 10 Jul 2020 18:13:37 -0700 Subject: [all-commits] [llvm/llvm-project] 7b67bc: [openmp] Fix warning in generated OMP.cpp Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7b67bc16ef1b954eea5f99e478ccd4840ebe7a06 https://github.com/llvm/llvm-project/commit/7b67bc16ef1b954eea5f99e478ccd4840ebe7a06 Author: Valentin Clement Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/utils/TableGen/DirectiveEmitter.cpp Log Message: ----------- [openmp] Fix warning in generated OMP.cpp From all-commits at lists.llvm.org Fri Jul 10 18:28:09 2020 From: all-commits at lists.llvm.org (Thomas Lively via All-commits) Date: Fri, 10 Jul 2020 18:28:09 -0700 Subject: [all-commits] [llvm/llvm-project] b59c6f: [WebAssembly] Prefer v128.const for constant splats Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b59c6fcaf3fc8fd4c42daeecf0545e47b37b1aa7 https://github.com/llvm/llvm-project/commit/b59c6fcaf3fc8fd4c42daeecf0545e47b37b1aa7 Author: Thomas Lively Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td M llvm/test/CodeGen/WebAssembly/simd-arith.ll M llvm/test/CodeGen/WebAssembly/simd.ll Log Message: ----------- [WebAssembly] Prefer v128.const for constant splats In BUILD_VECTOR lowering, we used to generally prefer using splats over v128.const instructions because v128.const has a very large encoding. However, in d5b7a4e2e8 we switched to preferring consts because they are expected to be more efficient in engines. This patch updates the ISel patterns to match this current preference. Differential Revision: https://reviews.llvm.org/D83581 From all-commits at lists.llvm.org Fri Jul 10 18:31:45 2020 From: all-commits at lists.llvm.org (Vy Nguyen via All-commits) Date: Fri, 10 Jul 2020 18:31:45 -0700 Subject: [all-commits] [llvm/llvm-project] 17ea41: Summary: [clang] Provide a way for WhileStmt to re... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 17ea41e472566823e16d3a04661221fbd18d9fae https://github.com/llvm/llvm-project/commit/17ea41e472566823e16d3a04661221fbd18d9fae Author: Vy Nguyen Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/include/clang/AST/Stmt.h M clang/include/clang/Parse/Parser.h M clang/include/clang/Sema/Sema.h M clang/lib/AST/ASTImporter.cpp M clang/lib/AST/Stmt.cpp M clang/lib/Parse/ParseStmt.cpp M clang/lib/Sema/SemaStmt.cpp M clang/lib/Sema/TreeTransform.h M clang/lib/Serialization/ASTReaderStmt.cpp M clang/lib/Serialization/ASTWriterStmt.cpp M clang/unittests/AST/SourceLocationTest.cpp Log Message: ----------- Summary: [clang] Provide a way for WhileStmt to report the location of its LParen and RParen. Summary: This helps avoiding hacks downstream. Reviewers: shafik Subscribers: martong, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D83529 From all-commits at lists.llvm.org Fri Jul 10 18:33:28 2020 From: all-commits at lists.llvm.org (Ben Shi via All-commits) Date: Fri, 10 Jul 2020 18:33:28 -0700 Subject: [all-commits] [llvm/llvm-project] 28acaf: [RISCV][test] Add a test for (mul (add x, c1), c2)... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 28acaf84230fd246311f1cf18bad34b4bc3e5c0c https://github.com/llvm/llvm-project/commit/28acaf84230fd246311f1cf18bad34b4bc3e5c0c Author: Ben Shi Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: A llvm/test/CodeGen/RISCV/addimm-mulimm.ll Log Message: ----------- [RISCV][test] Add a test for (mul (add x, c1), c2) -> (add (mul x, c2), c1*c2) transformation Reviewed By: lenary, MaskRay Differential Revision: https://reviews.llvm.org/D83159 From all-commits at lists.llvm.org Fri Jul 10 19:34:56 2020 From: all-commits at lists.llvm.org (jsji via All-commits) Date: Fri, 10 Jul 2020 19:34:56 -0700 Subject: [all-commits] [llvm/llvm-project] 3e3acc: [PowerPC][MachinePipeliner] Enable pipeliner if ha... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 3e3acc1cc773f61470d815165704288118cb27e1 https://github.com/llvm/llvm-project/commit/3e3acc1cc773f61470d815165704288118cb27e1 Author: Jinsong Ji Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/lib/Target/PowerPC/PPCSubtarget.cpp M llvm/test/CodeGen/PowerPC/sms-remark.ll Log Message: ----------- [PowerPC][MachinePipeliner] Enable pipeliner if hasInstrSchedModel P9 is the only one with InstrSchedModel, but we may have more in the future, we should not hardcoded it to P9, check hasInstrSchedModel instead. Reviewed By: hfinkel Differential Revision: https://reviews.llvm.org/D83590 From all-commits at lists.llvm.org Fri Jul 10 20:17:13 2020 From: all-commits at lists.llvm.org (Pengfei Wang via All-commits) Date: Fri, 10 Jul 2020 20:17:13 -0700 Subject: [all-commits] [llvm/llvm-project] e62809: [X86][MMX] Optimize MMX shift intrinsics. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e6280925249c87c11568a305a074581cc073bd45 https://github.com/llvm/llvm-project/commit/e6280925249c87c11568a305a074581cc073bd45 Author: Wang, Pengfei Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/lib/Target/X86/X86ISelLowering.cpp M llvm/test/CodeGen/X86/mmx-intrinsics.ll Log Message: ----------- [X86][MMX] Optimize MMX shift intrinsics. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D83534 From all-commits at lists.llvm.org Fri Jul 10 20:21:05 2020 From: all-commits at lists.llvm.org (Yaxun (Sam) Liu via All-commits) Date: Fri, 10 Jul 2020 20:21:05 -0700 Subject: [all-commits] [llvm/llvm-project] 849d44: [HIP] Fix rocm detection Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 849d4405f534434ebbda9889f24ff20122e34671 https://github.com/llvm/llvm-project/commit/849d4405f534434ebbda9889f24ff20122e34671 Author: Yaxun (Sam) Liu Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M clang/include/clang/Basic/DiagnosticDriverKinds.td M clang/include/clang/Driver/Options.td M clang/lib/CodeGen/CGCUDANV.cpp M clang/lib/Driver/ToolChains/AMDGPU.cpp M clang/lib/Driver/ToolChains/Clang.cpp M clang/lib/Driver/ToolChains/Gnu.cpp M clang/lib/Driver/ToolChains/HIP.cpp M clang/lib/Driver/ToolChains/MSVC.cpp M clang/lib/Driver/ToolChains/ROCm.h A clang/test/Driver/Inputs/rocm/bin/.hipVersion M clang/test/Driver/hip-include-path.hip A clang/test/Driver/hip-launch-api.hip A clang/test/Driver/hip-std.hip A clang/test/Driver/hip-version.hip M clang/test/Driver/rocm-detect.cl M clang/test/Driver/rocm-detect.hip M clang/test/Driver/rocm-not-found.cl Log Message: ----------- [HIP] Fix rocm detection Do not detect device library by default in rocm detector. Only detect device library in Rocm and HIP toolchain. Separate detection of HIP runtime and Rocm device library. Detect rocm path by version file in host toolchains. Also added detecting rocm version and printing rocm installation path and version with -v. Fixed include path and device library detection for ROCm 3.5. Added --hip-version option. Renamed --hip-device-lib-path to --rocm-device-lib-path. Fixed default value for -fhip-new-launch-api. Added default -std option for HIP. Differential Revision: https://reviews.llvm.org/D82930 From all-commits at lists.llvm.org Fri Jul 10 21:35:11 2020 From: all-commits at lists.llvm.org (Jonas Devlieghere via All-commits) Date: Fri, 10 Jul 2020 21:35:11 -0700 Subject: [all-commits] [llvm/llvm-project] 8ee225: [lldb/Test] Fix missing yaml2obj in Xcode standalo... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 8ee225744f109b19e7d2412cbc50d4586991d8cf https://github.com/llvm/llvm-project/commit/8ee225744f109b19e7d2412cbc50d4586991d8cf Author: Jonas Devlieghere Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M lldb/packages/Python/lldbsuite/test/configuration.py M lldb/packages/Python/lldbsuite/test/dotest.py M lldb/packages/Python/lldbsuite/test/dotest_args.py M lldb/packages/Python/lldbsuite/test/lldbtest.py M lldb/test/API/CMakeLists.txt M lldb/test/API/lit.cfg.py M lldb/test/API/lit.site.cfg.py.in M lldb/utils/lldb-dotest/CMakeLists.txt M lldb/utils/lldb-dotest/lldb-dotest.in Log Message: ----------- [lldb/Test] Fix missing yaml2obj in Xcode standalone build. Rather than trying to find the yaml2obj from dotest we should pass it in like we do for dsymutil and FileCheck. From all-commits at lists.llvm.org Fri Jul 10 22:42:40 2020 From: all-commits at lists.llvm.org (Johannes Doerfert via All-commits) Date: Fri, 10 Jul 2020 22:42:40 -0700 Subject: [all-commits] [llvm/llvm-project] b5667d: [OpenMP][CUDA] Fix std::complex in GPU regions Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b5667d00e0447747419a783697b84a37f59ce055 https://github.com/llvm/llvm-project/commit/b5667d00e0447747419a783697b84a37f59ce055 Author: Johannes Doerfert Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M clang/lib/Headers/__clang_cuda_complex_builtins.h M clang/lib/Headers/__clang_cuda_math.h M clang/test/Headers/nvptx_device_math_complex.c M clang/test/Headers/nvptx_device_math_complex.cpp Log Message: ----------- [OpenMP][CUDA] Fix std::complex in GPU regions The old way worked to some degree for C++-mode but in C mode we actually tried to introduce variants of macros (e.g., isinf). To make both modes work reliably we get rid of those extra variants and directly use NVIDIA intrinsics in the complex implementation. While this has to be revisited as we add other GPU targets which want to reuse the code, it should be fine for now. Reviewed By: tra, JonChesterfield, yaxunl Differential Revision: https://reviews.llvm.org/D83591 From all-commits at lists.llvm.org Fri Jul 10 22:53:12 2020 From: all-commits at lists.llvm.org (Eric Christopher via All-commits) Date: Fri, 10 Jul 2020 22:53:12 -0700 Subject: [all-commits] [llvm/llvm-project] 256e4d: Fix signed vs unsigned comparison warnings a diffe... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 256e4d46a67517056d1e45d71c02424db01eff44 https://github.com/llvm/llvm-project/commit/256e4d46a67517056d1e45d71c02424db01eff44 Author: Eric Christopher Date: 2020-07-10 (Fri, 10 Jul 2020) Changed paths: M lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp M lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp Log Message: ----------- Fix signed vs unsigned comparison warnings a different way. From all-commits at lists.llvm.org Fri Jul 10 22:53:59 2020 From: all-commits at lists.llvm.org (Johannes Doerfert via All-commits) Date: Fri, 10 Jul 2020 22:53:59 -0700 Subject: [all-commits] [llvm/llvm-project] c98699: [OpenMP][NFC] Remove unused (always fixed) arguments Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c98699582a6333bbe76ff7853b4cd6beb45754cf https://github.com/llvm/llvm-project/commit/c98699582a6333bbe76ff7853b4cd6beb45754cf Author: Johannes Doerfert Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp M clang/test/OpenMP/nvptx_data_sharing.cpp M clang/test/OpenMP/nvptx_parallel_codegen.cpp M clang/test/OpenMP/nvptx_target_codegen.cpp M clang/test/OpenMP/nvptx_target_teams_codegen.cpp M clang/test/OpenMP/nvptx_target_teams_distribute_codegen.cpp M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def M openmp/libomptarget/deviceRTLs/common/src/parallel.cu M openmp/libomptarget/deviceRTLs/interface.h Log Message: ----------- [OpenMP][NFC] Remove unused (always fixed) arguments There are various runtime calls in the device runtime with unused, or always fixed, arguments. This is bad for all sorts of reasons. Clean up two before as we match them in OpenMPOpt now. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D83268 Commit: b726c55709a0a5e31a26c8e381544348c5dcd402 https://github.com/llvm/llvm-project/commit/b726c55709a0a5e31a26c8e381544348c5dcd402 Author: Johannes Doerfert Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/lib/Transforms/IPO/OpenMPOpt.cpp Log Message: ----------- [OpenMP][NFC] Fix some typos Commit: 54bd3751ceebe6eb67804a1ed8be72943817852f https://github.com/llvm/llvm-project/commit/54bd3751ceebe6eb67804a1ed8be72943817852f Author: Johannes Doerfert Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/lib/Transforms/IPO/OpenMPOpt.cpp Log Message: ----------- [OpenMP][NFC] Add convenient helper and early exit check Compare: https://github.com/llvm/llvm-project/compare/256e4d46a675...54bd3751ceeb From all-commits at lists.llvm.org Fri Jul 10 23:50:20 2020 From: all-commits at lists.llvm.org (Johannes Doerfert via All-commits) Date: Fri, 10 Jul 2020 23:50:20 -0700 Subject: [all-commits] [llvm/llvm-project] e8039a: [OpenMP] Identify GPU kernels (aka. OpenMP target ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e8039ad4def0c4a2499cfbaba38bcc8ef48dee92 https://github.com/llvm/llvm-project/commit/e8039ad4def0c4a2499cfbaba38bcc8ef48dee92 Author: Johannes Doerfert Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/include/llvm/Transforms/IPO/OpenMPOpt.h M llvm/lib/Transforms/IPO/OpenMPOpt.cpp A llvm/test/Transforms/OpenMP/gpu_kernel_detection_remarks.ll Log Message: ----------- [OpenMP] Identify GPU kernels (aka. OpenMP target regions) We now identify GPU kernels, that is entry points into the GPU code. These kernels (can) correspond to OpenMP target regions. With this patch we identify and on request print them via remarks. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D83269 Commit: 624d34afff5de099a6f84e678c81055556c3d42d https://github.com/llvm/llvm-project/commit/624d34afff5de099a6f84e678c81055556c3d42d Author: Johannes Doerfert Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/lib/Transforms/IPO/OpenMPOpt.cpp Log Message: ----------- [OpenMP] Compute a proper module slice for the CGSCCC pass The module slice describes which functions we can analyze and transform while working on an SCC as part of the CGSCC OpenMPOpt pass. So far, we simply restricted it to the SCC. In a follow up we will need to have a bigger scope which is why this patch introduces a proper identification of the module slice. In short, everything that has a transitive reference to a function in the SCC or is transitively referenced by one is fair game. Reviewed By: sstefan1 Differential Revision: https://reviews.llvm.org/D83270 Commit: 5b0581aedc2252481462970503d1085dc27e65eb https://github.com/llvm/llvm-project/commit/5b0581aedc2252481462970503d1085dc27e65eb Author: Johannes Doerfert Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/lib/Transforms/IPO/OpenMPOpt.cpp A llvm/test/Transforms/OpenMP/gpu_state_machine_function_ptr_replacement.ll Log Message: ----------- [OpenMP] Replace function pointer uses in GPU state machine In non-SPMD mode we create a state machine like code to identify the parallel region the GPU worker threads should execute next. The identification uses the parallel region function pointer as that allows it to work even if the kernel (=target region) and the parallel region are in separate TUs. However, taking the address of a function comes with various downsides. With this patch we will identify the most common situation and replace the function pointer use with a dummy global symbol (for identification purposes only). That means, if the parallel region is only called from a single target region (or kernel), we do not use the function pointer of the parallel region to identify it but a new global symbol. Fixes PR46450. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D83271 Compare: https://github.com/llvm/llvm-project/compare/54bd3751ceeb...5b0581aedc22 From all-commits at lists.llvm.org Sat Jul 11 00:18:23 2020 From: all-commits at lists.llvm.org (Mehdi Amini via All-commits) Date: Sat, 11 Jul 2020 00:18:23 -0700 Subject: [all-commits] [llvm/llvm-project] c44702: Remove unused variable `KMPC_KERNEL_PARALLEL_WORK_... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c44702bcdf8aa829e28399d0d4ac4bfc5ac4fff1 https://github.com/llvm/llvm-project/commit/c44702bcdf8aa829e28399d0d4ac4bfc5ac4fff1 Author: Mehdi Amini Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/lib/Transforms/IPO/OpenMPOpt.cpp Log Message: ----------- Remove unused variable `KMPC_KERNEL_PARALLEL_WORK_FN_PTR_ARG_NO` (NFC) This fixes a compiler warning. From all-commits at lists.llvm.org Sat Jul 11 00:40:09 2020 From: all-commits at lists.llvm.org (Johannes Doerfert via All-commits) Date: Sat, 11 Jul 2020 00:40:09 -0700 Subject: [all-commits] [llvm/llvm-project] dce6bc: [OpenMP][FIX] remove unused variable and long if-e... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: dce6bc18c4e1d086182f9faa3f984912566a3c20 https://github.com/llvm/llvm-project/commit/dce6bc18c4e1d086182f9faa3f984912566a3c20 Author: Johannes Doerfert Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/lib/Transforms/IPO/OpenMPOpt.cpp Log Message: ----------- [OpenMP][FIX] remove unused variable and long if-else chain MSVC throws an error if you use "too many" if-else in a row: `Frontend/OpenMP/OMPKinds.def(570): fatal error C1061: compiler limit: blocks nested too deeply` We work around it now... From all-commits at lists.llvm.org Sat Jul 11 02:13:46 2020 From: all-commits at lists.llvm.org (Nathan James via All-commits) Date: Sat, 11 Jul 2020 02:13:46 -0700 Subject: [all-commits] [llvm/llvm-project] c3bdc9: [clang-tidy] Reworked enum options handling(again) Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c3bdc9814d947946bf8e1062f6bf41b7f8813f80 https://github.com/llvm/llvm-project/commit/c3bdc9814d947946bf8e1062f6bf41b7f8813f80 Author: Nathan James Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M clang-tools-extra/clang-tidy/ClangTidyCheck.cpp M clang-tools-extra/clang-tidy/ClangTidyCheck.h M clang-tools-extra/clang-tidy/abseil/StringFindStartswithCheck.cpp M clang-tools-extra/clang-tidy/cppcoreguidelines/InitVariablesCheck.cpp M clang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp M clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp M clang-tools-extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp M clang-tools-extra/clang-tidy/modernize/PassByValueCheck.cpp M clang-tools-extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp M clang-tools-extra/clang-tidy/modernize/ReplaceRandomShuffleCheck.cpp M clang-tools-extra/clang-tidy/performance/MoveConstructorInitCheck.cpp M clang-tools-extra/clang-tidy/performance/TypePromotionInMathFnCheck.cpp M clang-tools-extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.h M clang-tools-extra/clang-tidy/utils/IncludeSorter.cpp M clang-tools-extra/clang-tidy/utils/IncludeSorter.h M clang-tools-extra/clang-tidy/utils/TransformerClangTidyCheck.cpp M clang-tools-extra/unittests/clang-tidy/ClangTidyOptionsTest.cpp Log Message: ----------- [clang-tidy] Reworked enum options handling(again) Reland b9306fd after fixing the issue causing mac builds to fail unittests. Following on from D77085, I was never happy with the passing a mapping to the option get/store functions. This patch addresses this by using explicit specializations to handle the serializing and deserializing of enum options. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D82188 From all-commits at lists.llvm.org Sat Jul 11 02:43:21 2020 From: all-commits at lists.llvm.org (Nathan James via All-commits) Date: Sat, 11 Jul 2020 02:43:21 -0700 Subject: [all-commits] [llvm/llvm-project] 4abdcd: Fix gn builds after 943660fd1 Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4abdcdb45ee22d77dd64a71cb41e967d35361280 https://github.com/llvm/llvm-project/commit/4abdcdb45ee22d77dd64a71cb41e967d35361280 Author: Nathan James Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/utils/gn/secondary/llvm/lib/Frontend/OpenMP/BUILD.gn Log Message: ----------- Fix gn builds after 943660fd1 From all-commits at lists.llvm.org Sat Jul 11 02:45:40 2020 From: all-commits at lists.llvm.org (Nathan James via All-commits) Date: Sat, 11 Jul 2020 02:45:40 -0700 Subject: [all-commits] [llvm/llvm-project] 8fb91d: Revert "Fix gn builds after 943660fd1" Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 8fb91dfeed1bd1ffdfd31a345e1bf7cf0b7c86e2 https://github.com/llvm/llvm-project/commit/8fb91dfeed1bd1ffdfd31a345e1bf7cf0b7c86e2 Author: Nathan James Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/utils/gn/secondary/llvm/lib/Frontend/OpenMP/BUILD.gn Log Message: ----------- Revert "Fix gn builds after 943660fd1" This reverts commit 4abdcdb45ee22d77dd64a71cb41e967d35361280. From all-commits at lists.llvm.org Sat Jul 11 03:42:25 2020 From: all-commits at lists.llvm.org (Nathan James via All-commits) Date: Sat, 11 Jul 2020 03:42:25 -0700 Subject: [all-commits] [llvm/llvm-project] 35af6f: Reland Fix gn build after 943660f Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 35af6f11e04b777b73035f59bfabb68a08ca4ad9 https://github.com/llvm/llvm-project/commit/35af6f11e04b777b73035f59bfabb68a08ca4ad9 Author: Nathan James Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/utils/gn/secondary/llvm/lib/Frontend/OpenMP/BUILD.gn Log Message: ----------- Reland Fix gn build after 943660f From all-commits at lists.llvm.org Sat Jul 11 03:44:54 2020 From: all-commits at lists.llvm.org (Nico Weber via All-commits) Date: Sat, 11 Jul 2020 03:44:54 -0700 Subject: [all-commits] [llvm/llvm-project] 09a95f: [gn build] (manually) merge 943660fd15f193 Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 09a95f51fb1fb86442418d891f67a43e2a3ca698 https://github.com/llvm/llvm-project/commit/09a95f51fb1fb86442418d891f67a43e2a3ca698 Author: Nico Weber Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/lib/Frontend/OpenMP/CMakeLists.txt M llvm/utils/gn/secondary/llvm/include/llvm/Frontend/OpenMP/BUILD.gn M llvm/utils/gn/secondary/llvm/lib/Frontend/OpenMP/BUILD.gn Log Message: ----------- [gn build] (manually) merge 943660fd15f193 From all-commits at lists.llvm.org Sat Jul 11 03:54:04 2020 From: all-commits at lists.llvm.org (Roman Lebedev via All-commits) Date: Sat, 11 Jul 2020 03:54:04 -0700 Subject: [all-commits] [llvm/llvm-project] 4500db: Revert "Reland "[InstCombine] Lower infinite combi... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4500db8c59621a31c622862a2946457fdee481ce https://github.com/llvm/llvm-project/commit/4500db8c59621a31c622862a2946457fdee481ce Author: Roman Lebedev Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp Log Message: ----------- Revert "Reland "[InstCombine] Lower infinite combine loop detection thresholds""" And there's a new hit: https://bugs.llvm.org/show_bug.cgi?id=46680 This reverts commit 7103c87596efccd532e9fe04a6ba6a200fed8481. From all-commits at lists.llvm.org Sat Jul 11 04:03:07 2020 From: all-commits at lists.llvm.org (avl-llvm via All-commits) Date: Sat, 11 Jul 2020 04:03:07 -0700 Subject: [all-commits] [llvm/llvm-project] f7907e: [TRE] allow TRE for non-capturing calls. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f7907e9d223d8484f9afd457ba614c2db2ae4743 https://github.com/llvm/llvm-project/commit/f7907e9d223d8484f9afd457ba614c2db2ae4743 Author: Alexey Lapshin Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp M llvm/test/Transforms/TailCallElim/basic.ll A llvm/test/Transforms/TailCallElim/tre-multiple-exits.ll A llvm/test/Transforms/TailCallElim/tre-noncapturing-alloca-calls.ll Log Message: ----------- [TRE] allow TRE for non-capturing calls. The current implementation of Tail Recursion Elimination has a very restricted pre-requisite: AllCallsAreTailCalls. i.e. it requires that no function call receives a pointer to local stack. Generally, function calls that receive a pointer to local stack but do not capture it - should not break TRE. This fix allows us to do TRE if it is proved that no pointer to the local stack is escaped. Reviewed by: efriedma Differential Revision: https://reviews.llvm.org/D82085 From all-commits at lists.llvm.org Sat Jul 11 04:22:28 2020 From: all-commits at lists.llvm.org (cdevadas via All-commits) Date: Sat, 11 Jul 2020 04:22:28 -0700 Subject: [all-commits] [llvm/llvm-project] d7a056: [AMDGPU] Move LowerSwitch pass to CodeGenPrepare. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: d7a05698efcfa6c596bcaadd8d5154612990f8f3 https://github.com/llvm/llvm-project/commit/d7a05698efcfa6c596bcaadd8d5154612990f8f3 Author: Christudasan Devadasan Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp A llvm/test/CodeGen/AMDGPU/switch-default-block-unreachable.ll Log Message: ----------- [AMDGPU] Move LowerSwitch pass to CodeGenPrepare. It is possible that LowerSwitch pass leaves certain blocks unreachable from the entry. If not removed, these dead blocks can cause undefined behavior in the subsequent passes. It caused a crash in the AMDGPU backend after the instruction selection when a PHI node has its incoming values coming from these unreachable blocks. In the AMDGPU pass flow, the last invocation of UnreachableBlockElim precedes where LowerSwitch is currently placed and eventually missed out on the opportunity to get these blocks eliminated. This patch ensures that LowerSwitch pass get inserted earlier to make use of the existing unreachable block elimination pass. Reviewed By: sameerds, arsenm Differential Revision: https://reviews.llvm.org/D83584 From all-commits at lists.llvm.org Sat Jul 11 05:36:36 2020 From: all-commits at lists.llvm.org (Stefan Stipanovic via All-commits) Date: Sat, 11 Jul 2020 05:36:36 -0700 Subject: [all-commits] [llvm/llvm-project] 850b15: [Attributor][NFC] Add more debug output for delete... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 850b150cff3dfb5f2113d9c3c483e2d22b318ced https://github.com/llvm/llvm-project/commit/850b150cff3dfb5f2113d9c3c483e2d22b318ced Author: sstefan1 Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/lib/Transforms/IPO/Attributor.cpp Log Message: ----------- [Attributor][NFC] Add more debug output for deleted functions From all-commits at lists.llvm.org Sat Jul 11 07:10:05 2020 From: all-commits at lists.llvm.org (darkbuck via All-commits) Date: Sat, 11 Jul 2020 07:10:05 -0700 Subject: [all-commits] [llvm/llvm-project] 0b4cf8: [fix-irreducible] Skip unreachable predecessors. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 0b4cf802fad4f504aefbeb70c061e60cff10d153 https://github.com/llvm/llvm-project/commit/0b4cf802fad4f504aefbeb70c061e60cff10d153 Author: Michael Liao Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/lib/Transforms/Utils/FixIrreducible.cpp A llvm/test/Transforms/FixIrreducible/unreachable.ll Log Message: ----------- [fix-irreducible] Skip unreachable predecessors. Summary: - Skip unreachable predecessors during header detection in SCC. Those unreachable blocks would be generated in the switch lowering pass in the corner cases or other frontends. Even though they could be removed through the CFG simplification, we should skip them during header detection. Reviewers: sameerds Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83562 Commit: 81db614411bdc8f95e5b7e2acaf551507eb7201b https://github.com/llvm/llvm-project/commit/81db614411bdc8f95e5b7e2acaf551507eb7201b Author: Michael Liao Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/lib/Transforms/IPO/OpenMPOpt.cpp Log Message: ----------- Fix `-Wunused-variable` warnings. NFC. Compare: https://github.com/llvm/llvm-project/compare/850b150cff3d...81db614411bd From all-commits at lists.llvm.org Sat Jul 11 09:06:36 2020 From: all-commits at lists.llvm.org (yashjain1129 via All-commits) Date: Sat, 11 Jul 2020 09:06:36 -0700 Subject: [all-commits] [llvm/llvm-project] 102828: [MLIR] Parallelize affine.for op to 1-D affine.par... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 102828249c8ec9ab43ee84f496274f2853ed899c https://github.com/llvm/llvm-project/commit/102828249c8ec9ab43ee84f496274f2853ed899c Author: Yash Jain Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M mlir/include/mlir/Dialect/Affine/Passes.h M mlir/include/mlir/Dialect/Affine/Passes.td M mlir/include/mlir/Dialect/Affine/Utils.h A mlir/lib/Dialect/Affine/Transforms/AffineParallelize.cpp M mlir/lib/Dialect/Affine/Transforms/CMakeLists.txt M mlir/lib/Dialect/Affine/Utils/Utils.cpp R mlir/test/Dialect/Affine/parallelism-detection.mlir A mlir/test/Dialect/Affine/parallelize.mlir M mlir/test/lib/Dialect/Affine/CMakeLists.txt R mlir/test/lib/Dialect/Affine/TestParallelismDetection.cpp M mlir/tools/mlir-opt/mlir-opt.cpp Log Message: ----------- [MLIR] Parallelize affine.for op to 1-D affine.parallel op Introduce pass to convert parallel affine.for op into 1-D affine.parallel op. Run using --affine-parallelize. Removes test-detect-parallel: pass for checking parallel affine.for ops. Signed-off-by: Yash Jain Differential Revision: https://reviews.llvm.org/D83193 From all-commits at lists.llvm.org Sat Jul 11 09:45:30 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?VmFsZW50aW4gQ2xlbWVudCAo44OQ44Os44Oz44K/44Kk44OzIOOCr+ODrA==?= =?UTF-8?B?44Oh44OzKQ==?= via All-commits) Date: Sat, 11 Jul 2020 09:45:30 -0700 Subject: [all-commits] [llvm/llvm-project] 6e42a4: [flang][openmp] Check clauses allowed semantic wit... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6e42a417bacbfd5a1f58b0ccb7c9b34ff9e54523 https://github.com/llvm/llvm-project/commit/6e42a417bacbfd5a1f58b0ccb7c9b34ff9e54523 Author: Valentin Clement Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M flang/lib/Semantics/check-omp-structure.cpp M flang/lib/Semantics/check-omp-structure.h M flang/test/Semantics/omp-clause-validity01.f90 M llvm/include/llvm/Frontend/Directive/DirectiveBase.td M llvm/include/llvm/Frontend/OpenMP/CMakeLists.txt M llvm/include/llvm/Frontend/OpenMP/OMP.td M llvm/test/TableGen/directive1.td M llvm/test/TableGen/directive2.td M llvm/utils/TableGen/DirectiveEmitter.cpp M llvm/utils/TableGen/TableGen.cpp M llvm/utils/TableGen/TableGenBackends.h Log Message: ----------- [flang][openmp] Check clauses allowed semantic with tablegen generated map Summary: This patch is enabling the generation of clauses enum sets for semantics check in Flang through tablegen. Enum sets and directive - sets map is generated by the new tablegen infrsatructure for OpenMP and other directive languages. The semantic checks for OpenMP are modified to use this newly generated map. Reviewers: DavidTruby, sscalpone, kiranchandramohan, ichoyjx, jdoerfert Reviewed By: DavidTruby, ichoyjx Subscribers: mgorny, yaxunl, hiraditya, guansong, sstefan1, aaron.ballman, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83326 From all-commits at lists.llvm.org Sat Jul 11 09:49:05 2020 From: all-commits at lists.llvm.org (Yaxun (Sam) Liu via All-commits) Date: Sat, 11 Jul 2020 09:49:05 -0700 Subject: [all-commits] [llvm/llvm-project] 5d2c3e: Fix regression due to test hip-version.hip Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 5d2c3e031a6861b3e95673d0e238c09938dd9c0d https://github.com/llvm/llvm-project/commit/5d2c3e031a6861b3e95673d0e238c09938dd9c0d Author: Yaxun (Sam) Liu Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M clang/lib/Driver/ToolChains/AMDGPU.cpp M clang/lib/Driver/ToolChains/AMDGPU.h M clang/lib/Driver/ToolChains/Darwin.cpp M clang/lib/Driver/ToolChains/Darwin.h M clang/lib/Driver/ToolChains/FreeBSD.cpp M clang/lib/Driver/ToolChains/FreeBSD.h M clang/lib/Driver/ToolChains/HIP.cpp M clang/lib/Driver/ToolChains/MinGW.cpp M clang/lib/Driver/ToolChains/MinGW.h M clang/test/Driver/hip-version.hip Log Message: ----------- Fix regression due to test hip-version.hip Added RocmInstallationDetector to Darwin and MinGW. Fixed duplicate ROCm detector in ROCm toolchain. From all-commits at lists.llvm.org Sat Jul 11 09:59:42 2020 From: all-commits at lists.llvm.org (Johannes Doerfert via All-commits) Date: Sat, 11 Jul 2020 09:59:42 -0700 Subject: [all-commits] [llvm/llvm-project] 593743: [OpenMP] Silence unused symbol warning with proper... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 5937434677afc5be47977f8d340ff499589f2ef3 https://github.com/llvm/llvm-project/commit/5937434677afc5be47977f8d340ff499589f2ef3 Author: Johannes Doerfert Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M openmp/libomptarget/deviceRTLs/common/src/reduction.cu Log Message: ----------- [OpenMP] Silence unused symbol warning with proper ifdefs From all-commits at lists.llvm.org Sat Jul 11 10:00:23 2020 From: all-commits at lists.llvm.org (=?UTF-8?B?VmFsZW50aW4gQ2xlbWVudCAo44OQ44Os44Oz44K/44Kk44OzIOOCr+ODrA==?= =?UTF-8?B?44Oh44OzKQ==?= via All-commits) Date: Sat, 11 Jul 2020 10:00:23 -0700 Subject: [all-commits] [llvm/llvm-project] 8f183d: [openmp] Remove unused variable in DirectiveEmitter Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 8f183d9f3d13d66a679bd449b1f5d34942560028 https://github.com/llvm/llvm-project/commit/8f183d9f3d13d66a679bd449b1f5d34942560028 Author: clementval Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/utils/TableGen/DirectiveEmitter.cpp Log Message: ----------- [openmp] Remove unused variable in DirectiveEmitter From all-commits at lists.llvm.org Sat Jul 11 12:39:46 2020 From: all-commits at lists.llvm.org (stephenneuendorffer via All-commits) Date: Sat, 11 Jul 2020 12:39:46 -0700 Subject: [all-commits] [llvm/llvm-project] d8c350: [examples] fix ExceptionDemo Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: d8c35031a39e7b1bf9524ddd325c7a91dbb05f1d https://github.com/llvm/llvm-project/commit/d8c35031a39e7b1bf9524ddd325c7a91dbb05f1d Author: Stephen Neuendorffer Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/examples/ExceptionDemo/ExceptionDemo.cpp Log Message: ----------- [examples] fix ExceptionDemo Code didn't compile in a release build. Guard debug output with ifndef NDEBUG. Differential Revision: https://reviews.llvm.org/D83628 From all-commits at lists.llvm.org Sat Jul 11 12:55:14 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Sat, 11 Jul 2020 12:55:14 -0700 Subject: [all-commits] [llvm/llvm-project] 47872a: [X86] Add test cases for missed opportunities to u... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 47872adf6ae236c798d05b7229e00f363ab2fe0f https://github.com/llvm/llvm-project/commit/47872adf6ae236c798d05b7229e00f363ab2fe0f Author: Craig Topper Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/test/CodeGen/X86/avx512-logic.ll M llvm/test/CodeGen/X86/avx512vl-logic.ll Log Message: ----------- [X86] Add test cases for missed opportunities to use vpternlog due to a bitcast between the logic ops. These test cases fail to use vpternlog because the AND was converted to a blend shuffle and then converted back to AND during shuffle lowering. This results in the AND having a different type than it started with. This prevents our custom matching logic from seeing the two logic ops. From all-commits at lists.llvm.org Sat Jul 11 13:06:08 2020 From: all-commits at lists.llvm.org (Mehdi Amini via All-commits) Date: Sat, 11 Jul 2020 13:06:08 -0700 Subject: [all-commits] [llvm/llvm-project] 3b04af: Fix some memory leak in MLIRContext with respect t... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 3b04af4d84fbffa6a2e90cfd187ed01092b45684 https://github.com/llvm/llvm-project/commit/3b04af4d84fbffa6a2e90cfd187ed01092b45684 Author: Mehdi Amini Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M mlir/lib/IR/MLIRContext.cpp Log Message: ----------- Fix some memory leak in MLIRContext with respect to registered types/attributes interfaces Differential Revision: https://reviews.llvm.org/D83618 Commit: 44b0b7cf6605c41728f445c363415b9b6f48db04 https://github.com/llvm/llvm-project/commit/44b0b7cf6605c41728f445c363415b9b6f48db04 Author: Mehdi Amini Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M mlir/lib/Parser/Parser.cpp Log Message: ----------- Fix one memory leak in the MLIRParser by using std::unique_ptr to hold the new block pointer This is NFC when there is no parsing error. Differential Revision: https://reviews.llvm.org/D83619 Compare: https://github.com/llvm/llvm-project/compare/47872adf6ae2...44b0b7cf6605 From all-commits at lists.llvm.org Sat Jul 11 13:21:33 2020 From: all-commits at lists.llvm.org (darkbuck via All-commits) Date: Sat, 11 Jul 2020 13:21:33 -0700 Subject: [all-commits] [llvm/llvm-project] b8409c: Fix `-Wreturn-type` warning. NFC. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b8409c03ed90807f3d49c7d98dceea98cf461f7a https://github.com/llvm/llvm-project/commit/b8409c03ed90807f3d49c7d98dceea98cf461f7a Author: Michael Liao Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M clang/lib/Tooling/Syntax/BuildTree.cpp Log Message: ----------- Fix `-Wreturn-type` warning. NFC. From all-commits at lists.llvm.org Sat Jul 11 14:32:10 2020 From: all-commits at lists.llvm.org (Nikita Popov via All-commits) Date: Sat, 11 Jul 2020 14:32:10 -0700 Subject: [all-commits] [llvm/llvm-project] 679206: [NewGVN] Regenerate test checks (NFC) Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6792069a3fdb412d06dd3cc42a6181c6fb7db860 https://github.com/llvm/llvm-project/commit/6792069a3fdb412d06dd3cc42a6181c6fb7db860 Author: Nikita Popov Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/test/Transforms/NewGVN/assumes.ll Log Message: ----------- [NewGVN] Regenerate test checks (NFC) From all-commits at lists.llvm.org Sat Jul 11 16:42:28 2020 From: all-commits at lists.llvm.org (Kuter Dinel via All-commits) Date: Sat, 11 Jul 2020 16:42:28 -0700 Subject: [all-commits] [llvm/llvm-project] 4dbe82: [Attributor] Introudce attribute seed allow list. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4dbe82eef34e5ab8a9b0dabdbca194ff6858fc7f https://github.com/llvm/llvm-project/commit/4dbe82eef34e5ab8a9b0dabdbca194ff6858fc7f Author: kuter Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M llvm/include/llvm/Transforms/IPO/Attributor.h M llvm/lib/Transforms/IPO/Attributor.cpp A llvm/test/Transforms/Attributor/allow_list.ll Log Message: ----------- [Attributor] Introudce attribute seed allow list. From all-commits at lists.llvm.org Sat Jul 11 16:45:24 2020 From: all-commits at lists.llvm.org (Fangrui Song via All-commits) Date: Sat, 11 Jul 2020 16:45:24 -0700 Subject: [all-commits] [llvm/llvm-project] d1bcdd: [llvm-objdump][test] Move tests after dc4a6f5db4f0... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: d1bcddb5c1fe7135e712b0e08874ed64c70f3e49 https://github.com/llvm/llvm-project/commit/d1bcddb5c1fe7135e712b0e08874ed64c70f3e49 Author: Fangrui Song Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: R llvm/test/tools/llvm-objdump/ARM/Inputs/debug.c R llvm/test/tools/llvm-objdump/ARM/Inputs/wide-char.c R llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf4-sections.s R llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf4.s R llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf5-sections.s R llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf5.s R llvm/test/tools/llvm-objdump/ARM/debug-vars-wide-chars.s R llvm/test/tools/llvm-objdump/ARM/lit.local.cfg A llvm/test/tools/llvm-objdump/ELF/ARM/Inputs/debug.c A llvm/test/tools/llvm-objdump/ELF/ARM/Inputs/wide-char.c A llvm/test/tools/llvm-objdump/ELF/ARM/debug-vars-dwarf4-sections.s A llvm/test/tools/llvm-objdump/ELF/ARM/debug-vars-dwarf4.s A llvm/test/tools/llvm-objdump/ELF/ARM/debug-vars-dwarf5-sections.s A llvm/test/tools/llvm-objdump/ELF/ARM/debug-vars-dwarf5.s A llvm/test/tools/llvm-objdump/ELF/ARM/debug-vars-wide-chars.s A llvm/test/tools/llvm-objdump/ELF/PowerPC/debug-vars.s A llvm/test/tools/llvm-objdump/ELF/RISCV/lit.local.cfg A llvm/test/tools/llvm-objdump/ELF/RISCV/unknown-arch-attr.test R llvm/test/tools/llvm-objdump/PowerPC/debug-vars.s R llvm/test/tools/llvm-objdump/PowerPC/lit.local.cfg R llvm/test/tools/llvm-objdump/RISCV/lit.local.cfg R llvm/test/tools/llvm-objdump/RISCV/unknown-arch-attr.test Log Message: ----------- [llvm-objdump][test] Move tests after dc4a6f5db4f0178bae43ef615cc8902c759d6195 Move RISCV/ to ELF/RISCV/ as well. From all-commits at lists.llvm.org Sat Jul 11 20:49:58 2020 From: all-commits at lists.llvm.org (ZequanWu via All-commits) Date: Sat, 11 Jul 2020 20:49:58 -0700 Subject: [all-commits] [llvm/llvm-project] 77272d: [COFF] Fix endianness of .llvm.call-graph-profile ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 77272d177a2d7128cf09dc2d27b353cc3e1ecae0 https://github.com/llvm/llvm-project/commit/77272d177a2d7128cf09dc2d27b353cc3e1ecae0 Author: Zequan Wu Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M llvm/lib/MC/WinCOFFObjectWriter.cpp Log Message: ----------- [COFF] Fix endianness of .llvm.call-graph-profile section data From all-commits at lists.llvm.org Sun Jul 12 01:13:32 2020 From: all-commits at lists.llvm.org (Nikita Popov via All-commits) Date: Sun, 12 Jul 2020 01:13:32 -0700 Subject: [all-commits] [llvm/llvm-project] 6634ae: [SCCP] Add test for predicate info condition handl... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 6634aef71f3b5e9820d2955bd6b39d2744de06eb https://github.com/llvm/llvm-project/commit/6634aef71f3b5e9820d2955bd6b39d2744de06eb Author: Nikita Popov Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: A llvm/test/Transforms/SCCP/predicateinfo-cond.ll Log Message: ----------- [SCCP] Add test for predicate info condition handling (NFC) From all-commits at lists.llvm.org Sun Jul 12 01:40:01 2020 From: all-commits at lists.llvm.org (tentzen via All-commits) Date: Sun, 12 Jul 2020 01:40:01 -0700 Subject: [all-commits] [llvm/llvm-project] 66f1dc: [Windows SEH] Fix the frame-ptr of a nested-filter... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 66f1dcd872dba189ee054fb016f4bff535fb5afc https://github.com/llvm/llvm-project/commit/66f1dcd872dba189ee054fb016f4bff535fb5afc Author: Ten Tzen Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M clang/lib/CodeGen/CGException.cpp M clang/lib/CodeGen/CodeGenFunction.h A clang/test/CodeGen/windows-seh-filter-inFinally.c Log Message: ----------- [Windows SEH] Fix the frame-ptr of a nested-filter within a _finally This change fixed a SEH bug (exposed by test58 & test61 in MSVC test xcpt4u.c); when an Except-filter is located inside a finally, the frame-pointer generated today via intrinsic @llvm.eh.recoverfp is the frame-pointer of the immediate parent _finally, not the frame-ptr of outermost host function. The fix is to retrieve the Establisher's frame-pointer that was previously saved in parent's frame. The prolog of a filter inside a _finally should be like code below: %0 = call i8* @llvm.eh.recoverfp(i8* bitcast (@"?fin$0 at 0@main@@"), i8*%frame_pointer) %1 = call i8* @llvm.localrecover(i8* bitcast (@"?fin$0 at 0@main@@"), i8*%0, i32 0) %2 = bitcast i8* %1 to i8** %3 = load i8*, i8** %2, align 8 Differential Revision: https://reviews.llvm.org/D77982 From all-commits at lists.llvm.org Sun Jul 12 05:53:22 2020 From: all-commits at lists.llvm.org (RotateRight via All-commits) Date: Sun, 12 Jul 2020 05:53:22 -0700 Subject: [all-commits] [llvm/llvm-project] 39009a: [DAGCombiner] tighten fast-math constraints for fm... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 39009a8245dae78250081b16fc679ce338af405a https://github.com/llvm/llvm-project/commit/39009a8245dae78250081b16fc679ce338af405a Author: Sanjay Patel Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M llvm/docs/LangRef.rst M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp M llvm/test/CodeGen/AArch64/fadd-combines.ll M llvm/test/CodeGen/X86/fma_patterns.ll Log Message: ----------- [DAGCombiner] tighten fast-math constraints for fma fold fadd (fma A, B, (fmul C, D)), E --> fma A, B, (fma C, D, E) This is only allowed when "reassoc" is present on the fadd. As discussed in D80801, this transform goes beyond what is allowed by "contract" FMF (-ffp-contract=fast). That is because we are fusing the trailing add of 'E' with a multiply, but without "reassoc", the code mandates that the products A*B and C*D are added together before adding in 'E'. I've added this example to the LangRef to try to clarify the meaning of "contract". If that seems reasonable, we should probably do something similar for the clang docs because there does not appear to be any formal spec for the behavior of -ffp-contract=fast. Differential Revision: https://reviews.llvm.org/D82499 From all-commits at lists.llvm.org Sun Jul 12 07:28:24 2020 From: all-commits at lists.llvm.org (Rahul Joshi via All-commits) Date: Sun, 12 Jul 2020 07:28:24 -0700 Subject: [all-commits] [llvm/llvm-project] 032810: [NFC] Fix comment style in MLIR unittests to confo... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 032810f58986cd568980227c9531de91d8bcb1cd https://github.com/llvm/llvm-project/commit/032810f58986cd568980227c9531de91d8bcb1cd Author: Rahul Joshi Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M mlir/unittests/Dialect/SPIRV/DeserializationTest.cpp M mlir/unittests/SDBM/SDBMTest.cpp M mlir/unittests/TableGen/EnumsGenTest.cpp M mlir/unittests/TableGen/FormatTest.cpp M mlir/unittests/TableGen/StructsGenTest.cpp Log Message: ----------- [NFC] Fix comment style in MLIR unittests to conform to LLVM coding standards. Differential Revision: https://reviews.llvm.org/D83632 From all-commits at lists.llvm.org Sun Jul 12 08:15:19 2020 From: all-commits at lists.llvm.org (Fangrui Song via All-commits) Date: Sun, 12 Jul 2020 08:15:19 -0700 Subject: [all-commits] [llvm/llvm-project] be9f36: [AVRInstPrinter] printOperand: support llvm-objdum... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: be9f363704a802b10b30d853f1bb6571e5ebed94 https://github.com/llvm/llvm-project/commit/be9f363704a802b10b30d853f1bb6571e5ebed94 Author: Fangrui Song Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M llvm/lib/Target/AVR/MCTargetDesc/AVRInstPrinter.cpp A llvm/test/MC/AVR/hex-immediates.s Log Message: ----------- [AVRInstPrinter] printOperand: support llvm-objdump --print-imm-hex Differential Revision: https://reviews.llvm.org/D83634 From all-commits at lists.llvm.org Sun Jul 12 08:48:54 2020 From: all-commits at lists.llvm.org (Nikita Popov via All-commits) Date: Sun, 12 Jul 2020 08:48:54 -0700 Subject: [all-commits] [llvm/llvm-project] d58937: [SCCP] Extend nonnull metadata test (NFC) Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: d589372704fc7da0c143cbfe27f930a9d7dd333b https://github.com/llvm/llvm-project/commit/d589372704fc7da0c143cbfe27f930a9d7dd333b Author: Nikita Popov Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M llvm/test/Transforms/SCCP/metadata.ll Log Message: ----------- [SCCP] Extend nonnull metadata test (NFC) From all-commits at lists.llvm.org Sun Jul 12 09:20:58 2020 From: all-commits at lists.llvm.org (Ayke via All-commits) Date: Sun, 12 Jul 2020 09:20:58 -0700 Subject: [all-commits] [llvm/llvm-project] 69e60c: [LLD][ELF][AVR] Implement the missing relocation t... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 69e60c9dc76653c10c4e8f7af1743307532102eb https://github.com/llvm/llvm-project/commit/69e60c9dc76653c10c4e8f7af1743307532102eb Author: Ayke van Laethem Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M lld/ELF/Arch/AVR.cpp A lld/test/ELF/avr-reloc.s Log Message: ----------- [LLD][ELF][AVR] Implement the missing relocation types Implements the missing relocation types for AVR target. The results have been cross-checked with binutils. Original patch by LemonBoy. Some changes by me. Differential Revision: https://reviews.llvm.org/D78741 From all-commits at lists.llvm.org Sun Jul 12 09:47:07 2020 From: all-commits at lists.llvm.org (yonghong-song via All-commits) Date: Sun, 12 Jul 2020 09:47:07 -0700 Subject: [all-commits] [llvm/llvm-project] 152a9f: BPF: permit .maps section variables with typedef type Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 152a9fef1b3b44f2c224cb8096b3d649279f2578 https://github.com/llvm/llvm-project/commit/152a9fef1b3b44f2c224cb8096b3d649279f2578 Author: Yonghong Song Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M llvm/lib/Target/BPF/BTFDebug.cpp A llvm/test/CodeGen/BPF/BTF/map-def-2.ll A llvm/test/CodeGen/BPF/BTF/map-def-3.ll M llvm/test/CodeGen/BPF/BTF/map-def.ll Log Message: ----------- BPF: permit .maps section variables with typedef type Currently, llvm when see a global variable in .maps section, it ensures its type must be a struct type. Then pointee will be further evaluated for the structure members. In normal cases, the pointee type will be skipped. Although this is what current all bpf programs are doing, but it is a little bit restrictive. For example, it is legitimate for users to have: typedef struct { int key_size; int value_size; } __map_t; __map_t map __attribute__((section(".maps"))); This patch lifts this restriction and typedef of a struct type is also allowed for .maps section variables. To avoid create unnecessary fixup entries when traversal started with typedef/struct type, the new implementation first traverse all map struct members and then traverse the typedef/struct type. This way, in internal BTFDebug implementation, no fixup entries are generated. Two new unit tests are added for typedef and const struct in .maps section. Also tested with kernel bpf selftests. Differential Revision: https://reviews.llvm.org/D83638 From all-commits at lists.llvm.org Sun Jul 12 10:42:23 2020 From: all-commits at lists.llvm.org (azaks via All-commits) Date: Sun, 12 Jul 2020 10:42:23 -0700 Subject: [all-commits] [llvm/llvm-project] 82a515: [LV] Fixing versioning-for-unit-stide of loops wit... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 82a5157ff1650e3366f7a9c619269766ad1d5e93 https://github.com/llvm/llvm-project/commit/82a5157ff1650e3366f7a9c619269766ad1d5e93 Author: Ayal Zaks Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp M llvm/test/Transforms/LoopVectorize/optsize.ll Log Message: ----------- [LV] Fixing versioning-for-unit-stide of loops with small trip count This patch fixes D81345 and PR46652. If a loop with a small trip count is compiled w/o -Os/-Oz, Loop Access Analysis still generates runtime checks for unit strides that will version the loop. In such cases, the loop vectorizer should either re-run the analysis or bail-out from vectorizing the loop, as done prior to D81345. The latter is applied for now as the former requires refactoring. Differential Revision: https://reviews.llvm.org/D83470 From all-commits at lists.llvm.org Sun Jul 12 10:44:50 2020 From: all-commits at lists.llvm.org (MyDeveloperDay via All-commits) Date: Sun, 12 Jul 2020 10:44:50 -0700 Subject: [all-commits] [llvm/llvm-project] 65dc97: [clang-format] PR46609 clang-format does not obey ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 65dc97b79eb1979c54e7e17c411ea5f58f8dcc9c https://github.com/llvm/llvm-project/commit/65dc97b79eb1979c54e7e17c411ea5f58f8dcc9c Author: mydeveloperday Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M clang/lib/Format/TokenAnnotator.cpp M clang/unittests/Format/FormatTest.cpp Log Message: ----------- [clang-format] PR46609 clang-format does not obey `PointerAlignment: Right` for ellipsis in declarator for pack Summary: https://bugs.llvm.org/show_bug.cgi?id=46609 Ensure `*...` obey they left/middle/right rules of Pointer alignment Reviewed By: curdeius Differential Revision: https://reviews.llvm.org/D83564 From all-commits at lists.llvm.org Sun Jul 12 10:53:41 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Sun, 12 Jul 2020 10:53:41 -0700 Subject: [all-commits] [llvm/llvm-project] 04013a: [X86] Fix two places that appear to misuse peekThr... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 04013a07ac3b67eb176ddfd1ddaeda41415c038f https://github.com/llvm/llvm-project/commit/04013a07ac3b67eb176ddfd1ddaeda41415c038f Author: Craig Topper Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M llvm/lib/Target/X86/X86ISelLowering.cpp Log Message: ----------- [X86] Fix two places that appear to misuse peekThroughOneUseBitcasts peekThroughOneUseBitcasts checks the use count of the operand of the bitcast. Not the bitcast itself. So I think that means we need to do any outside haseOneUse checks before calling the function not after. I was working on another patch where I misused the function and did a very quick audit to see if I there were other similar mistakes. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D83598 Commit: f8f007e378e1ed84fadf281f05166a4463a79316 https://github.com/llvm/llvm-project/commit/f8f007e378e1ed84fadf281f05166a4463a79316 Author: Craig Topper Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M llvm/lib/Target/X86/X86ISelLowering.cpp M llvm/test/CodeGen/X86/vector-trunc.ll Log Message: ----------- [X86] Consistently use 128 as the PSHUFB/VPPERM index for zero Bit 7 of the index controls zeroing, the other bits are ignored when bit 7 is set. Shuffle lowering was using 128 and shuffle combining was using 255. Seems like we should be consistent. This patch changes shuffle combining to use 128 to match lowering. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D83587 Compare: https://github.com/llvm/llvm-project/compare/65dc97b79eb1...f8f007e378e1 From all-commits at lists.llvm.org Sun Jul 12 10:59:22 2020 From: all-commits at lists.llvm.org (MyDeveloperDay via All-commits) Date: Sun, 12 Jul 2020 10:59:22 -0700 Subject: [all-commits] [llvm/llvm-project] 7a1bcf: [polly] NFC clang-format change following D83564 Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 7a1bcf9f9a95fca9dcf8e42f8eb845db3643fffb https://github.com/llvm/llvm-project/commit/7a1bcf9f9a95fca9dcf8e42f8eb845db3643fffb Author: mydeveloperday Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M polly/lib/Analysis/ScopDetection.cpp Log Message: ----------- [polly] NFC clang-format change following D83564 From all-commits at lists.llvm.org Sun Jul 12 11:07:53 2020 From: all-commits at lists.llvm.org (sjoerdmeijer via All-commits) Date: Sun, 12 Jul 2020 11:07:53 -0700 Subject: [all-commits] [llvm/llvm-project] f4d29d: [Matrix] Tighten LangRef definitions and Verifier ... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: f4d29d6e8c43cfd924d9d7cc1ac0c269b2788e75 https://github.com/llvm/llvm-project/commit/f4d29d6e8c43cfd924d9d7cc1ac0c269b2788e75 Author: Sjoerd Meijer Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M llvm/docs/LangRef.rst M llvm/lib/IR/Verifier.cpp M llvm/test/Verifier/matrix-intrinsics.ll Log Message: ----------- [Matrix] Tighten LangRef definitions and Verifier checks. This tightens the matrix intrinsic definitions in LLVM LangRef and adds correspondings checks to the IR Verifier. Differential Revision: https://reviews.llvm.org/D83477 From all-commits at lists.llvm.org Sun Jul 12 11:22:01 2020 From: all-commits at lists.llvm.org (sjoerdmeijer via All-commits) Date: Sun, 12 Jul 2020 11:22:01 -0700 Subject: [all-commits] [llvm/llvm-project] 4ff7ed: Revert "[Matrix] Tighten LangRef definitions and V... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4ff7ed33108d9039fd960a4979b2e1503888582c https://github.com/llvm/llvm-project/commit/4ff7ed33108d9039fd960a4979b2e1503888582c Author: Sjoerd Meijer Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M llvm/docs/LangRef.rst M llvm/lib/IR/Verifier.cpp M llvm/test/Verifier/matrix-intrinsics.ll Log Message: ----------- Revert "[Matrix] Tighten LangRef definitions and Verifier checks." This reverts commit f4d29d6e8c43cfd924d9d7cc1ac0c269b2788e75. Hm, some build bot failures, reverting it while I investigate that. From all-commits at lists.llvm.org Sun Jul 12 12:58:26 2020 From: all-commits at lists.llvm.org (RotateRight via All-commits) Date: Sun, 12 Jul 2020 12:58:26 -0700 Subject: [all-commits] [llvm/llvm-project] 445897: [InstCombine] fold mul of zext/sext bools to 'and' Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 445897334741c53e98f8044f5f33ab1e888b3818 https://github.com/llvm/llvm-project/commit/445897334741c53e98f8044f5f33ab1e888b3818 Author: Sanjay Patel Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp M llvm/test/Transforms/InstCombine/mul.ll Log Message: ----------- [InstCombine] fold mul of zext/sext bools to 'and' Similar to rG40fcc42: The base case only worked because we were relying on a poison-unsafe select transform; if that is fixed, we would regress on patterns like this. The extra use tests show that the select transform can't be applied consistently. So it may be a regression to have an extra instruction on 1 test, but that result was not created safely and does not happen reliably. From all-commits at lists.llvm.org Sun Jul 12 12:59:43 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Sun, 12 Jul 2020 12:59:43 -0700 Subject: [all-commits] [llvm/llvm-project] b92c2b: [X86] Add CPU name strings to getIntelProcessorTyp... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b92c2bb6a2058611d727c4e2ce3a928f0a3e647d https://github.com/llvm/llvm-project/commit/b92c2bb6a2058611d727c4e2ce3a928f0a3e647d Author: Craig Topper Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M compiler-rt/lib/builtins/cpu_model.c Log Message: ----------- [X86] Add CPU name strings to getIntelProcessorTypeAndSubtype and getAMDProcessorTypeAndSubtype in compiler-rt. These aren't used in compiler-rt, but I plan to make a similar change to the equivalent code in Host.cpp where the mapping from type/subtype is an unnecessary complication. Having the CPU strings here will help keep the code somewhat synchronized. Commit: ea84dc9500df383b4fe07199134033f358411e59 https://github.com/llvm/llvm-project/commit/ea84dc9500df383b4fe07199134033f358411e59 Author: Craig Topper Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M llvm/include/llvm/Support/X86TargetParser.def M llvm/lib/Support/Host.cpp Log Message: ----------- [X86] Add CPU string output to getIntelProcessorTypeAndSubtype/getAMDProcessorTypeAndSubtype in Host.cpp Rather than converting type/subtype into strings, just directly select the string as part of family/model decoding. This avoids the need for creating fake Type/SubTypes for CPUs not supported by compiler-rtl. I've left the Type/SubType in place where it matches compiler-rt so that the code can be diffed, but the Type/SubType is no longer used by Host.cpp. compiler-rt was already updated to select strings that aren't used so the code will look similar. Commit: 90c577a113e97212e02d5956d6db45e701e3552f https://github.com/llvm/llvm-project/commit/90c577a113e97212e02d5956d6db45e701e3552f Author: Craig Topper Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M llvm/lib/Support/Host.cpp Log Message: ----------- [X86] Remove model number based detection for 'pentiumpro', 'pentium2', 'pentium3', 'pentium-m', and 'yonah' from getHostCPUName. For model 6 CPUs, we have a fallback detection method based on available features. That mechanism should be enough to detect these early family 6 CPUs as they only differ in the features used by the detection anyway. Compare: https://github.com/llvm/llvm-project/compare/445897334741...90c577a113e9 From all-commits at lists.llvm.org Sun Jul 12 14:20:14 2020 From: all-commits at lists.llvm.org (River Riddle via All-commits) Date: Sun, 12 Jul 2020 14:20:14 -0700 Subject: [all-commits] [llvm/llvm-project] 572c29: [mlir][ODS] Add support for specifying the namespa... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 572c2905aeaef00a6fedfc4c54f21856ba4cc34e https://github.com/llvm/llvm-project/commit/572c2905aeaef00a6fedfc4c54f21856ba4cc34e Author: River Riddle Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M mlir/include/mlir/IR/OpAsmInterface.td M mlir/include/mlir/IR/OpBase.td M mlir/include/mlir/IR/OpImplementation.h M mlir/include/mlir/IR/SymbolInterfaces.td M mlir/include/mlir/IR/SymbolTable.h M mlir/include/mlir/Interfaces/CallInterfaces.h M mlir/include/mlir/Interfaces/CallInterfaces.td M mlir/include/mlir/Interfaces/ControlFlowInterfaces.h M mlir/include/mlir/Interfaces/ControlFlowInterfaces.td M mlir/include/mlir/Interfaces/CopyOpInterface.h M mlir/include/mlir/Interfaces/CopyOpInterface.td M mlir/include/mlir/Interfaces/DerivedAttributeOpInterface.h M mlir/include/mlir/Interfaces/DerivedAttributeOpInterface.td M mlir/include/mlir/Interfaces/InferTypeOpInterface.h M mlir/include/mlir/Interfaces/InferTypeOpInterface.td M mlir/include/mlir/Interfaces/LoopLikeInterface.h M mlir/include/mlir/Interfaces/LoopLikeInterface.td M mlir/include/mlir/Interfaces/SideEffectInterfaces.h M mlir/include/mlir/Interfaces/SideEffectInterfaces.td M mlir/include/mlir/Interfaces/VectorUnrollInterface.h M mlir/include/mlir/Interfaces/VectorUnrollInterface.td M mlir/include/mlir/Interfaces/ViewLikeInterface.h M mlir/include/mlir/Interfaces/ViewLikeInterface.td M mlir/include/mlir/TableGen/Interfaces.h M mlir/include/mlir/TableGen/OpTrait.h M mlir/include/mlir/TableGen/SideEffects.h M mlir/lib/TableGen/Interfaces.cpp M mlir/lib/TableGen/OpTrait.cpp M mlir/lib/TableGen/Operator.cpp M mlir/lib/TableGen/SideEffects.cpp M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp M mlir/tools/mlir-tblgen/OpInterfacesGen.cpp Log Message: ----------- [mlir][ODS] Add support for specifying the namespace of an interface. The namespace can be specified using the `cppNamespace` field. This matches the functionality already present on dialects, enums, etc. This fixes problems with using interfaces on operations in a different namespace than the interface was defined in. Differential Revision: https://reviews.llvm.org/D83604 From all-commits at lists.llvm.org Sun Jul 12 14:41:26 2020 From: all-commits at lists.llvm.org (avl-llvm via All-commits) Date: Sun, 12 Jul 2020 14:41:26 -0700 Subject: [all-commits] [llvm/llvm-project] 0a01fc: Revert "[TRE] allow TRE for non-capturing calls." Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 0a01fc96e24b7c7de2141a2ea07593500ea34732 https://github.com/llvm/llvm-project/commit/0a01fc96e24b7c7de2141a2ea07593500ea34732 Author: Alexey Lapshin Date: 2020-07-13 (Mon, 13 Jul 2020) Changed paths: M llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp M llvm/test/Transforms/TailCallElim/basic.ll R llvm/test/Transforms/TailCallElim/tre-multiple-exits.ll R llvm/test/Transforms/TailCallElim/tre-noncapturing-alloca-calls.ll Log Message: ----------- Revert "[TRE] allow TRE for non-capturing calls." This reverts commit f7907e9d223d8484f9afd457ba614c2db2ae4743. That commit caused error on multi-stage build. From all-commits at lists.llvm.org Sun Jul 12 14:45:46 2020 From: all-commits at lists.llvm.org (Dimitry Andric via All-commits) Date: Sun, 12 Jul 2020 14:45:46 -0700 Subject: [all-commits] [llvm/llvm-project] 02cfa7: Bump the default target CPU for i386-freebsd to i686 Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 02cfa7530d9e7cfd8ea940dab4173afb7938b831 https://github.com/llvm/llvm-project/commit/02cfa7530d9e7cfd8ea940dab4173afb7938b831 Author: Dimitry Andric Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M clang/lib/Driver/ToolChains/Arch/X86.cpp Log Message: ----------- Bump the default target CPU for i386-freebsd to i686 Summary: Similar to what we have done downstream, some time ago: https://svnweb.freebsd.org/changeset/base/353936 This followed some discussions on the freebsd-arch mailing lists, and most people agreed that it was a better default, and also it worked around several issues where clang generated libcalls to 64 bit atomic primitives, instead of using cmpxchg8b. Reviewers: emaste, brooks, rsmith Reviewed By: emaste Subscribers: arichardson, krytarowski, jfb, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D83645 From all-commits at lists.llvm.org Sun Jul 12 15:56:32 2020 From: all-commits at lists.llvm.org (Shinji Okumura via All-commits) Date: Sun, 12 Jul 2020 15:56:32 -0700 Subject: [all-commits] [llvm/llvm-project] c73f42: [Attributor] Add AAValueSimplifyCallSiteArgument::... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c73f425f84ad18e4b610dff7d21a5844fb0da5d7 https://github.com/llvm/llvm-project/commit/c73f425f84ad18e4b610dff7d21a5844fb0da5d7 Author: Shinji Okumura Date: 2020-07-13 (Mon, 13 Jul 2020) Changed paths: M llvm/lib/Transforms/IPO/AttributorAttributes.cpp M llvm/test/Transforms/Attributor/range.ll Log Message: ----------- [Attributor] Add AAValueSimplifyCallSiteArgument::manifest Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D82861 From all-commits at lists.llvm.org Sun Jul 12 16:05:41 2020 From: all-commits at lists.llvm.org (kepler-5 via All-commits) Date: Sun, 12 Jul 2020 16:05:41 -0700 Subject: [all-commits] [llvm/llvm-project] 111167: [clang] Add -Wsuggest-override Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 111167895d47558989f9f3a593a82527b016c7e7 https://github.com/llvm/llvm-project/commit/111167895d47558989f9f3a593a82527b016c7e7 Author: Logan Smith Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M clang/include/clang/Basic/DiagnosticGroups.td M clang/include/clang/Basic/DiagnosticSemaKinds.td M clang/include/clang/Sema/Sema.h M clang/lib/Sema/SemaDeclCXX.cpp A clang/test/SemaCXX/warn-suggest-destructor-override A clang/test/SemaCXX/warn-suggest-override Log Message: ----------- [clang] Add -Wsuggest-override This patch adds `-Wsuggest-override`, which allows for more aggressive enforcement of modern C++ best practices, as well as better compatibility with gcc, which has had its own `-Wsuggest-override` since version 5.1. Clang already has `-Winconsistent-missing-override`, which only warns in the case where there is at least one function already marked `override` in a class. This warning strengthens that warning by suggesting the `override` keyword regardless of whether it is already present anywhere. The text between suggest-override and inconsistent-missing-override is now shared, using `TextSubstitution` for the entire diagnostic text. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D82728 From all-commits at lists.llvm.org Sun Jul 12 17:20:14 2020 From: all-commits at lists.llvm.org (topperc via All-commits) Date: Sun, 12 Jul 2020 17:20:14 -0700 Subject: [all-commits] [llvm/llvm-project] b4dbb3: [X86] Rename X86_CPU_TYPE_COMPAT_ALIAS/X86_CPU_TYP... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b4dbb37f32e554e4d6f118d9ddd87717721ea664 https://github.com/llvm/llvm-project/commit/b4dbb37f32e554e4d6f118d9ddd87717721ea664 Author: Craig Topper Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M clang/lib/Basic/Targets/X86.cpp M clang/lib/CodeGen/CGBuiltin.cpp M llvm/include/llvm/Support/X86TargetParser.def M llvm/include/llvm/Support/X86TargetParser.h Log Message: ----------- [X86] Rename X86_CPU_TYPE_COMPAT_ALIAS/X86_CPU_TYPE_COMPAT/X86_CPU_SUBTYPE_COMPAT macros. NFC Remove _COMPAT. Drop the ARCHNAME. Remove the non-COMPAT versions that are no longer needed. We now only use these macros in places where we need compatibility with libgcc/compiler-rt. So we don't need to call out _COMPAT specifically. From all-commits at lists.llvm.org Sun Jul 12 19:44:11 2020 From: all-commits at lists.llvm.org (David Blaikie via All-commits) Date: Sun, 12 Jul 2020 19:44:11 -0700 Subject: [all-commits] [llvm/llvm-project] 49e5f6: Rename/refactor isIntegerConstantExpression to get... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 49e5f603d40083dce9c05796e3cde3a185c3beba https://github.com/llvm/llvm-project/commit/49e5f603d40083dce9c05796e3cde3a185c3beba Author: David Blaikie Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M clang/include/clang/AST/Expr.h M clang/lib/AST/ASTContext.cpp M clang/lib/AST/ExprConstant.cpp M clang/lib/AST/MicrosoftMangle.cpp M clang/lib/CodeGen/CGBuiltin.cpp M clang/lib/CodeGen/CGExpr.cpp M clang/lib/Sema/SemaAttr.cpp M clang/lib/Sema/SemaChecking.cpp M clang/lib/Sema/SemaDecl.cpp M clang/lib/Sema/SemaDeclAttr.cpp M clang/lib/Sema/SemaExprCXX.cpp M clang/lib/Sema/SemaOpenMP.cpp M clang/lib/Sema/SemaOverload.cpp M clang/lib/Sema/SemaStmtAttr.cpp M clang/lib/Sema/SemaType.cpp Log Message: ----------- Rename/refactor isIntegerConstantExpression to getIntegerConstantExpression There is a version that just tests (also called isIntegerConstantExpression) & whereas this version is specifically used when the value is of interest (a few call sites were actually refactored to calling the test-only version) so let's make the API look more like it. Reviewers: aaron.ballman Differential Revision: https://reviews.llvm.org/D76646 From all-commits at lists.llvm.org Sun Jul 12 20:31:06 2020 From: all-commits at lists.llvm.org (David Blaikie via All-commits) Date: Sun, 12 Jul 2020 20:31:06 -0700 Subject: [all-commits] [llvm/llvm-project] c94332: Revert "Rename/refactor isIntegerConstantExpressio... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: c94332919bd922032e979b3ae3ced5ca5bdf9650 https://github.com/llvm/llvm-project/commit/c94332919bd922032e979b3ae3ced5ca5bdf9650 Author: David Blaikie Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M clang/include/clang/AST/Expr.h M clang/lib/AST/ASTContext.cpp M clang/lib/AST/ExprConstant.cpp M clang/lib/AST/MicrosoftMangle.cpp M clang/lib/CodeGen/CGBuiltin.cpp M clang/lib/CodeGen/CGExpr.cpp M clang/lib/Sema/SemaAttr.cpp M clang/lib/Sema/SemaChecking.cpp M clang/lib/Sema/SemaDecl.cpp M clang/lib/Sema/SemaDeclAttr.cpp M clang/lib/Sema/SemaExprCXX.cpp M clang/lib/Sema/SemaOpenMP.cpp M clang/lib/Sema/SemaOverload.cpp M clang/lib/Sema/SemaStmtAttr.cpp M clang/lib/Sema/SemaType.cpp Log Message: ----------- Revert "Rename/refactor isIntegerConstantExpression to getIntegerConstantExpression" Broke buildbots since I hadn't updated this patch in a while. Sorry for the noise. This reverts commit 49e5f603d40083dce9c05796e3cde3a185c3beba. From all-commits at lists.llvm.org Sun Jul 12 21:04:00 2020 From: all-commits at lists.llvm.org (Atmn Patel via All-commits) Date: Sun, 12 Jul 2020 21:04:00 -0700 Subject: [all-commits] [llvm/llvm-project] 784436: [OpenMP] Add firstprivate as a default data-sharin... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 78443666bc18a6957d279a0f58319c8a3e57771a https://github.com/llvm/llvm-project/commit/78443666bc18a6957d279a0f58319c8a3e57771a Author: Atmn Patel Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M clang-tools-extra/docs/clang-tidy/checks/openmp-use-default-none.rst M clang-tools-extra/test/clang-tidy/checkers/openmp-use-default-none.cpp M clang/docs/LibASTMatchersReference.html M clang/include/clang/ASTMatchers/ASTMatchers.h M clang/include/clang/Basic/DiagnosticParseKinds.td M clang/lib/ASTMatchers/Dynamic/Registry.cpp M clang/lib/Parse/ParseOpenMP.cpp M clang/lib/Sema/SemaOpenMP.cpp M clang/test/OpenMP/distribute_parallel_for_default_messages.cpp M clang/test/OpenMP/distribute_parallel_for_simd_default_messages.cpp M clang/test/OpenMP/driver.c M clang/test/OpenMP/parallel_default_messages.cpp M clang/test/OpenMP/parallel_for_default_messages.cpp M clang/test/OpenMP/parallel_for_simd_default_messages.cpp M clang/test/OpenMP/parallel_master_codegen.cpp M clang/test/OpenMP/parallel_master_default_messages.cpp M clang/test/OpenMP/parallel_sections_default_messages.cpp M clang/test/OpenMP/target_parallel_default_messages.cpp M clang/test/OpenMP/target_parallel_for_default_messages.cpp M clang/test/OpenMP/target_parallel_for_simd_default_messages.cpp M clang/test/OpenMP/target_teams_default_messages.cpp M clang/test/OpenMP/target_teams_distribute_default_messages.cpp M clang/test/OpenMP/target_teams_distribute_parallel_for_default_messages.cpp M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_default_messages.cpp M clang/test/OpenMP/task_default_messages.cpp M clang/test/OpenMP/task_messages.cpp M clang/test/OpenMP/teams_default_messages.cpp M clang/test/OpenMP/teams_distribute_default_messages.cpp M clang/test/OpenMP/teams_distribute_parallel_for_default_messages.cpp M clang/test/OpenMP/teams_distribute_parallel_for_simd_default_messages.cpp M clang/test/OpenMP/teams_distribute_simd_default_messages.cpp M clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp M clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp M clang/unittests/ASTMatchers/ASTMatchersTest.h M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def Log Message: ----------- [OpenMP] Add firstprivate as a default data-sharing attribute to clang This implements the default(firstprivate) clause as defined in OpenMP Technical Report 8 (2.22.4). Reviewed By: jdoerfert, ABataev Differential Revision: https://reviews.llvm.org/D75591 From all-commits at lists.llvm.org Sun Jul 12 21:05:20 2020 From: all-commits at lists.llvm.org (Fangrui Song via All-commits) Date: Sun, 12 Jul 2020 21:05:20 -0700 Subject: [all-commits] [llvm/llvm-project] 4d5fd0: [MC][RISCV] Set UseIntegratedAssembler to true Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: 4d5fd0ee5ebda8979a448f5de397e3f1321b1ca8 https://github.com/llvm/llvm-project/commit/4d5fd0ee5ebda8979a448f5de397e3f1321b1ca8 Author: Fangrui Song Date: 2020-07-12 (Sun, 12 Jul 2020) Changed paths: M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCAsmInfo.cpp M llvm/test/CodeGen/RISCV/branch-relaxation.ll M llvm/test/CodeGen/RISCV/inline-asm-abi-names.ll M llvm/test/CodeGen/RISCV/inline-asm.ll M llvm/test/CodeGen/RISCV/large-stack.ll Log Message: ----------- [MC][RISCV] Set UseIntegratedAssembler to true to align with most other targets. Also, -fintegrated-as is the default for clang -target riscv*. From all-commits at lists.llvm.org Sun Jul 12 21:34:24 2020 From: all-commits at lists.llvm.org (Qiu Chaofan via All-commits) Date: Sun, 12 Jul 2020 21:34:24 -0700 Subject: [all-commits] [llvm/llvm-project] b6912c: [PowerPC] Support constrained conversion in SPE ta... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: b6912c879ed848fd59c108e8b90fe0180893ee56 https://github.com/llvm/llvm-project/commit/b6912c879ed848fd59c108e8b90fe0180893ee56 Author: Qiu Chaofan Date: 2020-07-13 (Mon, 13 Jul 2020) Changed paths: M llvm/lib/Target/PowerPC/PPCISelLowering.cpp M llvm/lib/Target/PowerPC/PPCInstrSPE.td A llvm/test/CodeGen/PowerPC/fp-strict-conv.ll Log Message: ----------- [PowerPC] Support constrained conversion in SPE target This patch adds support for constrained int/fp conversion between signed/unsigned i32 and f32/f64. Reviewed By: jhibbits Differential Revision: https://reviews.llvm.org/D82747 From all-commits at lists.llvm.org Sun Jul 12 21:37:36 2020 From: all-commits at lists.llvm.org (bzEq via All-commits) Date: Sun, 12 Jul 2020 21:37:36 -0700 Subject: [all-commits] [llvm/llvm-project] ac8dc5: [PowerPC] Enhance tests for D83276. NFC. Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: ac8dc526c4717907bed11b2fc7ab0db5a0f466ba https://github.com/llvm/llvm-project/commit/ac8dc526c4717907bed11b2fc7ab0db5a0f466ba Author: Kai Luo Date: 2020-07-13 (Mon, 13 Jul 2020) Changed paths: A llvm/test/CodeGen/PowerPC/stack-clash-prologue-nounwind.ll M llvm/test/CodeGen/PowerPC/stack-clash-prologue.ll Log Message: ----------- [PowerPC] Enhance tests for D83276. NFC. From all-commits at lists.llvm.org Sun Jul 12 21:41:04 2020 From: all-commits at lists.llvm.org (max-azul via All-commits) Date: Sun, 12 Jul 2020 21:41:04 -0700 Subject: [all-commits] [llvm/llvm-project] e808ca: [InstCombine] Improve select -> phi canonicalizati... Message-ID: Branch: refs/heads/master Home: https://github.com/llvm/llvm-project Commit: e808cab824488af137b62902e65dec3827b83b46 https://github.com/llvm/llvm-project/commit/e808cab824488af137b62902e65dec3827b83b46 Author: Max Kazantsev Date: 2020-07-13 (Mon, 13 Jul 2020) Changed paths: M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp M llvm/test/Transforms/InstCombine/select.ll Log Message: ----------- [InstCombine] Improve select -> phi canonicalization: consider more blocks We can try to replace select with a Phi not in its parent block alone, but also in blocks of its arguments. We benefit from it when select's argument is a Phi. Differential Revision: https://reviews.llvm.org/D83284 Reviewed By: nikic