[llvm-branch-commits] [llvm] b06c55a - [X86][CostModel] Fix cost model for non-power-of-two vector load/stores

2021-04-16 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-04-16T15:30:57+03:00 New Revision: b06c55a6986e0e1d571663eec507664013b22f00 URL: https://github.com/llvm/llvm-project/commit/b06c55a6986e0e1d571663eec507664013b22f00 DIFF: https://github.com/llvm/llvm-project/commit/b06c55a6986e0e1d571663eec507664013b22f00.diff

[llvm-branch-commits] [llvm] 6f27532 - [NFC][SimplifyCFG] Extract CloneInstructionsIntoPredecessorBlockAndUpdateSSAUses() out of PerformBranchToCommonDestFolding()

2021-01-23 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-24T00:54:55+03:00 New Revision: 6f2753273ee6d891cabd11626e4efbce0d901661 URL: https://github.com/llvm/llvm-project/commit/6f2753273ee6d891cabd11626e4efbce0d901661 DIFF: https://github.com/llvm/llvm-project/commit/6f2753273ee6d891cabd11626e4efbce0d901661.diff

[llvm-branch-commits] [llvm] 67f9c87 - [NFC][SimplifyCFG] Perform early-continue in FoldValueComparisonIntoPredecessors() per-pred loop

2021-01-23 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-24T00:54:54+03:00 New Revision: 67f9c87a651a9c3a57a2b1bf32e6e0be2479ebc7 URL: https://github.com/llvm/llvm-project/commit/67f9c87a651a9c3a57a2b1bf32e6e0be2479ebc7 DIFF: https://github.com/llvm/llvm-project/commit/67f9c87a651a9c3a57a2b1bf32e6e0be2479ebc7.diff

[llvm-branch-commits] [llvm] a4e6c2e - [NFC][SimplifyCFG] Extract PerformValueComparisonIntoPredecessorFolding() out of FoldValueComparisonIntoPredecessors()

2021-01-23 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-24T00:54:54+03:00 New Revision: a4e6c2e647b09dd8c2c5cf55bb05e3c7fd89646c URL: https://github.com/llvm/llvm-project/commit/a4e6c2e647b09dd8c2c5cf55bb05e3c7fd89646c DIFF: https://github.com/llvm/llvm-project/commit/a4e6c2e647b09dd8c2c5cf55bb05e3c7fd89646c.diff

[llvm-branch-commits] [llvm] 022da61 - [SimplifyCFG] Change 'LoopHeaders' to be ArrayRef, not a naked set, thus avoiding dangling pointers

2021-01-23 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-23T16:48:35+03:00 New Revision: 022da61f6b30626708e5b4c1c009afb453d12ebe URL: https://github.com/llvm/llvm-project/commit/022da61f6b30626708e5b4c1c009afb453d12ebe DIFF: https://github.com/llvm/llvm-project/commit/022da61f6b30626708e5b4c1c009afb453d12ebe.diff

[llvm-branch-commits] [llvm] 1742203 - [SimplifyCFG] FoldBranchToCommonDest(): re-lift restrictions on liveout uses of bonus instructions

2021-01-22 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-23T01:29:05+03:00 New Revision: 17422038442c9e2b572c7324b5a22d32e7fd9b83 URL: https://github.com/llvm/llvm-project/commit/17422038442c9e2b572c7324b5a22d32e7fd9b83 DIFF: https://github.com/llvm/llvm-project/commit/17422038442c9e2b572c7324b5a22d32e7fd9b83.diff

[llvm-branch-commits] [llvm] eae1cc0 - [NFC][SimplifyCFG] PerformBranchToCommonDestFolding(): move instruction cloning to after CFG update

2021-01-22 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-23T01:29:04+03:00 New Revision: eae1cc0de5b9c3b97ce1b6f4275b474ab10b83d0 URL: https://github.com/llvm/llvm-project/commit/eae1cc0de5b9c3b97ce1b6f4275b474ab10b83d0 DIFF: https://github.com/llvm/llvm-project/commit/eae1cc0de5b9c3b97ce1b6f4275b474ab10b83d0.diff

[llvm-branch-commits] [llvm] e838750 - [NFC][SimplifyCFG] fold-branch-to-common-dest.ll: reduce complexity of @pr48450* test

2021-01-22 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-23T01:29:04+03:00 New Revision: e8387500059e7f3c261b2127a241b2c4c81ab36b URL: https://github.com/llvm/llvm-project/commit/e8387500059e7f3c261b2127a241b2c4c81ab36b DIFF: https://github.com/llvm/llvm-project/commit/e8387500059e7f3c261b2127a241b2c4c81ab36b.diff

[llvm-branch-commits] [llvm] 9bd8bcf - [NFC][SimplifyCFG] PerformBranchToCommonDestFolding(): fix instruction name preservation

2021-01-22 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-23T01:29:03+03:00 New Revision: 9bd8bcf993f6e829b2417deefbab78c610436a11 URL: https://github.com/llvm/llvm-project/commit/9bd8bcf993f6e829b2417deefbab78c610436a11 DIFF: https://github.com/llvm/llvm-project/commit/9bd8bcf993f6e829b2417deefbab78c610436a11.diff

[llvm-branch-commits] [llvm] 85e7578 - Revert "[NFCI-ish][SimplifyCFG] FoldBranchToCommonDest(): really don't deal with uncond branches"

2021-01-22 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-22T17:37:11+03:00 New Revision: 85e7578c6db81abb3283cb87fce8592f83ae0ea8 URL: https://github.com/llvm/llvm-project/commit/85e7578c6db81abb3283cb87fce8592f83ae0ea8 DIFF: https://github.com/llvm/llvm-project/commit/85e7578c6db81abb3283cb87fce8592f83ae0ea8.diff

[llvm-branch-commits] [llvm] d1a6f92 - [InstCombine] Fold `(~x) | y` --> `~(x & (~y))` iff it is free to do so

2021-01-22 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-22T17:23:54+03:00 New Revision: d1a6f92fd545726aab0784e2dcfb193ce185c418 URL: https://github.com/llvm/llvm-project/commit/d1a6f92fd545726aab0784e2dcfb193ce185c418 DIFF: https://github.com/llvm/llvm-project/commit/d1a6f92fd545726aab0784e2dcfb193ce185c418.diff

[llvm-branch-commits] [llvm] 79b0d21 - [InstCombine] Fold `(~x) & y` --> `~(x | (~y))` iff it is free to do so

2021-01-22 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-22T17:23:54+03:00 New Revision: 79b0d21ce92f1a5ff4c822d1a5c664196b338535 URL: https://github.com/llvm/llvm-project/commit/79b0d21ce92f1a5ff4c822d1a5c664196b338535 DIFF: https://github.com/llvm/llvm-project/commit/79b0d21ce92f1a5ff4c822d1a5c664196b338535.diff

[llvm-branch-commits] [llvm] 6260490 - [NFC][InstCombine] Add tests for `(~x) &/| y` --> `~(x |/& (~y))` fold

