Displaying 4 results from an estimated 4 matches for "depstor".
Did you mean:
depstore
2009 Nov 04
5
[LLVMdev] DeadStoreElimination: do better without TargetData
...on.cpp (revision 86023)
> +++ lib/Transforms/Scalar/DeadStoreElimination.cpp (working copy)
> @@ -117,10 +117,12 @@
>
> // If this is a store-store dependence, then the previous store
> is dead so
> // long as this store is at least as big as it.
> - if (StoreInst *DepStore = dyn_cast<StoreInst>(InstDep.getInst()))
> - if (TD &&
> - TD->getTypeStoreSize(DepStore->getOperand(0)->getType()) <=
> - TD->getTypeStoreSize(SI->getOperand(0)->getType())) {
> + if (StoreInst *DepStore = dyn_cast<Store...
2009 Nov 04
0
[LLVMdev] DeadStoreElimination: do better without TargetData
Re-posting with better-looking code.
Hans Wennborg wrote:
> The attached patch makes DeadStoreElimination able to remove stores in
> store-store dependencies when the operand types are equal, even if there
> is no TargetData available.
>
> / Hans
>
>
> ------------------------------------------------------------------------
>
>
2009 Nov 04
2
[LLVMdev] DeadStoreElimination: do better without TargetData
The attached patch makes DeadStoreElimination able to remove stores in
store-store dependencies when the operand types are equal, even if there
is no TargetData available.
/ Hans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DeadStoreElimination.patch
Type: text/x-patch
Size: 812 bytes
Desc: not available
URL:
2009 Nov 04
0
[LLVMdev] DeadStoreElimination: do better without TargetData
...t; +++ lib/Transforms/Scalar/DeadStoreElimination.cpp (working copy)
>> @@ -117,10 +117,12 @@
>>
>> // If this is a store-store dependence, then the previous store is
>> dead so
>> // long as this store is at least as big as it.
>> - if (StoreInst *DepStore = dyn_cast<StoreInst>(InstDep.getInst()))
>> - if (TD &&
>> - TD->getTypeStoreSize(DepStore->getOperand(0)->getType()) <=
>> - TD->getTypeStoreSize(SI->getOperand(0)->getType())) {
>> + if (StoreInst *DepStore = d...