commit | dbfce9ebe79e0d982337e17f0d6cc92bf70cab19 | [log] [tgz] |
---|---|---|
author | John Brawn <john.brawn@arm.com> | Tue Oct 03 13:04:15 2017 +0000 |
committer | John Brawn <john.brawn@arm.com> | Tue Oct 03 13:04:15 2017 +0000 |
tree | b7af1319eaa31739aa8d0f714b061df6c23cb6a2 | |
parent | a22fcf205ad22a13c646649f2701afe6feafc523 [diff] |
[CGP] In optimizeMemoryInst handle select similarly to phi This lets us optimize away selects that perform the same address computation in two different ways and is also the first step towards being able to handle selects between two different, but compatible, address computations. Differential Revision: https://reviews.llvm.org/D38242 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314794 91177308-0d34-0410-b5e6-96231b3b80d8