Displaying 3 results from an estimated 3 matches for "getloadextaction".
Did you mean:
setloadextaction
2012 Dec 03
2
[LLVMdev] [RFC] Replacing EVT:s with MVT:s (when possible)
...there any general objections to replace EVT with MVT in these cases?
For example, a quick look at TargetLowering.h give me this list of (member) functions, taking an EVT parameter, that asserts if the argument is not an MVT:
getRegClassFor, getRepRegClassFor, getRepRegClassCostFor, setTypeAction, getLoadExtAction, isLoadExtLegal, getTruncStoreAction, isTruncStoreLegal, getIndexedLoadAction, getIndexedStoreAction, getCondCodeAction, getTypeToPromoteTo, addRegisterClass
Regards,
Patrik Hägglund
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail...
2012 Dec 06
0
[LLVMdev] [PATCH] Replacing EVT:s with MVT:s (when possible)
....h | 4 ++--
lib/CodeGen/SelectionDAG/TargetLowering.cpp | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
commit 968d4fc892e13c7a4b37f3e083a91fbf457be746
Author: Patrik Hägglund <patrik.h.hagglund at ericsson.com>
Date: Tue Dec 4 16:06:57 2012 +0100
Change TargetLowering::getLoadExtAction to take and MVT, instead of
EVT.
include/llvm/Target/TargetLowering.h | 10 +++++-----
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 2 +-
lib/Transforms/Scalar/CodeGenPrepare.cpp | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
commit 1a8efcc09d412fd08766044489216391cfdd3afb
Author:...
2012 Dec 03
0
[LLVMdev] [RFC] Replacing EVT:s with MVT:s (when possible)
...ctions to replace EVT with MVT in these cases?
>
> For example, a quick look at TargetLowering.h give me this list of (member) functions, taking an EVT parameter, that asserts if the argument is not an MVT:
>
> getRegClassFor, getRepRegClassFor, getRepRegClassCostFor, setTypeAction, getLoadExtAction, isLoadExtLegal, getTruncStoreAction, isTruncStoreLegal, getIndexedLoadAction, getIndexedStoreAction, getCondCodeAction, getTypeToPromoteTo, addRegisterClass
>
Please do. MVT is cheaper than EVT and conceptually cleaner when dealing with physical machine types. EVT should only be used in pa...