I agree. Convert getLdStBaseRegImmOfs into getMemOpBaseRegImmOfs. There is already a hook for shouldClusterLoads, so there's no reason to filter loads/stores in that API. http://reviews.llvm.org/D10199 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/