[PATCH] D114078: [X86] Add tests cases for or-lea with no common bits.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 22 03:33:14 PST 2021


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/X86/or-lea.ll:154
+  ret i16 %inc
+}
+
----------------
Why have you used i16? That is the one type that x86 will try very hard to promote to i32/64 for a shorter encoding and to break partial register dependencies.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114078



More information about the llvm-commits mailing list