[PATCH] D140952: Teach the AArch64 backend to materialize immediates using a pair of ORR-immediateinstructions.

Hsiangkai Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 4 18:49:46 PST 2023


HsiangKai added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/arm64-movi.ll:325
 
 ; FIXME: prefer "mov x0, #2147483646; orr x0, x0, #36028659580010496"
 define i64 @orr_movk16() nounwind {
----------------
Remove the FIXME.


================
Comment at: llvm/test/CodeGen/AArch64/arm64-movi.ll:397
 
 ; FIXME: prefer "mov x0, #536866816; orr x0, x0, #0x3fff800000000000"
 define i64 @orr_orr_64() nounwind {
----------------
Ditto.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140952



More information about the llvm-commits mailing list