2021-01-22 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-22T17:23:54+03:00 New Revision: 62604906b5b29c4a55f83226a60f0de9ff9f8df2 URL: https://github.com/llvm/llvm-project/commit/62604906b5b29c4a55f83226a60f0de9ff9f8df2 DIFF: https://github.com/llvm/llvm-project/commit/62604906b5b29c4a55f83226a60f0de9ff9f8df2.diff

[llvm-branch-commits] [llvm] 4ed0d8f - [NFC][InstCombine] Extract freelyInvertAllUsersOf() out of canonicalizeICmpPredicate()

2021-01-22 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-22T17:23:53+03:00 New Revision: 4ed0d8f2f07d0e17942366d48a29c165384ace52 URL: https://github.com/llvm/llvm-project/commit/4ed0d8f2f07d0e17942366d48a29c165384ace52 DIFF: https://github.com/llvm/llvm-project/commit/4ed0d8f2f07d0e17942366d48a29c165384ace52.diff

[llvm-branch-commits] [llvm] efeb8ca - [NFC][SimplifyCFG] FoldBranchToCommonDest(): extract the actual transform into helper function

2021-01-22 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-22T17:23:53+03:00 New Revision: efeb8caf8bd10f2ad794c6f434fbc4ba133cd7e3 URL: https://github.com/llvm/llvm-project/commit/efeb8caf8bd10f2ad794c6f434fbc4ba133cd7e3 DIFF: https://github.com/llvm/llvm-project/commit/efeb8caf8bd10f2ad794c6f434fbc4ba133cd7e3.diff

[llvm-branch-commits] [llvm] b482560 - [NFC][SimplifyCFG] FoldBranchToCommonDest(): extract check for destination sharing into a helper function

2021-01-22 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-22T17:23:53+03:00 New Revision: b482560a597697789d81e4b9b22fb14e1f2f3c9a URL: https://github.com/llvm/llvm-project/commit/b482560a597697789d81e4b9b22fb14e1f2f3c9a DIFF: https://github.com/llvm/llvm-project/commit/b482560a597697789d81e4b9b22fb14e1f2f3c9a.diff

[llvm-branch-commits] [llvm] 7b89efb - [NFC][SimplifyCFG] FoldBranchToCommonDest(): somewhat better structure weight updating code

2021-01-22 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-22T17:23:41+03:00 New Revision: 7b89efb55e4e5d6078aa9571f40859cc9ea01bcc URL: https://github.com/llvm/llvm-project/commit/7b89efb55e4e5d6078aa9571f40859cc9ea01bcc DIFF: https://github.com/llvm/llvm-project/commit/7b89efb55e4e5d6078aa9571f40859cc9ea01bcc.diff

[llvm-branch-commits] [llvm] 256a035 - [NFC][SimplifyCFG] FoldBranchToCommonDest(): unclutter Cond/CondInPred handling

2021-01-22 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-22T17:23:11+03:00 New Revision: 256a0357524b6cea3c705a77ec3d3c0122ede861 URL: https://github.com/llvm/llvm-project/commit/256a0357524b6cea3c705a77ec3d3c0122ede861 DIFF: https://github.com/llvm/llvm-project/commit/256a0357524b6cea3c705a77ec3d3c0122ede861.diff

[llvm-branch-commits] [llvm] aabed37 - [NFCI-ish][SimplifyCFG] FoldBranchToCommonDest(): really don't deal with uncond branches

2021-01-22 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-22T17:23:10+03:00 New Revision: aabed3718ae25476c0f6b7e70c83ba4658f00e5c URL: https://github.com/llvm/llvm-project/commit/aabed3718ae25476c0f6b7e70c83ba4658f00e5c DIFF: https://github.com/llvm/llvm-project/commit/aabed3718ae25476c0f6b7e70c83ba4658f00e5c.diff

[llvm-branch-commits] [llvm] 0895b83 - [SimplifyCFG] FoldBranchToCommonDest(): don't deal with unconditional branches

2021-01-22 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-22T17:22:49+03:00 New Revision: 0895b836d74ed333468ddece2102140494eb33b6 URL: https://github.com/llvm/llvm-project/commit/0895b836d74ed333468ddece2102140494eb33b6 DIFF: https://github.com/llvm/llvm-project/commit/0895b836d74ed333468ddece2102140494eb33b6.diff

[llvm-branch-commits] [llvm] 32fc323 - [SimplifyCFG] markAliveBlocks(): catchswitch: preserve PostDomTree

2021-01-16 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-17T01:21:05+03:00 New Revision: 32fc32317a31fc00e7e4086d6c93dd1eab75960c URL: https://github.com/llvm/llvm-project/commit/32fc32317a31fc00e7e4086d6c93dd1eab75960c DIFF: https://github.com/llvm/llvm-project/commit/32fc32317a31fc00e7e4086d6c93dd1eab75960c.diff

[llvm-branch-commits] [llvm] a14c36f - [SimplifyCFG] switchToSelect(): don't forget to insert DomTree edge iff needed

2021-01-15 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-15T23:35:57+03:00 New Revision: a14c36fe27f5c36de44049237011d140a724 URL: https://github.com/llvm/llvm-project/commit/a14c36fe27f5c36de44049237011d140a724 DIFF: https://github.com/llvm/llvm-project/commit/a14c36fe27f5c36de44049237011d140a724.diff

[llvm-branch-commits] [llvm] c6654a4 - [SimplifyCFG][BasicBlockUtils] Port SplitBlockPredecessors()/SplitLandingPadPredecessors() to DomTreeUpdater

2021-01-15 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-15T23:35:56+03:00 New Revision: c6654a4cdab4156bae51970fa64993e790fc4adb URL: https://github.com/llvm/llvm-project/commit/c6654a4cdab4156bae51970fa64993e790fc4adb DIFF: https://github.com/llvm/llvm-project/commit/c6654a4cdab4156bae51970fa64993e790fc4adb.diff

[llvm-branch-commits] [llvm] 286cf6c - [SimplifyCFG] Port SplitBlockAndInsertIfThen() to DomTreeUpdater

2021-01-15 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-15T23:35:56+03:00 New Revision: 286cf6cb029a9942df6ff1d99570e93c25fe29f0 URL: https://github.com/llvm/llvm-project/commit/286cf6cb029a9942df6ff1d99570e93c25fe29f0 DIFF: https://github.com/llvm/llvm-project/commit/286cf6cb029a9942df6ff1d99570e93c25fe29f0.diff

[llvm-branch-commits] [llvm] c845c72 - [Utils][SimplifyCFG] Port SplitBlock() to DomTreeUpdater

2021-01-15 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-15T23:35:56+03:00 New Revision: c845c724c2323660e81a0b284aaa461842f1b402 URL: https://github.com/llvm/llvm-project/commit/c845c724c2323660e81a0b284aaa461842f1b402 DIFF: https://github.com/llvm/llvm-project/commit/c845c724c2323660e81a0b284aaa461842f1b402.diff

