[PATCH] D106754: [RISCV] Restrict performANY_EXTENDCombine to prevent an infinite loop.

Luís Marques via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 28 02:03:32 PDT 2021


luismarques accepted this revision.
luismarques added a comment.
This revision is now accepted and ready to land.

I don't really know if this is the appropriate solution or not for the long term. It at least sounds reasonable for now.



================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:5799
 
+  // Only handle cases where the result is used by a CopyToReg that likely
+  // means the value is a liveout of the basic block. This helps prevent
----------------
Nit: grammar. Missing period?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106754



More information about the llvm-commits mailing list