[PATCH] D84165: GlobalISel: Look through G_ANYEXT and G_IMPLICIT_DEF for constants

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 21 14:51:06 PDT 2020


paquette added inline comments.


================
Comment at: llvm/lib/CodeGen/GlobalISel/Utils.cpp:320
     switch (OpcodeAndSize.first) {
     case TargetOpcode::G_TRUNC:
       Val = Val.trunc(OpcodeAndSize.second);
----------------
Probably need to add a G_ANYEXT case here?


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

https://reviews.llvm.org/D84165





More information about the llvm-commits mailing list