commit | 1cbefe8aa1fa0698569911216f88586a6c3a2b78 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Wed Sep 20 22:31:35 2017 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Wed Sep 20 22:31:35 2017 +0000 |
tree | 01d3b48e37001337e0e1ab6df081425fca6dea57 | |
parent | 04fcc66bc1484224f318ae2c9746c91ef59efcd9 [diff] |
[SimplifyCFG] don't create a no-op subtract I noticed this inefficiency while investigating PR34603: https://bugs.llvm.org/show_bug.cgi?id=34603 This fix will likely push another bug (we don't maintain state of 'LateSimplifyCFG') into hiding, but I'll try to clean that up with a follow-up patch anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313829 91177308-0d34-0410-b5e6-96231b3b80d8