[PATCH] D101866: [BPF][Test] Disable codegen test on AIX

Qiu Chaofan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 19 00:16:09 PDT 2023


qiucf added a comment.
Herald added a project: All.

I believe targets don't redirect OS in triple. Because most of the CodeGen check is asm check, they just 'happen to be right'. For example, on aarch64-darwin, `llc -march=aarch64 -filetype=obj BPF/BTF/binary-format.ll` is ok, `llc -mtriple=riscv64-unknown-linux-gnu -filetype=obj BPF/BTF/binary-format.ll` is also ok. However `llc -march=riscv64 -filetype=obj BPF/BTF/binary-format.ll` fails, and OS is inferred as 'darwin'.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101866



More information about the llvm-commits mailing list