summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2017-11-30 08:18:50 +0000
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2017-11-30 08:18:50 +0000
commitb9a2467501789390bc5376e0d3cb1e1f2fffb624 (patch)
tree0eddcba3e39426cf5dfbbb95f26a983ab59682a2 /llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
parent527b3966d0e5fd25bce79b2409cd1a317563d338 (diff)
downloadbcm5719-llvm-b9a2467501789390bc5376e0d3cb1e1f2fffb624.tar.gz
bcm5719-llvm-b9a2467501789390bc5376e0d3cb1e1f2fffb624.zip
[SystemZ] Bugfix in adjustSubwordCmp.
Csmith generated a program where a store after load to the same address did not get chained after the new load created during DAG legalizing, and so performed an illegal overwrite of the expected value. When the new zero-extending load is created, the chain users of the original load must be updated, which was not done previously. A similar case was also found and handled in lowerBITCAST. Review: Ulrich Weigand https://reviews.llvm.org/D40542 llvm-svn: 319409
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopUnswitch.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud