Skip to content
  • Duncan Sands's avatar
    Factorize code: remove variants of "strip off · d65a4dae
    Duncan Sands authored
    pointer bitcasts and GEP's", and centralize the
    logic in Value::getUnderlyingObject.  The
    difference with stripPointerCasts is that
    stripPointerCasts only strips GEPs if all
    indices are zero, while getUnderlyingObject
    strips GEPs no matter what the indices are.
    
    llvm-svn: 56922
    d65a4dae
Loading