FailedChanges

Summary

  1. Skip -fPIE for AMDGPU and HIP toolchain (details)
  2. [AArch64][GlobalISel] Scalarize <2 x s64> G_MUL since we don't have native support for it. (details)
  3. Recommit "[HIP] Change default --gpu-max-threads-per-block value to 1024" (details)
  4. [HIP] Return non-zero value for invalid target ID (details)
  5. BPF: explicitly specify bpfel triple for certain tests (details)
Commit 10eb3bf2d430825195bf092d3a75c4745d463826 by Yaxun.Liu
Skip -fPIE for AMDGPU and HIP toolchain

AMDGPU toolchain does not support -fPIE, therefore skip it if specified by driver.

Differential Revision: https://reviews.llvm.org/D88425
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.cpp
The file was modifiedclang/lib/Driver/ToolChains/HIP.cpp
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.h
The file was addedclang/test/Driver/hip-fpie-option.hip
Commit b9f2b3bc431a0053159939a4132814fb113af131 by Amara Emerson
[AArch64][GlobalISel] Scalarize <2 x s64> G_MUL since we don't have native support for it.

Differential Revision: https://reviews.llvm.org/D88437
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-mul.mir
Commit 187658b8a6112446d9e7797d495bc7542ac83905 by Yaxun.Liu
Recommit "[HIP] Change default --gpu-max-threads-per-block value to 1024"

Recommit 04abbb3a78186aa92809866b43217c32cba90b71
The file was modifiedclang/test/CodeGenCUDA/kernel-amdgcn.cu
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/test/CodeGenCUDA/amdgpu-kernel-attrs.cu
Commit 5a3023a91c0ec82e7272569c5ca7a6eb372b129f by Yaxun.Liu
[HIP] Return non-zero value for invalid target ID

This is part of https://reviews.llvm.org/D60620
The file was modifiedclang/test/Driver/hip-invalid-target-id.hip
The file was modifiedclang/lib/Driver/Driver.cpp
Commit ca1ce397acc39f348f4018e446c84a5746fd5e1e by yhs
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.
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-lshift-1.ll
The file was modifiedllvm/test/CodeGen/BPF/CORE/field-reloc-bitfield-1.ll
The file was modifiedllvm/test/CodeGen/BPF/CORE/field-reloc-bitfield-2.ll
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-fieldinfo-1.ll
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-fieldinfo-2.ll