Skip to content
  • Hal Finkel's avatar
    When the inliner merges allocas, it must keep the larger alignment · 9caa8f7b
    Hal Finkel authored
    For safety, the inliner cannot decrease the allignment on an alloca when
    merging it with another.
    
    I've included two variants of the test case for this: one with DataLayout
    available, and one without. When DataLayout is not available, if only one of
    the allocas uses the default alignment (getAlignment() == 0), then they cannot
    be safely merged.
    
    llvm-svn: 186425
    9caa8f7b
Loading