Skip to content

Fix endian handling of LLVM backend

Stefan Schulze Frielinghaus requested to merge (removed):ghc-bigendian into master

The CPP macro WORDS_BIGENDIAN is not defined anymore as mentioned in #17337 (closed). This patch only fixes the LLVM backend. All remaining macros are part of libraries which have to be tackled, too.

I inlined function fixEndian since it is not used anywhere else and it depends on dflags now.

/label backport /milestone %8.10.1

Edited by Stefan Schulze Frielinghaus

Merge request reports