[PATCH] D91734: [FastISel] Flush local value map on every instruction
Paul Robinson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 3 07:59:06 PST 2020
probinson added a comment.
> Sometihng like this seems plausible to me:
Yes, I was playing with essentially that exact patch last night. It has no effect on the final assembly on its own, but combined with my patch it does.
> (a more general fix (that would cover cases where the instruction really has no location) might be to propagate locations from the first instruction in a basic block with a location back up to the start of the basic block - I forget if we've considered/tried that before)
We have, but that without flushing the map on every instruction, so it caught materialization instructions that didn't actually belong to that IR instruction. The tactic would likely be more reasonable in conjunction with my patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91734/new/
https://reviews.llvm.org/D91734
More information about the llvm-commits
mailing list