[PATCH] D76971: Deduce attributes for aligned_alloc in InstCombine

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 30 11:24:30 PDT 2020


xbolva00 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
----------------
aligned_alloc(i64 %align, i64  512)
aligned_alloc(i64 0, i64 512)

Please add such tests


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