[llvm-branch-commits] [llvm] b81f75f - [Utils] splitBlockBefore() always operates on DomTreeUpdater, so take it, not DomTree

2021-01-15 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-15T23:35:56+03:00 New Revision: b81f75fa79162e9e2ba84d6b4cdd72f564b050c6 URL: https://github.com/llvm/llvm-project/commit/b81f75fa79162e9e2ba84d6b4cdd72f564b050c6 DIFF: https://github.com/llvm/llvm-project/commit/b81f75fa79162e9e2ba84d6b4cdd72f564b050c6.diff

[llvm-branch-commits] [llvm] 61ec228 - [NFC][SimplifyCFG] Add testcase showing that we fail to preserve DomTree in switchToSelect()

2021-01-15 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-15T23:35:55+03:00 New Revision: 61ec2280308bd5e2161efe2959d7d26798c85cb4 URL: https://github.com/llvm/llvm-project/commit/61ec2280308bd5e2161efe2959d7d26798c85cb4 DIFF: https://github.com/llvm/llvm-project/commit/61ec2280308bd5e2161efe2959d7d26798c85cb4.diff

[llvm-branch-commits] [llvm] ec8a6c1 - [SimplifyCFGPass] iterativelySimplifyCFG(): support lazy DomTreeUpdater

2021-01-11 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-12T02:09:47+03:00 New Revision: ec8a6c11db4102ec249ce90084b3f615c5de15e5 URL: https://github.com/llvm/llvm-project/commit/ec8a6c11db4102ec249ce90084b3f615c5de15e5 DIFF: https://github.com/llvm/llvm-project/commit/ec8a6c11db4102ec249ce90084b3f615c5de15e5.diff

[llvm-branch-commits] [llvm] 81afeac - [SimplifyCFGPass] mergeEmptyReturnBlocks(): skip blocks scheduled for removal as per DomTreeUpdater

2021-01-11 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-12T02:09:47+03:00 New Revision: 81afeacd379f160495718438d6dd5e9b848a169d URL: https://github.com/llvm/llvm-project/commit/81afeacd379f160495718438d6dd5e9b848a169d DIFF: https://github.com/llvm/llvm-project/commit/81afeacd379f160495718438d6dd5e9b848a169d.diff

[llvm-branch-commits] [llvm] 90a92f8 - [NFCI][Utils/Local] removeUnreachableBlocks(): cleanup support for lazy DomTreeUpdater

2021-01-11 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-12T02:09:47+03:00 New Revision: 90a92f8b4d783cb08443a22f0dd2fa3adcb43807 URL: https://github.com/llvm/llvm-project/commit/90a92f8b4d783cb08443a22f0dd2fa3adcb43807 DIFF: https://github.com/llvm/llvm-project/commit/90a92f8b4d783cb08443a22f0dd2fa3adcb43807.diff

[llvm-branch-commits] [llvm] f9ba347 - [SimplifyCFG] FoldValueComparisonIntoPredecessors(): don't insert a DomTree edge if it already exists

2021-01-11 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-12T02:09:47+03:00 New Revision: f9ba34770638389ee9b251f6ab801c7411601c77 URL: https://github.com/llvm/llvm-project/commit/f9ba34770638389ee9b251f6ab801c7411601c77 DIFF: https://github.com/llvm/llvm-project/commit/f9ba34770638389ee9b251f6ab801c7411601c77.diff

[llvm-branch-commits] [llvm] c0de0a1 - [SimplifyCFG] SimplifyBranchOnICmpChain(): don't insert a DomTree edge that already exists

2021-01-11 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-12T02:09:46+03:00 New Revision: c0de0a1b72c08783141c430b583e04e5107ebc0a URL: https://github.com/llvm/llvm-project/commit/c0de0a1b72c08783141c430b583e04e5107ebc0a DIFF: https://github.com/llvm/llvm-project/commit/c0de0a1b72c08783141c430b583e04e5107ebc0a.diff

[llvm-branch-commits] [llvm] c22bc5f - [SimplifyCFG] SwitchToLookupTable(): don't insert a DomTree edge that already exists

2021-01-11 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-12T02:09:46+03:00 New Revision: c22bc5f1f8b295674aa3a62dced8a39ad3d2aa02 URL: https://github.com/llvm/llvm-project/commit/c22bc5f1f8b295674aa3a62dced8a39ad3d2aa02 DIFF: https://github.com/llvm/llvm-project/commit/c22bc5f1f8b295674aa3a62dced8a39ad3d2aa02.diff

[llvm-branch-commits] [llvm] 8e8d214 - [NFCI][SimplifyCFG] Prefer to add Insert edges before Delete edges into DomTreeUpdater, if reasonable

2021-01-10 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-11T00:30:44+03:00 New Revision: 8e8d214c4a6c417e42996faeb9211a5c2e32111f URL: https://github.com/llvm/llvm-project/commit/8e8d214c4a6c417e42996faeb9211a5c2e32111f DIFF: https://github.com/llvm/llvm-project/commit/8e8d214c4a6c417e42996faeb9211a5c2e32111f.diff

[llvm-branch-commits] [llvm] d59f97b - [SimplifyCFG] removeUnwindEdge(): switch to non-permissive DomTree updates

2021-01-07 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-08T02:15:27+03:00 New Revision: d59f97bb3a652565ac074e76da2b6b54816880f3 URL: https://github.com/llvm/llvm-project/commit/d59f97bb3a652565ac074e76da2b6b54816880f3 DIFF: https://github.com/llvm/llvm-project/commit/d59f97bb3a652565ac074e76da2b6b54816880f3.diff

[llvm-branch-commits] [llvm] f0eba8c - [SimplifyCFG] changeToCall(): switch to non-permissive DomTree updates

2021-01-07 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-08T02:15:27+03:00 New Revision: f0eba8ce2d4027a890751b7617e98730d7d682f6 URL: https://github.com/llvm/llvm-project/commit/f0eba8ce2d4027a890751b7617e98730d7d682f6 DIFF: https://github.com/llvm/llvm-project/commit/f0eba8ce2d4027a890751b7617e98730d7d682f6.diff

[llvm-branch-commits] [llvm] be0a31d - [SimplifyCFG] DeleteDeadBlocks(): switch to non-permissive DomTree updates

2021-01-07 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-08T02:15:27+03:00 New Revision: be0a31d13bcf28577f65b8e189a8bb105b000274 URL: https://github.com/llvm/llvm-project/commit/be0a31d13bcf28577f65b8e189a8bb105b000274 DIFF: https://github.com/llvm/llvm-project/commit/be0a31d13bcf28577f65b8e189a8bb105b000274.diff

[llvm-branch-commits] [llvm] 6618921 - [SimplifyCFG] MergeBlockIntoPredecessor(): switch to non-permissive DomTree updates

