[PATCH] D123087: tests: add attributes that would normally come from inferattrs

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 22 01:05:43 PDT 2022


nikic added inline comments.


================
Comment at: llvm/test/Transforms/Attributor/heap_to_stack.ll:188
 
-declare noalias i8* @aligned_alloc(i64, i64)
+declare noalias i8* @aligned_alloc(i64, i64) allockind("alloc,uninitialized,aligned") allocsize(1)
 
----------------
This is missing an `allocalign` attribute. I think this will avoid the regression of this test in D130107.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123087



More information about the llvm-commits mailing list