Skip to content
  • Hal Finkel's avatar
    Add noalias metadata for general calls (not just memory intrinsics) during inlining · d2dee16c
    Hal Finkel authored
    When preserving noalias function parameter attributes by adding noalias
    metadata in the inliner, we should do this for general function calls (not just
    memory intrinsics). The logic is very similar to what already existed (except
    that we want to add this metadata even for functions taking no relevant
    parameters). This metadata can be used by ModRef queries in the caller after
    inlining.
    
    This addresses the first part of PR20500. Adding noalias metadata during
    inlining is still turned off by default.
    
    llvm-svn: 215657
    d2dee16c
Loading