mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 03:26:06 +00:00

There are a few intrinsics or instructions on LoongArch that are only appropriate for loongarch32 target. So the feature "32bit" is added to implement it. Reviewed By: SixWeining Differential Revision: https://reviews.llvm.org/D140872
6 lines
245 B
LLVM
6 lines
245 B
LLVM
; RUN: llc --mtriple=loongarch64 --mattr=help 2>&1 | FileCheck %s
|
|
; RUN: llc --mtriple=loongarch32 --mattr=help 2>&1 | FileCheck %s
|
|
|
|
; CHECK: Available features for this target:
|
|
; CHECK: 32bit - LA32 Basic Integer and Privilege Instruction Set.
|