commit | 61ffda59f952509ecba1a51d519eb7853c83184d | [log] [tgz] |
---|---|---|
author | Hal Finkel <hfinkel@anl.gov> | Wed Apr 22 11:32:25 2015 +0000 |
committer | Hal Finkel <hfinkel@anl.gov> | Wed Apr 22 11:32:25 2015 +0000 |
tree | 8260737fc0bc1c32e525b7be413eb74621264980 | |
parent | 21249eca6b2c089ec67c9fa3a770654bb34a7437 [diff] |
[DAGCombine] Disable select(c, load,load) for indexed loads This turned up after r235333, but was a pre-existing bug. The optimization which transforms select(c, load, load) into a load of a select of the addresses does not handle indexed loads (pre/post inc/dec). However, it did not check for them either, leading to a crash if it tried to transform one of them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235497 91177308-0d34-0410-b5e6-96231b3b80d8