[PATCH] D104037: [X86] Check immediate before get it.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 11 10:22:00 PDT 2021


craig.topper added a comment.

I don't what Intel's original failure looked like, but here's a test that should reproduce this with -run-pass=machinelicm   https://reviews.llvm.org/P8267  needs more cleanup.

I hacked the MIR just before machinelicm by sinking the CMP64mi32 and SETCCr into the loop. That makes MachineLICM want to unfold it since the load part is invariant being from a constant global.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104037



More information about the llvm-commits mailing list