2021-01-07 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-08T02:15:26+03:00 New Revision: 66189212bbb0351ae98bbda70bd2cd819e86fd17 URL: https://github.com/llvm/llvm-project/commit/66189212bbb0351ae98bbda70bd2cd819e86fd17 DIFF: https://github.com/llvm/llvm-project/commit/66189212bbb0351ae98bbda70bd2cd819e86fd17.diff

[llvm-branch-commits] [llvm] 05adc73 - [SimplifyCFG] changeToUnreachable(): switch to non-permissive DomTree updates

2021-01-07 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-08T02:15:26+03:00 New Revision: 05adc73db053fd79e64901e359e6ee783d772a80 URL: https://github.com/llvm/llvm-project/commit/05adc73db053fd79e64901e359e6ee783d772a80 DIFF: https://github.com/llvm/llvm-project/commit/05adc73db053fd79e64901e359e6ee783d772a80.diff

[llvm-branch-commits] [llvm] 6984781 - [NFC][SimplifyCFG] Add a test with an undef cond branch to identical destinations

2021-01-07 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-08T02:15:26+03:00 New Revision: 6984781df9b584febce51b7740c8738a076f5692 URL: https://github.com/llvm/llvm-project/commit/6984781df9b584febce51b7740c8738a076f5692 DIFF: https://github.com/llvm/llvm-project/commit/6984781df9b584febce51b7740c8738a076f5692.diff

[llvm-branch-commits] [llvm] 7600d7c - [SimplifyCFG] removeUnreachableBlocks(): switch to non-permissive DomTree updates

2021-01-07 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-08T02:15:26+03:00 New Revision: 7600d7c7be07ee78543522d0fbd1e92e672a0327 URL: https://github.com/llvm/llvm-project/commit/7600d7c7be07ee78543522d0fbd1e92e672a0327 DIFF: https://github.com/llvm/llvm-project/commit/7600d7c7be07ee78543522d0fbd1e92e672a0327.diff

[llvm-branch-commits] [llvm] f8875c3 - [NFC][SimplifyCFG] Add test with an unreachable block with two identical successors

2021-01-07 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-08T02:15:25+03:00 New Revision: f8875c313c381764a9734dbd6e94539e8837d9f7 URL: https://github.com/llvm/llvm-project/commit/f8875c313c381764a9734dbd6e94539e8837d9f7 DIFF: https://github.com/llvm/llvm-project/commit/f8875c313c381764a9734dbd6e94539e8837d9f7.diff

[llvm-branch-commits] [llvm] 1f9b591 - [SimplifyCFG] TryToSimplifyUncondBranchFromEmptyBlock(): switch to non-permissive DomTree updates

2021-01-07 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-08T02:15:25+03:00 New Revision: 1f9b591ee66fe5abd6f63990b085e1f1f559d8d9 URL: https://github.com/llvm/llvm-project/commit/1f9b591ee66fe5abd6f63990b085e1f1f559d8d9 DIFF: https://github.com/llvm/llvm-project/commit/1f9b591ee66fe5abd6f63990b085e1f1f559d8d9.diff

[llvm-branch-commits] [llvm] b382272 - [SimplifyCFG] ConstantFoldTerminator(): switch to non-permissive DomTree updates in `indirectbr` handling

2021-01-07 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-08T02:15:25+03:00 New Revision: b3822728fae2e3755d6daff7fc31fbac16e61fe4 URL: https://github.com/llvm/llvm-project/commit/b3822728fae2e3755d6daff7fc31fbac16e61fe4 DIFF: https://github.com/llvm/llvm-project/commit/b3822728fae2e3755d6daff7fc31fbac16e61fe4.diff

[llvm-branch-commits] [llvm] 8b9a0e6 - [NFC][SimlifyCFG] Add some indirectbr-of-blockaddress tests

2021-01-07 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-08T02:15:25+03:00 New Revision: 8b9a0e6f7ed2fa3293ba5cd2c2fb1acd21db6e2d URL: https://github.com/llvm/llvm-project/commit/8b9a0e6f7ed2fa3293ba5cd2c2fb1acd21db6e2d DIFF: https://github.com/llvm/llvm-project/commit/8b9a0e6f7ed2fa3293ba5cd2c2fb1acd21db6e2d.diff

[llvm-branch-commits] [llvm] 36593a3 - [SimplifyCFG] ConstantFoldTerminator(): switch to non-permissive DomTree updates in `SwitchInst` handling

2021-01-07 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-08T02:15:24+03:00 New Revision: 36593a30a40b52e8040d821bbd294ef6758cf9cf URL: https://github.com/llvm/llvm-project/commit/36593a30a40b52e8040d821bbd294ef6758cf9cf DIFF: https://github.com/llvm/llvm-project/commit/36593a30a40b52e8040d821bbd294ef6758cf9cf.diff

[llvm-branch-commits] [llvm] 16ab8e5 - [SimplifyCFG] ConstantFoldTerminator(): handle matching destinations of condbr earlier

2021-01-07 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-08T02:15:24+03:00 New Revision: 16ab8e5f6dbbeb5b8e900677f4a64c9924ecd7ba URL: https://github.com/llvm/llvm-project/commit/16ab8e5f6dbbeb5b8e900677f4a64c9924ecd7ba DIFF: https://github.com/llvm/llvm-project/commit/16ab8e5f6dbbeb5b8e900677f4a64c9924ecd7ba.diff

[llvm-branch-commits] [llvm] 087be53 - [NFC][SimplifyCFG] Add a test with cond br on constant w/ identical destinations

2021-01-07 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-08T02:15:24+03:00 New Revision: 087be536feab0aacc043aed52bee2e48e90e538c URL: https://github.com/llvm/llvm-project/commit/087be536feab0aacc043aed52bee2e48e90e538c DIFF: https://github.com/llvm/llvm-project/commit/087be536feab0aacc043aed52bee2e48e90e538c.diff

[llvm-branch-commits] [llvm] 6be1fd6 - [SimplifyCFG] FoldValueComparisonIntoPredecessors(): drop reachable errneous assert

2021-01-07 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-07T18:05:04+03:00 New Revision: 6be1fd6b20f3418543a50ce9b04ab4a49585a7eb URL: https://github.com/llvm/llvm-project/commit/6be1fd6b20f3418543a50ce9b04ab4a49585a7eb DIFF: https://github.com/llvm/llvm-project/commit/6be1fd6b20f3418543a50ce9b04ab4a49585a7eb.diff

[llvm-branch-commits] [llvm] 8dee0b4 - [llvm-reduce] ReduceGlobalVarInitializers delta pass: fix handling of globals w/ comdat/non-external linkage

2021-01-07 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-07T18:05:03+03:00 New Revision: 8dee0b4bd6376f5518accf45e9ecc4a44a4c8481 URL: https://github.com/llvm/llvm-project/commit/8dee0b4bd6376f5518accf45e9ecc4a44a4c8481 DIFF: https://github.com/llvm/llvm-project/commit/8dee0b4bd6376f5518accf45e9ecc4a44a4c8481.diff

