Apply a patch by Micah Villmow to fix AsmParser to accept vector
authorDan Gohman <gohman@apple.com>
Sat, 14 Mar 2009 17:09:17 +0000 (17:09 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 14 Mar 2009 17:09:17 +0000 (17:09 +0000)
commitc1317939045d1907f1e4a20315feceb0afa384a2
tree133eb060fd6127555612613aceb20462a4aed2d5
parent8d8ba38f98c465a0d95501361561baecbc104d59
Apply a patch by Micah Villmow to fix AsmParser to accept vector
shift constant expressions, and add support for folding vector
shift constant expressions. This fixes PR3802.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67010 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/ConstantFold.cpp
lib/VMCore/Constants.cpp
test/Assembler/vector-shift.ll