[PATCH] D76971: Deduce attributes for aligned_alloc in InstCombine

Uday Bondhugula via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 30 12:30:16 PDT 2020


bondhugula added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/deref-alloc-fns.ll:37
+;
+  %call = tail call noalias i8* @aligned_alloc(i64 32, i64 512)
+  ret i8* %call
----------------
xbolva00 wrote:
> aligned_alloc(i64 %align, i64  512)
> aligned_alloc(i64 0, i64 512)
> 
> Please add such tests
Thanks!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76971/new/

https://reviews.llvm.org/D76971





More information about the llvm-commits mailing list