[llvm-branch-commits] [llvm] a14945c - [SimplifyCFG] SimplifyEqualityComparisonWithOnlyPredecessor(): really don't delete DomTree edges multiple times

2021-01-05 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-06T01:52:39+03:00 New Revision: a14945c1db614261a6f8d5d199e246d78f51e977 URL: https://github.com/llvm/llvm-project/commit/a14945c1db614261a6f8d5d199e246d78f51e977 DIFF: https://github.com/llvm/llvm-project/commit/a14945c1db614261a6f8d5d199e246d78f51e977.diff

[llvm-branch-commits] [llvm] 0a87e53 - [NFC][SimplifyCFG] Add a test where SimplifyEqualityComparisonWithOnlyPredecessor() deletes existing edge

2021-01-05 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-06T01:52:39+03:00 New Revision: 0a87e53fc40ffd644139cdd210e7c382dbe329c8 URL: https://github.com/llvm/llvm-project/commit/0a87e53fc40ffd644139cdd210e7c382dbe329c8 DIFF: https://github.com/llvm/llvm-project/commit/0a87e53fc40ffd644139cdd210e7c382dbe329c8.diff

[llvm-branch-commits] [llvm] 2b437fc - [SimplifyCFG] SwitchToLookupTable(): switch to non-permissive DomTree updates

2021-01-05 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-06T01:52:38+03:00 New Revision: 2b437fcd479befb96bd61e71c4de8143bd861a48 URL: https://github.com/llvm/llvm-project/commit/2b437fcd479befb96bd61e71c4de8143bd861a48 DIFF: https://github.com/llvm/llvm-project/commit/2b437fcd479befb96bd61e71c4de8143bd861a48.diff

[llvm-branch-commits] [llvm] fa5447a - [NFC][SimplifyCFG] SwitchToLookupTable(): pull out SI->getParent() into a variable

2021-01-05 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-06T01:52:38+03:00 New Revision: fa5447aa3fec313bfd8ec31b7c66d390a5589b94 URL: https://github.com/llvm/llvm-project/commit/fa5447aa3fec313bfd8ec31b7c66d390a5589b94 DIFF: https://github.com/llvm/llvm-project/commit/fa5447aa3fec313bfd8ec31b7c66d390a5589b94.diff

[llvm-branch-commits] [llvm] d15d81c - [SimplifyCFG] FoldValueComparisonIntoPredecessors(): deal with each predecessor only once

2021-01-05 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-06T01:52:37+03:00 New Revision: d15d81ce15e086208f30d99ce2257a75401dc12c URL: https://github.com/llvm/llvm-project/commit/d15d81ce15e086208f30d99ce2257a75401dc12c DIFF: https://github.com/llvm/llvm-project/commit/d15d81ce15e086208f30d99ce2257a75401dc12c.diff

[llvm-branch-commits] [llvm] fc96cb2 - [SimplifyCFG] FoldValueComparisonIntoPredecessors(): switch to non-permissive DomTree updates

2021-01-05 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-06T01:52:37+03:00 New Revision: fc96cb2dad6b8293124f12d00fb55ff75c2ebe71 URL: https://github.com/llvm/llvm-project/commit/fc96cb2dad6b8293124f12d00fb55ff75c2ebe71 DIFF: https://github.com/llvm/llvm-project/commit/fc96cb2dad6b8293124f12d00fb55ff75c2ebe71.diff

[llvm-branch-commits] [llvm] 3460719 - [NFC][SimplifyCFG] Add a test with same-destination condidional branch

2021-01-05 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-06T01:52:36+03:00 New Revision: 3460719f583583e6990ec5c1b2a718cc01797bf7 URL: https://github.com/llvm/llvm-project/commit/3460719f583583e6990ec5c1b2a718cc01797bf7 DIFF: https://github.com/llvm/llvm-project/commit/3460719f583583e6990ec5c1b2a718cc01797bf7.diff

[llvm-branch-commits] [llvm] 29ca7d5 - [SimplifyCFG] simplifyUnreachable(): fix handling of degenerate same-destination conditional branch

2021-01-05 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-06T01:52:36+03:00 New Revision: 29ca7d5a1ad968c371124b8d82edd8d91eee7b4f URL: https://github.com/llvm/llvm-project/commit/29ca7d5a1ad968c371124b8d82edd8d91eee7b4f DIFF: https://github.com/llvm/llvm-project/commit/29ca7d5a1ad968c371124b8d82edd8d91eee7b4f.diff

[llvm-branch-commits] [llvm] f985356 - [SimplifyCFG] simplifyUnreachable(): switch to non-permissive DomTree updates

2021-01-05 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-06T01:52:36+03:00 New Revision: f98535686e3c1fa76986337639df1636282692c9 URL: https://github.com/llvm/llvm-project/commit/f98535686e3c1fa76986337639df1636282692c9 DIFF: https://github.com/llvm/llvm-project/commit/f98535686e3c1fa76986337639df1636282692c9.diff

[llvm-branch-commits] [llvm] 32c47eb - [SimplifyCFG] SimplifyCondBranchToTwoReturns(): switch to non-permissive DomTree updates

2021-01-04 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-05T01:26:37+03:00 New Revision: 32c47ebef18d904445ce909e4a6922ffbfe4053f URL: https://github.com/llvm/llvm-project/commit/32c47ebef18d904445ce909e4a6922ffbfe4053f DIFF: https://github.com/llvm/llvm-project/commit/32c47ebef18d904445ce909e4a6922ffbfe4053f.diff

[llvm-branch-commits] [llvm] 110b3d7 - [SimplifyCFG] SimplifyEqualityComparisonWithOnlyPredecessor(): switch to non-permissive DomTree updates

2021-01-04 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-05T01:26:37+03:00 New Revision: 110b3d7855ef71a7d43a0779b2e1c32e1a31daae URL: https://github.com/llvm/llvm-project/commit/110b3d7855ef71a7d43a0779b2e1c32e1a31daae DIFF: https://github.com/llvm/llvm-project/commit/110b3d7855ef71a7d43a0779b2e1c32e1a31daae.diff

[llvm-branch-commits] [llvm] a8604e3 - [SimplifyCFG] simplifyIndirectBr(): switch to non-permissive DomTree updates

2021-01-04 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-05T01:26:36+03:00 New Revision: a8604e3d5b7112da11508f100805d65a4eddeb33 URL: https://github.com/llvm/llvm-project/commit/a8604e3d5b7112da11508f100805d65a4eddeb33 DIFF: https://github.com/llvm/llvm-project/commit/a8604e3d5b7112da11508f100805d65a4eddeb33.diff

[llvm-branch-commits] [llvm] ed9de61 - [SimplifyCFGPass] mergeEmptyReturnBlocks(): switch to non-permissive DomTree updates

