[PATCH] D127546: [GISel] Fix narrowScalar() for big endian targets

Kai Nacke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 13 12:07:09 PDT 2022


Kai added a comment.

Thanks for the insight! The architecture I am working on (ppc64) uses register pairs to pass integers. Apology for not producing a proper test case for m68k.
Currently my code is also very basic, so I might missed something. I'll check out the changes you pointed to, to get a better understanding.

> So now the question is: who is responsible for taking care of endianness when it comes to integer parts?

Agree, that's the underlying question.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127546



More information about the llvm-commits mailing list