[all-commits] [llvm/llvm-project] 27b5dc: Add target-byteorder for cases where endian in tar...

Sean Perry via All-commits all-commits at lists.llvm.org
Mon Sep 23 10:01:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27b5dc422cd3dc15b3d4410ba910d4b12272384d
      https://github.com/llvm/llvm-project/commit/27b5dc422cd3dc15b3d4410ba910d4b12272384d
  Author: Sean Perry <perry at ca.ibm.com>
  Date:   2024-09-23 (Mon, 23 Sep 2024)

  Changed paths:
    M llvm/test/CodeGen/Generic/allow-check.ll
    M llvm/test/lit.cfg.py

  Log Message:
  -----------
  Add target-byteorder for cases where endian in target triple is what matters (#107915)

I came across the subtly when setting up lit for z/OS and running it on
a Linux on Power machine. Linux on Power is little endian. This was
resulting in all of these tests being run even though the target triple
was z/OS which is big endian. The lit should really be checking if the
target is little endian not the host. The previous way didn't handle
cross compilation while running lit.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list