commit | 23a455a76dd381590e47b34551ecc904461d9ff0 | [log] [tgz] |
---|---|---|
author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | Wed Dec 06 13:53:24 2017 +0000 |
committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | Wed Dec 06 13:53:24 2017 +0000 |
tree | 25cb452abc8e46993265bf170fd614425e355776 | |
parent | 9a9926fb75ec6500ae70765fa62a444f4b76529d [diff] |
[SystemZ] Bugfix in expandRxSBG() Csmith discovered a program that caused wrong code generation with -O0: When handling a SIGN_EXTEND in expandRxSBG(), RxSBG.BitSize may be less than the Input width (if a truncate was previously traversed), so maskMatters() should be called with a masked based on the width of the sign extend result instead. Review: Ulrich Weigand git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319892 91177308-0d34-0410-b5e6-96231b3b80d8