From bb90a7aa7bf71311046ccc9f277e5f76cc082722 Mon Sep 17 00:00:00 2001 From: Robert Bocchino Date: Tue, 10 Jan 2006 20:03:46 +0000 Subject: Added constant folding support for the extractelement operation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25187 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/ConstantFold.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/VMCore/ConstantFold.h') diff --git a/lib/VMCore/ConstantFold.h b/lib/VMCore/ConstantFold.h index a864aa2..e8580c4 100644 --- a/lib/VMCore/ConstantFold.h +++ b/lib/VMCore/ConstantFold.h @@ -31,6 +31,8 @@ namespace llvm { Constant *ConstantFoldSelectInstruction(const Constant *Cond, const Constant *V1, const Constant *V2); + Constant *ConstantFoldExtractElementInstruction(const Constant *Val, + const Constant *Idx); Constant *ConstantFoldBinaryInstruction(unsigned Opcode, const Constant *V1, const Constant *V2); Constant *ConstantFoldGetElementPtr(const Constant *C, -- cgit v1.1