diff options
author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2018-10-30 13:41:03 +0000 |
---|---|---|
committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2018-10-30 13:41:03 +0000 |
commit | af8e036c29ee7ef7cffb55be0d42e578d9d0aa79 (patch) | |
tree | f1ead3fb18db3b2bf96ec135e034195aebc8c980 /clang/lib/Serialization/ASTWriterStmt.cpp | |
parent | 647ece0144f1633bb98633a9b5e0a0dc565a0d1d (diff) | |
download | bcm5719-llvm-af8e036c29ee7ef7cffb55be0d42e578d9d0aa79.tar.gz bcm5719-llvm-af8e036c29ee7ef7cffb55be0d42e578d9d0aa79.zip |
[SystemZ] Improve isFoldableLoad() for Sub, SDiv and UDiv.
Sub, SDiv and UDiv are not commutative, so only the RHS operand can fold a
load. This patch adds a check for this.
Review: Ulrich Weigand
https://reviews.llvm.org/D53791
llvm-svn: 345596
Diffstat (limited to 'clang/lib/Serialization/ASTWriterStmt.cpp')
0 files changed, 0 insertions, 0 deletions