2021-01-04 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-05T01:26:36+03:00 New Revision: ed9de61cc3e280f84e3f0f98a49af21c7e59c4c9 URL: https://github.com/llvm/llvm-project/commit/ed9de61cc3e280f84e3f0f98a49af21c7e59c4c9 DIFF: https://github.com/llvm/llvm-project/commit/ed9de61cc3e280f84e3f0f98a49af21c7e59c4c9.diff

[llvm-branch-commits] [llvm] 3fb5722 - [NFCI] SimplifyCFG: switch to non-permissive DomTree updates, where possible

2021-01-04 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-05T01:26:36+03:00 New Revision: 3fb57222c4c0db02f13f32579fb83d0d488becad URL: https://github.com/llvm/llvm-project/commit/3fb57222c4c0db02f13f32579fb83d0d488becad DIFF: https://github.com/llvm/llvm-project/commit/3fb57222c4c0db02f13f32579fb83d0d488becad.diff

[llvm-branch-commits] [llvm] b4f519b - [NFCI] DwarfEHPrepare: update DomTree in non-permissive mode, when present

2021-01-04 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-05T01:26:36+03:00 New Revision: b4f519bddda853443405d21728154c481837e18b URL: https://github.com/llvm/llvm-project/commit/b4f519bddda853443405d21728154c481837e18b DIFF: https://github.com/llvm/llvm-project/commit/b4f519bddda853443405d21728154c481837e18b.diff

[llvm-branch-commits] [llvm] 09b3f3f - [benchmark] Fixed a build error when using CMake 3.15.1 + NDK-R20

2021-01-04 Thread Roman Lebedev via llvm-branch-commits
Author: AnZhong Huang Date: 2021-01-04T11:00:57+03:00 New Revision: 09b3f3f22cbe159a737c44b2e78de08bbbfa5be3 URL: https://github.com/llvm/llvm-project/commit/09b3f3f22cbe159a737c44b2e78de08bbbfa5be3 DIFF: https://github.com/llvm/llvm-project/commit/09b3f3f22cbe159a737c44b2e78de08bbbfa5be3.diff

[llvm-branch-commits] [llvm] 98cd1c3 - [NFC][SimplifyCFG] Hoist 'original' DomTree verification from simplifyOnce() into run()

2021-01-03 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-04T01:02:02+03:00 New Revision: 98cd1c33e3c2c3cfee36fb0fea3285fda06224d3 URL: https://github.com/llvm/llvm-project/commit/98cd1c33e3c2c3cfee36fb0fea3285fda06224d3 DIFF: https://github.com/llvm/llvm-project/commit/98cd1c33e3c2c3cfee36fb0fea3285fda06224d3.diff

[llvm-branch-commits] [llvm] a768494 - [SimplifyCFG] SimplifyTerminatorOnSelect(): fix/tune DomTree updates

2021-01-03 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-04T01:02:02+03:00 New Revision: a7684940f0e4eafb1bafc75cfb0e620ee358abd4 URL: https://github.com/llvm/llvm-project/commit/a7684940f0e4eafb1bafc75cfb0e620ee358abd4 DIFF: https://github.com/llvm/llvm-project/commit/a7684940f0e4eafb1bafc75cfb0e620ee358abd4.diff

[llvm-branch-commits] [llvm] 70935b9 - [NFC][SimplifyCFG] SimplifyTerminatorOnSelect(): pull out OldTerm->getParent() into a variable

2021-01-03 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-04T01:02:02+03:00 New Revision: 70935b9595a410794882d043726a1aad38d44ebd URL: https://github.com/llvm/llvm-project/commit/70935b9595a410794882d043726a1aad38d44ebd DIFF: https://github.com/llvm/llvm-project/commit/70935b9595a410794882d043726a1aad38d44ebd.diff

[llvm-branch-commits] [llvm] 4fc9080 - [NFC][SimplifyCFG] Add a test where we fail to preserve DomTree validity

2021-01-03 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-04T01:02:01+03:00 New Revision: 4fc908025fd003a7517e392f35389364fb60500d URL: https://github.com/llvm/llvm-project/commit/4fc908025fd003a7517e392f35389364fb60500d DIFF: https://github.com/llvm/llvm-project/commit/4fc908025fd003a7517e392f35389364fb60500d.diff

[llvm-branch-commits] [llvm] 5fa241a - [SimplifyCFG] FoldValueComparisonIntoPredecessors(): fine-tune/fix DomTree preservation, take 2

2021-01-02 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-03T01:45:48+03:00 New Revision: 5fa241a6571c79c1cd0c0d9e7f87e5e361e2dab4 URL: https://github.com/llvm/llvm-project/commit/5fa241a6571c79c1cd0c0d9e7f87e5e361e2dab4 DIFF: https://github.com/llvm/llvm-project/commit/5fa241a6571c79c1cd0c0d9e7f87e5e361e2dab4.diff

[llvm-branch-commits] [llvm] a001393 - [NFC][SimplifyCFG] Add another test for switch creation where we fail to maintain DomTree

2021-01-02 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-03T01:45:48+03:00 New Revision: a0013934b6a194f0ecc4d98118920326b12d07a0 URL: https://github.com/llvm/llvm-project/commit/a0013934b6a194f0ecc4d98118920326b12d07a0 DIFF: https://github.com/llvm/llvm-project/commit/a0013934b6a194f0ecc4d98118920326b12d07a0.diff

[llvm-branch-commits] [llvm] 6a3a8d1 - [SimplifyCFG] FoldValueComparisonIntoPredecessors(): fine-tune/fix DomTree preservation

2021-01-02 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-03T01:45:48+03:00 New Revision: 6a3a8d17ebae0669e797ac22a2b2963b89ee12fa URL: https://github.com/llvm/llvm-project/commit/6a3a8d17ebae0669e797ac22a2b2963b89ee12fa DIFF: https://github.com/llvm/llvm-project/commit/6a3a8d17ebae0669e797ac22a2b2963b89ee12fa.diff

[llvm-branch-commits] [llvm] eda5030 - [NFC][SimplifyCFG] Add test for switch creation where we fail to maintain DomTree

2021-01-02 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-03T01:45:47+03:00 New Revision: eda50309f5930d249fef4747efb9a047d239ba05 URL: https://github.com/llvm/llvm-project/commit/eda50309f5930d249fef4747efb9a047d239ba05 DIFF: https://github.com/llvm/llvm-project/commit/eda50309f5930d249fef4747efb9a047d239ba05.diff

[llvm-branch-commits] [llvm] 5799fc7 - [llvm-reduce] Refactor global variable delta pass

2021-01-02 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-03T01:45:47+03:00 New Revision: 5799fc79c3fdbc81dd421afae38197009ad605c9 URL: https://github.com/llvm/llvm-project/commit/5799fc79c3fdbc81dd421afae38197009ad605c9 DIFF: https://github.com/llvm/llvm-project/commit/5799fc79c3fdbc81dd421afae38197009ad605c9.diff

