[PATCH] D116458: [X86] Improve selection of the mov instruction in FrameLowering

Phoebe Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 3 00:57:16 PST 2022


pengfei added inline comments.


================
Comment at: llvm/lib/Target/X86/X86FrameLowering.cpp:155
+    if (isUInt<32>(Imm))
+      return X86::MOV32ri64;
+    if (isInt<32>(Imm))
----------------
What's the difference to ues it rather than `MOV32ri`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116458



More information about the llvm-commits mailing list