Introduce the VectorizeConfig class, with which we can control the behavior
[oota-llvm.git] / include / llvm / Operator.h
index e9aa4997f285b313a0e8793b598f695c92bf55f9..abd6a1939d71d72a56e08b73962190e5864f62f2 100644 (file)
@@ -261,8 +261,8 @@ public:
 
   /// getPointerOperandType - Method to return the pointer operand as a
   /// PointerType.
-  const PointerType *getPointerOperandType() const {
-    return reinterpret_cast<const PointerType*>(getPointerOperand()->getType());
+  Type *getPointerOperandType() const {
+    return getPointerOperand()->getType();
   }
 
   unsigned getNumIndices() const {  // Note: always non-negative