[PATCH] D76965: [FunctionAttrs][Mem2Reg] Handle Alloca passed as function call operand with function attributes
Dominic Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 27 18:46:44 PDT 2020
ddcc created this revision.
ddcc added a reviewer: jdoerfert.
Herald added subscribers: jfb, hiraditya.
Herald added a project: LLVM.
Allow mem2reg to replace an Alloca used as a nocapture and inaccessiblememonly/readnone function call operand with undef
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D76965
Files:
llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
llvm/test/Transforms/Mem2Reg/fnattr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76965.253274.patch
Type: text/x-patch
Size: 8777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200328/d24c5e5b/attachment-0001.bin>
More information about the llvm-commits
mailing list