[PATCH] D151730: [WIP][RISCV] Support target attribute for function

2023-05-31 Thread Piyou Chen via Phabricator via cfe-commits
BeMg updated this revision to Diff 526988. BeMg added a comment. update Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D151730/new/ https://reviews.llvm.org/D151730 Files: clang/include/clang/Basic/TargetInfo.h clang/lib/Basic/Targets/RISCV.cpp

[PATCH] D151730: [WIP][RISCV] Support target attribute for function

2023-05-30 Thread Craig Topper via Phabricator via cfe-commits
craig.topper added inline comments. Comment at: clang/test/CodeGen/RISCV/riscv-func-attr-target.c:1 +// REQUIRES: riscv-registered-target +// RUN: %clang -target riscv64 -march=rv64g -S %s -o - | FileCheck %s No test for tune=? Repository: rG LLVM Github Mono