search for: sityp

Displaying 4 results from an estimated 4 matches for "sityp".

Did you mean: sitype
2009 Nov 04
5
[LLVMdev] DeadStoreElimination: do better without TargetData
...erand(0)->getType()) <= > - TD->getTypeStoreSize(SI->getOperand(0)->getType())) { > + if (StoreInst *DepStore = dyn_cast<StoreInst>(InstDep.getInst > ())) { > + const Type *DepType = DepStore->getOperand(0)->getType(); > + const Type *SIType = SI->getOperand(0)->getType(); > + if (DepType == SIType || > + (TD && > + TD->getTypeStoreSize(DepType) <= TD->getTypeStoreSize > (SIType))) { > // Delete the store and now-dead instructions that feed it. > DeleteDe...
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
...>getType()) <= >> - TD->getTypeStoreSize(SI->getOperand(0)->getType())) { >> + if (StoreInst *DepStore = dyn_cast<StoreInst>(InstDep.getInst())) { >> + const Type *DepType = DepStore->getOperand(0)->getType(); >> + const Type *SIType = SI->getOperand(0)->getType(); >> + if (DepType == SIType || >> + (TD && >> + TD->getTypeStoreSize(DepType) <= >> TD->getTypeStoreSize(SIType))) { >> // Delete the store and now-dead instructions that feed it. &g...