[PATCH] D22249: Get rid of bool parameters in SelectionDAG::getLoad, getStore, and friends.
Chandler Carruth via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 11 17:59:06 PDT 2016
chandlerc added inline comments.
================
Comment at: include/llvm/CodeGen/SelectionDAG.h:915-920
@@ -914,6 +914,8 @@
///
+ /// MMOFlags must be a combination of values from
+ /// MachineMemOperand::MemOperandFlags. MOLoad is implicitly set (but you can
+ /// set it if you want). MOStore must not be set.
SDValue getLoad(EVT VT, const SDLoc &dl, SDValue Chain, SDValue Ptr,
- MachinePointerInfo PtrInfo, bool isVolatile,
- bool isNonTemporal, bool isInvariant, unsigned Alignment,
- const AAMDNodes &AAInfo = AAMDNodes(),
+ MachinePointerInfo PtrInfo, unsigned Alignment = 0,
+ unsigned MMOFlags = 0, const AAMDNodes &AAInfo = AAMDNodes(),
const MDNode *Ranges = nullptr);
----------------
Can you make this an actual enum type instead of unsigned?
http://reviews.llvm.org/D22249
More information about the llvm-commits
mailing list