Skip to content

Commit b5fbe80

Browse files
committed
Address review comments
1 parent b8c63d6 commit b5fbe80

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

clang/include/clang/Basic/BuiltinsRISCV.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def ntl_store : RISCVBuiltin<"void(...)">;
152152
//===----------------------------------------------------------------------===//
153153
let Features = "zihintpause" in {
154154
def pause : RISCVBuiltin<"void(...)">;
155-
} // Features = "zihintntl"
155+
} // Features = "zihintpause"
156156

157157
//===----------------------------------------------------------------------===//
158158
// XCV extensions.

llvm/lib/Target/RISCV/RISCVInstrInfoZihintpause.td

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77

8+
//===----------------------------------------------------------------------===//
9+
//
10+
// This file describes the RISC-V instructions from the standard Pause Hint
11+
// extension (Zihintpause).
12+
//
13+
//===----------------------------------------------------------------------===//
14+
815
let Predicates = [HasStdExtZihintpause] in {
916
def : Pat<(int_riscv_pause), (FENCE 0x1, 0x0)>;
1017
}

0 commit comments

Comments
 (0)