[PATCH] D151848: [X86, Peephole] Enable FoldImmediate for X86
Guozhi Wei via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 20 11:38:30 PDT 2023
Carrot added inline comments.
================
Comment at: llvm/lib/Target/X86/X86InstrInfo.cpp:4857
+ break;
+ case X86::OR64rr:
+ NewOpc = X86::OR64ri32;
----------------
davidxl wrote:
> Add brief description for each case (on the transformation)?
I refactored the opcode conversion code into a separate function, so it is more clearer.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151848/new/
https://reviews.llvm.org/D151848
More information about the llvm-commits
mailing list