aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-10-04 22:18:12 +0000
committerHal Finkel <hfinkel@anl.gov>2013-10-04 22:18:12 +0000
commit03c8f8fbd539e539796b0bd9824797f3240261d7 (patch)
treedd5958304ee7faf8ad3951260c1da1cb937b02bf /lib/MC
parent5404ed811de113a21c99366c43b1209f3ba40c62 (diff)
downloadexternal_llvm-03c8f8fbd539e539796b0bd9824797f3240261d7.zip
external_llvm-03c8f8fbd539e539796b0bd9824797f3240261d7.tar.gz
external_llvm-03c8f8fbd539e539796b0bd9824797f3240261d7.tar.bz2
Fix DAGCombiner::visitFP_EXTEND to ignore indexed loads
DAGCombiner::visitFP_EXTEND will apply the following transformation: fold (fpext (load x)) -> (fpext (fptrunc (extload x))) but the implementation does not handle indexed loads (pre/post inc.), but did not specifically ignore them either (unlike for extending loads, which it already ignored), causing an assert when the transformation was applied to an indexed load. This is the minimal fix for correctness (causing the transformation to be skipped for indexed loads). Unfortunately, I don't have an in-tree test case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191989 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
0 files changed, 0 insertions, 0 deletions