Do not use the type of the RHS constant to determine the type of the operation.
authorChris Lattner <sabre@nondot.org>
Wed, 12 Jan 2005 05:22:07 +0000 (05:22 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 12 Jan 2005 05:22:07 +0000 (05:22 +0000)
commit48034fd9f10490daca2fdd4e3801e13c26849ca7
treee73a58158361547e1a45b8b7226352182048f603
parenta23ccfb124196cd13232ba7015192598ad894645
Do not use the type of the RHS constant to determine the type of the operation.
This fails for shifts because the constant is always 8 bits.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19508 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelPattern.cpp