diff options
author | Chris Lattner <sabre@nondot.org> | 2006-04-08 01:18:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-04-08 01:18:18 +0000 |
commit | 00f1023cf8b30c74dc219525f518a80c45b6e7ba (patch) | |
tree | 8d9dfabe750a455df498979071077e3c363e654b /lib/VMCore/ConstantFold.cpp | |
parent | 30b44b6b033aa002dfa875c199281ca4e98ad61b (diff) |
Add shufflevector support, todo, implement better constant folding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/ConstantFold.cpp')
-rw-r--r-- | lib/VMCore/ConstantFold.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/VMCore/ConstantFold.cpp b/lib/VMCore/ConstantFold.cpp index 94c8651609..f12a041df0 100644 --- a/lib/VMCore/ConstantFold.cpp +++ b/lib/VMCore/ConstantFold.cpp @@ -908,6 +908,14 @@ Constant *llvm::ConstantFoldInsertElementInstruction(const Constant *Val, return 0; } +Constant *llvm::ConstantFoldShuffleVectorInstruction(const Constant *V1, + const Constant *V2, + const Constant *Mask) { + // TODO: + return 0; +} + + /// isZeroSizedType - This type is zero sized if its an array or structure of /// zero sized types. The only leaf zero sized type is an empty structure. static bool isMaybeZeroSizedType(const Type *Ty) { |