[llvm-branch-commits] [llvm] 19ab181 - [llvm-reduce] Fix removal of unused llvm intrinsics declarations

2021-01-02 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-03T01:45:47+03:00 New Revision: 19ab1817b61d3b716f69f78f727de8bd8887f53f URL: https://github.com/llvm/llvm-project/commit/19ab1817b61d3b716f69f78f727de8bd8887f53f DIFF: https://github.com/llvm/llvm-project/commit/19ab1817b61d3b716f69f78f727de8bd8887f53f.diff

[llvm-branch-commits] [llvm] 7c8b806 - [SimplifyCFG][AMDGPU] AMDGPUUnifyDivergentExitNodes: SimplifyCFG isn't ready to preserve PostDomTree

2021-01-02 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-03T01:45:46+03:00 New Revision: 7c8b8063b66c7b936d41a0c4069c506669e13115 URL: https://github.com/llvm/llvm-project/commit/7c8b8063b66c7b936d41a0c4069c506669e13115 DIFF: https://github.com/llvm/llvm-project/commit/7c8b8063b66c7b936d41a0c4069c506669e13115.diff

[llvm-branch-commits] [llvm] f4ea219 - [NFCI][CodeGen] DwarfEHPrepare: don't actually pass DTU into simplifyCFG by default

2021-01-02 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-02T14:38:52+03:00 New Revision: f4ea21947d907c8730fef2be8fbad457f1d96a0e URL: https://github.com/llvm/llvm-project/commit/f4ea21947d907c8730fef2be8fbad457f1d96a0e DIFF: https://github.com/llvm/llvm-project/commit/f4ea21947d907c8730fef2be8fbad457f1d96a0e.diff

[llvm-branch-commits] [llvm] b9da488 - [SimplifyCFG] Don't actually take DomTreeUpdater unless we intend to maintain DomTree validity

2021-01-02 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-02T14:40:55+03:00 New Revision: b9da488ad729a6604439d1b5e456330bab9321bd URL: https://github.com/llvm/llvm-project/commit/b9da488ad729a6604439d1b5e456330bab9321bd DIFF: https://github.com/llvm/llvm-project/commit/b9da488ad729a6604439d1b5e456330bab9321bd.diff

[llvm-branch-commits] [llvm] 4b80647 - [AMDGPU][SimplifyCFG] Teach AMDGPUUnifyDivergentExitNodes to preserve {, Post}DomTree

2021-01-01 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-02T01:01:20+03:00 New Revision: 4b80647367950ba3da6a08260487fd0dbc50a9c5 URL: https://github.com/llvm/llvm-project/commit/4b80647367950ba3da6a08260487fd0dbc50a9c5 DIFF: https://github.com/llvm/llvm-project/commit/4b80647367950ba3da6a08260487fd0dbc50a9c5.diff

[llvm-branch-commits] [llvm] b4429f3 - [SimplifyCFG] Teach removeUndefIntroducingPredecessor to preserve DomTree

2021-01-01 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-02T01:01:20+03:00 New Revision: b4429f3cdd1a8511bd014877b22d9679c4a74dbd URL: https://github.com/llvm/llvm-project/commit/b4429f3cdd1a8511bd014877b22d9679c4a74dbd DIFF: https://github.com/llvm/llvm-project/commit/b4429f3cdd1a8511bd014877b22d9679c4a74dbd.diff

[llvm-branch-commits] [llvm] 2461cdb - [CodeGen][SimplifyCFG] Teach DwarfEHPrepare to preserve DomTree

2021-01-01 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-02T01:01:19+03:00 New Revision: 2461cdb41724298591133c811df82b0064adfa6b URL: https://github.com/llvm/llvm-project/commit/2461cdb41724298591133c811df82b0064adfa6b DIFF: https://github.com/llvm/llvm-project/commit/2461cdb41724298591133c811df82b0064adfa6b.diff

[llvm-branch-commits] [llvm] b23b1bc - [NFC][CodeGen][Tests] Mark all tests that fail to preserve DomTree for SimplifyCFG as such

2021-01-01 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-02T01:01:19+03:00 New Revision: b23b1bcc26e775a4998a78b6fe256e8cb0e3e0d3 URL: https://github.com/llvm/llvm-project/commit/b23b1bcc26e775a4998a78b6fe256e8cb0e3e0d3 DIFF: https://github.com/llvm/llvm-project/commit/b23b1bcc26e775a4998a78b6fe256e8cb0e3e0d3.diff

[llvm-branch-commits] [llvm] e6b1a27 - [NFC][CodeGen] Split DwarfEHPrepare pass into an actual transform and an legacy-PM wrapper

2021-01-01 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-02T01:01:19+03:00 New Revision: e6b1a27fb9c71a9a81439917368a25ddc7d371a9 URL: https://github.com/llvm/llvm-project/commit/e6b1a27fb9c71a9a81439917368a25ddc7d371a9 DIFF: https://github.com/llvm/llvm-project/commit/e6b1a27fb9c71a9a81439917368a25ddc7d371a9.diff

[llvm-branch-commits] [llvm] c38739a - [NFC] clang-format the entire DwarfEHPrepare.cpp

2021-01-01 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-02T01:01:19+03:00 New Revision: c38739ad8f10beb3144abcfebdcf50547328d346 URL: https://github.com/llvm/llvm-project/commit/c38739ad8f10beb3144abcfebdcf50547328d346 DIFF: https://github.com/llvm/llvm-project/commit/c38739ad8f10beb3144abcfebdcf50547328d346.diff

[llvm-branch-commits] [llvm] 5fe0798 - [Utils] LocalTest: fix SimplifyCFGWithNullAC test to work with `-simplifycfg-require-and-preserve-domtree=1`

2021-01-01 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-02T01:01:18+03:00 New Revision: 5fe0798dee6e2093aad7be11956c2bcaaf61dc8c URL: https://github.com/llvm/llvm-project/commit/5fe0798dee6e2093aad7be11956c2bcaaf61dc8c DIFF: https://github.com/llvm/llvm-project/commit/5fe0798dee6e2093aad7be11956c2bcaaf61dc8c.diff

[llvm-branch-commits] [llvm] db75326 - [IR] PassManagerTest: Register DominatorTreeAnalysis before running SimplifyCFGPass

2021-01-01 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-02T01:01:18+03:00 New Revision: db753269d912936d9ab27018faf867afce4b16de URL: https://github.com/llvm/llvm-project/commit/db753269d912936d9ab27018faf867afce4b16de DIFF: https://github.com/llvm/llvm-project/commit/db753269d912936d9ab27018faf867afce4b16de.diff

[llvm-branch-commits] [llvm] 657c1e0 - [SimplifyCFG] Teach eliminateDeadSwitchCases() to preserve DomTree, part 2

