Displaying 2 results from an estimated 2 matches for "09791".
Did you mean:
0971
2008 Apr 04
2
[LLVMdev] InstCombine Question
I am confused by this bit of code in instcombine:
09789 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Op)) {
09790 const Value *GEPI0 = GEPI->getOperand(0);
09791 // TODO: Consider a target hook for valid address spaces for this
xform.
09792 if (isa<ConstantPointerNull>(GEPI0) &&
09793 cast<PointerType>(GEPI0->getType())->getAddressSpace() == 0) {
09794 // Insert a new store to null instruction before the load...
2008 Apr 04
0
[LLVMdev] InstCombine Question
On Fri, 4 Apr 2008, David Greene wrote:
> I am confused by this bit of code in instcombine:
>
> 09789 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Op)) {
> 09790 const Value *GEPI0 = GEPI->getOperand(0);
> 09791 // TODO: Consider a target hook for valid address spaces for this
> xform.
> 09792 if (isa<ConstantPointerNull>(GEPI0) &&
> 09793 cast<PointerType>(GEPI0->getType())->getAddressSpace() == 0) {
> 09794 // Insert a new store to null instruct...