X86 CodeGenPrep: sink shufflevectors before shifts
[oota-llvm.git] / lib / Target / X86 / X86ISelLowering.h
index 6ea060ba3bc1c2339860f385eb80b56be18b72dd..ce9594ae3ed657c6d9d79fb501b10a876f6896e5 100644 (file)
@@ -679,6 +679,9 @@ namespace llvm {
     /// the immediate into a register.
     virtual bool isLegalAddImmediate(int64_t Imm) const;
 
+
+    virtual bool isVectorShiftByScalarCheap(Type *Ty) const;
+
     /// isTruncateFree - Return true if it's free to truncate a value of
     /// type Ty1 to type Ty2. e.g. On x86 it's free to truncate a i32 value in
     /// register EAX to i16 by referencing its sub-register AX.