OSDN Git Service

[SystemZ] Fix invalid codegen using RISBMux on out-of-range bits
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 14 Nov 2017 19:20:46 +0000 (19:20 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 14 Nov 2017 19:20:46 +0000 (19:20 +0000)
commit51bf6cb579122be7a85373a0fd196f26abd05537
treeaf59ecf9b22491fd7690b26344455f832a42eda1
parent1715109e25a929e1e4725577cd770f6a2c662e70
[SystemZ] Fix invalid codegen using RISBMux on out-of-range bits

Before using the 32-bit RISBMux set of instructions we need to
verify that the input bits are actually within range of the 32-bit
instruction.  This fixer PR35289.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318177 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
test/CodeGen/SystemZ/risbg-04.ll [new file with mode: 0644]