2021-01-01 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-02T01:01:18+03:00 New Revision: 657c1e09da9fb5e63b963fe8eeace01e42e7d3ba URL: https://github.com/llvm/llvm-project/commit/657c1e09da9fb5e63b963fe8eeace01e42e7d3ba DIFF: https://github.com/llvm/llvm-project/commit/657c1e09da9fb5e63b963fe8eeace01e42e7d3ba.diff

[llvm-branch-commits] [llvm] f1ce696 - [SimplifyCFG] Teach tryWidenCondBranchToCondBranch() to preserve DomTree

2021-01-01 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-02T01:01:17+03:00 New Revision: f1ce6960561bc28129fa3306f57a5c6df21258ab URL: https://github.com/llvm/llvm-project/commit/f1ce6960561bc28129fa3306f57a5c6df21258ab DIFF: https://github.com/llvm/llvm-project/commit/f1ce6960561bc28129fa3306f57a5c6df21258ab.diff

[llvm-branch-commits] [llvm] e08fea3 - [SimplifyCFGPass] Ensure that DominatorTreeWrapperPass is init'd before SimplifyCFG

2021-01-01 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-02T01:01:17+03:00 New Revision: e08fea3b240994572a4dd6b34bd846aef023a123 URL: https://github.com/llvm/llvm-project/commit/e08fea3b240994572a4dd6b34bd846aef023a123 DIFF: https://github.com/llvm/llvm-project/commit/e08fea3b240994572a4dd6b34bd846aef023a123.diff

[llvm-branch-commits] [llvm] 831636b - [SimplifyCFG] SUCCESS! Teach createUnreachableSwitchDefault() to preserve DomTree

2020-12-31 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-01T03:25:25+03:00 New Revision: 831636b0e6321500fd7bf3f32e8663369152a956 URL: https://github.com/llvm/llvm-project/commit/831636b0e6321500fd7bf3f32e8663369152a956 DIFF: https://github.com/llvm/llvm-project/commit/831636b0e6321500fd7bf3f32e8663369152a956.diff

[llvm-branch-commits] [llvm] e1440d4 - [SimplifyCFG] Teach tryToSimplifyUncondBranchWithICmpInIt() to preserve DomTree

2020-12-31 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-01T03:25:25+03:00 New Revision: e1440d43bca5438544a12bebe82a3cd1a37157f1 URL: https://github.com/llvm/llvm-project/commit/e1440d43bca5438544a12bebe82a3cd1a37157f1 DIFF: https://github.com/llvm/llvm-project/commit/e1440d43bca5438544a12bebe82a3cd1a37157f1.diff

[llvm-branch-commits] [llvm] 8866583 - [SimplifyCFG] Teach FoldValueComparisonIntoPredecessors() to preserve DomTree, part 2

2020-12-31 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-01T03:25:24+03:00 New Revision: 8866583953f1e9038b5ca4ed4c199e0476790e0c URL: https://github.com/llvm/llvm-project/commit/8866583953f1e9038b5ca4ed4c199e0476790e0c DIFF: https://github.com/llvm/llvm-project/commit/8866583953f1e9038b5ca4ed4c199e0476790e0c.diff

[llvm-branch-commits] [llvm] a815b6b - [SimplifyCFG] Teach eliminateDeadSwitchCases() to preserve DomTree, part 1

2020-12-31 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-01T03:25:24+03:00 New Revision: a815b6b2b2cc483cfe9d2b520790322a39f8d37b URL: https://github.com/llvm/llvm-project/commit/a815b6b2b2cc483cfe9d2b520790322a39f8d37b DIFF: https://github.com/llvm/llvm-project/commit/a815b6b2b2cc483cfe9d2b520790322a39f8d37b.diff

[llvm-branch-commits] [llvm] 0d2f219 - [SimplifyCFG] Teach SimplifyEqualityComparisonWithOnlyPredecessor() to preserve DomTree, part 3

2020-12-31 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-01T03:25:23+03:00 New Revision: 0d2f219d4d0b4c61491508e6980055ecc241418c URL: https://github.com/llvm/llvm-project/commit/0d2f219d4d0b4c61491508e6980055ecc241418c DIFF: https://github.com/llvm/llvm-project/commit/0d2f219d4d0b4c61491508e6980055ecc241418c.diff

[llvm-branch-commits] [llvm] 9f17dab - [SimplifyCFG] Teach simplifyIndirectBr() to preserve DomTree

2020-12-31 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-01T03:25:23+03:00 New Revision: 9f17dab1f48eed788d29e4c6f045e64b0679b3a9 URL: https://github.com/llvm/llvm-project/commit/9f17dab1f48eed788d29e4c6f045e64b0679b3a9 DIFF: https://github.com/llvm/llvm-project/commit/9f17dab1f48eed788d29e4c6f045e64b0679b3a9.diff

[llvm-branch-commits] [llvm] b7c463d - [SimplifyCFG] Teach FoldBranchToCommonDest() to preserve DomTree, part 2

2020-12-31 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-01T03:25:23+03:00 New Revision: b7c463d7b8dda2c2b3e9a4db51f94dc94542ee68 URL: https://github.com/llvm/llvm-project/commit/b7c463d7b8dda2c2b3e9a4db51f94dc94542ee68 DIFF: https://github.com/llvm/llvm-project/commit/b7c463d7b8dda2c2b3e9a4db51f94dc94542ee68.diff

[llvm-branch-commits] [llvm] c1b825d - [SimplifyCFG] Teach FoldValueComparisonIntoPredecessors() to preserve DomTree, part 1

2020-12-31 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2021-01-01T03:25:22+03:00 New Revision: c1b825d4b8a68178613972a50088b2b73105e91e URL: https://github.com/llvm/llvm-project/commit/c1b825d4b8a68178613972a50088b2b73105e91e DIFF: https://github.com/llvm/llvm-project/commit/c1b825d4b8a68178613972a50088b2b73105e91e.diff

[llvm-branch-commits] [llvm] 51879a5 - [LoopIdiom] 'left-shift until bittest': don't forget to check that PHI node is in loop header

2020-12-30 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2020-12-30T23:58:41+03:00 New Revision: 51879a525649c8151f7e841b66a5cea0e1c8e74e URL: https://github.com/llvm/llvm-project/commit/51879a525649c8151f7e841b66a5cea0e1c8e74e DIFF: https://github.com/llvm/llvm-project/commit/51879a525649c8151f7e841b66a5cea0e1c8e74e.diff

[llvm-branch-commits] [llvm] a17025a - [SimplifyCFG] Teach switchToSelect() to preserve DomTree

2020-12-30 Thread Roman Lebedev via llvm-branch-commits
Author: Roman Lebedev Date: 2020-12-30T23:58:40+03:00 New Revision: a17025aa61b16021ee85ff5deec47a9ed40ae1d4 URL: https://github.com/llvm/llvm-project/commit/a17025aa61b16021ee85ff5deec47a9ed40ae1d4 DIFF: https://github.com/llvm/llvm-project/commit/a17025aa61b16021ee85ff5deec47a9ed40ae1d4.diff

  1   2   >