aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2020-09-28 20:15:05 -0700
committerYonghong Song <yhs@fb.com>2020-09-28 20:25:25 -0700
commitca1ce397acc39f348f4018e446c84a5746fd5e1e (patch)
tree525e853a69aece90a6a47e8d52be60b2e59effad /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent5a3023a91c0ec82e7272569c5ca7a6eb372b129f (diff)
downloadllvm-ca1ce397acc39f348f4018e446c84a5746fd5e1e.zip
llvm-ca1ce397acc39f348f4018e446c84a5746fd5e1e.tar.gz
llvm-ca1ce397acc39f348f4018e446c84a5746fd5e1e.tar.bz2
BPF: explicitly specify bpfel triple for certain tests
Commit 54d9f743c8b0 ("BPF: move AbstractMemberAccess and PreserveDIType passes to EP_EarlyAsPossible") changed most of CORE tests with opt run followed by llc and opt requires the target triple specified in the IR. There are few tests where little endian and big endian will report different result and for little endian versions of tests, "target triple = "bpf"" will produce wrong results if the test executed in a big endian machine, e.g. PowerPC big endian machine, since target "bpf" represents host endian and will resolve to "bpfeb". The builtbot reported such failures when build-and-run on a PowerPC big endian machine. To fix the issue, using "target triple = "bpfel"" instead.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions