[PATCH] Added TargetLowering::isVectorEltOrderLittleEndian(EVT)

Quentin Colombet qcolombet at apple.com
Thu Oct 31 13:43:04 PDT 2013

Comment at: include/llvm/Target/TargetLowering.h:151
@@ -150,2 +150,3 @@
   bool isLittleEndian() const { return IsLittleEndian; }
+  bool isVectorEltOrderLittleEndian(EVT Ty) const { return IsLittleEndian; }
   // Return the pointer type for the given address space, defaults to
Shouldn’t this be declared as virtual?
I expect this to be called in generic code, thus we will need polymorphism here, right?


More information about the llvm-commits mailing list