OSDN Git Service

Fix fast-isel to not emit invalid assembly when presented with a
authorDan Gohman <gohman@apple.com>
Sat, 20 Dec 2008 17:19:40 +0000 (17:19 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 20 Dec 2008 17:19:40 +0000 (17:19 +0000)
commitdb8419c92a5c0e74b7a5c8e783c83962c7d0c761
tree0b1143b623dc63c0f7c1edadb99e02342bbb010d
parentdf65157a85c46a04c2ca61bc6a07e43bcc57af45
Fix fast-isel to not emit invalid assembly when presented with a
constant shift count that doesn't fit in the shift instruction's
immediate field. This fixes PR3242.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61281 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FastISel.cpp
test/CodeGen/X86/fast-isel-shift-imm.ll [new file with mode: 0644]