[all-commits] [llvm/llvm-project] 06cdc6: [LoongArch] Ignore warnings when there is no envir...

hev via All-commits all-commits at lists.llvm.org
Tue Jun 13 22:24:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06cdc6f9ced3da478b30debd4f8698f7cac37819
      https://github.com/llvm/llvm-project/commit/06cdc6f9ced3da478b30debd4f8698f7cac37819
  Author: Wang Rui <wangrui at loongson.cn>
  Date:   2023-06-14 (Wed, 14 Jun 2023)

  Changed paths:
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchBaseInfo.cpp
    M llvm/test/CodeGen/LoongArch/target-abi-from-triple-edge-cases.ll

  Log Message:
  -----------
  [LoongArch] Ignore warnings when there is no environment in triple

In Rust bare-metal targets, there is no environment component in triple name. This patch ignores warnings that look like:

```
warning: triple-implied ABI conflicts with provided target-abi ‘lp64s', using target-abi
```

Reviewed By: SixWeining, xen0n

Differential Revision: https://reviews.llvm.org/D152778




More information about the All-commits mailing list