Preserve AA metadata when combining (cast (load (...))) -> (load (cast
authorChandler Carruth <chandlerc@gmail.com>
Sat, 18 Oct 2014 11:00:12 +0000 (11:00 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 18 Oct 2014 11:00:12 +0000 (11:00 +0000)
commitbe9dccd64d25227832f9cf0c1775acfa072be529
tree0b02ffa55c8e3064c613f6e6fa7c9d40cd24861b
parent6ec434e8bf816e757041b3bedc78356765dee950
Preserve AA metadata when combining (cast (load (...))) -> (load (cast
(...))).

llvm-svn: 220141
llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
llvm/test/Transforms/InstCombine/loadstore-aa-metadata.ll [new file with mode: 0644]