Skip to content
  • Chandler Carruth's avatar
    Teach all of the loads, stores, memsets and memcpys created by the · 871ba724
    Chandler Carruth authored
    rewriter in SROA to carry a proper alignment. This involves
    interrogating various sources of alignment, etc. This is a more complete
    and principled fix to PR13920 as well as related bugs pointed out by Eli
    in review and by inspection in the area.
    
    Also by inspection fix the integer and vector promotion paths to create
    aligned loads and stores. I still need to work up test cases for
    these... Sorry for the delay, they were found purely by inspection.
    
    llvm-svn: 164689
    871ba724
Loading