[PATCH] D71217: Fix incorrect logic in maintaining the side-effect of compiler generated outliner functions
Jin Lin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 13 16:39:57 PST 2020
jinlin added a comment.
The reason that the implicit defs are duplicate is because the compiler traverses the instructions in the reverse order and update the side effect of the new call instruction on the fly.
So the def reg set is introduced to avoid the redundant register.
In fact, the existing compiler already inserts some duplicate defs for call instruction.
BL @OUTLINED_FUNCTION_0, implicit-def $lr, implicit $sp, implicit-def $lr, implicit-def $w0, implicit-def $w1, implicit-def $w2, implicit-def $w3
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71217/new/
https://reviews.llvm.org/D71217
More information about the llvm-commits
mailing list