[PATCH] D80053: [GlobalISel] Don't combine instructions which are fed by memory instructions.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 15 18:29:20 PDT 2020
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp:1542
+ // are different.
+ if (I1->mayLoadOrStore())
+ return false;
----------------
arsenm wrote:
> Could also consider if the load is invariant
Something like == G_LOAD && isDereferenceableInvariantLoad?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80053/new/
https://reviews.llvm.org/D80053
More information about the llvm-commits
mailing list