commit | 33887e39056499591e29eb62e7908b990ef1ca45 | [log] [tgz] |
---|---|---|
author | Matthias Braun <matze@braunis.de> | Mon Jan 09 21:38:17 2017 +0000 |
committer | Matthias Braun <matze@braunis.de> | Mon Jan 09 21:38:17 2017 +0000 |
tree | 369fc221bcd5514feae28218605def66c6c6a935 | |
parent | b4ff4983b87258ea0bca7852656180ef8d067ef6 [diff] |
PeepholeOptimizer: Do not replace SubregToReg(bitcast like) While we can usually replace bitcast like instructions (MachineInstr::isBitcast()) with a COPY this is not legal if any of the users uses SUBREG_TO_REG to assert the upper bits of the result are zero. Differential Revision: https://reviews.llvm.org/D28474 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291483 91177308-0d34-0410-b5e6-96231b3b80d8