[GVN] Make GVN aware of aligned_alloc
authorUday Bondhugula <uday@polymagelabs.com>
Sat, 28 Mar 2020 07:27:35 +0000 (12:57 +0530)
committerUday Bondhugula <uday@polymagelabs.com>
Wed, 1 Apr 2020 17:56:50 +0000 (23:26 +0530)
commit4cf70af94fbe910e64fa1d36cdd5bf7e46785795
tree9cc45eef162ffaef63b79d70e379dade6cc5765b
parentc4499e333337ef67f30d81eefd044816a8cf6f29
[GVN] Make GVN aware of aligned_alloc

Make the GVN pass aware of aligned_alloc.

Depends on D76974.

Differential Revision: https://reviews.llvm.org/D76975
llvm/lib/Transforms/Scalar/GVN.cpp
llvm/test/Transforms/GVN/malloc-load-removal.ll