[PATCH] D104641: [LICM] Strip context sensitive attributes after call hoisting

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 5 11:16:01 PDT 2021


anna updated this revision to Diff 356538.
anna added a comment.

addressed review comments. Strip attributes whenever a call is moved (either through hoisting or simplifyCFG).
See updated tests.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104641

Files:
  llvm/include/llvm/IR/Attributes.h
  llvm/include/llvm/IR/Instruction.h
  llvm/lib/IR/Attributes.cpp
  llvm/lib/IR/Instruction.cpp
  llvm/lib/Transforms/Scalar/LICM.cpp
  llvm/lib/Transforms/Utils/Local.cpp
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/LICM/call-hoisting.ll
  llvm/test/Transforms/SimplifyCFG/fold-branch-to-common-dest.ll
  llvm/test/Transforms/SimplifyCFG/speculate-call.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104641.356538.patch
Type: text/x-patch
Size: 10403 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210705/b0b18634/attachment.bin>


More information about the llvm-commits mailing list