Skip to content

Commit 371d448

Browse files
committed
Adjust mm_prefetch prototype to const void * to fix test
1 parent 452f72b commit 371d448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/Basic/BuiltinsX86.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ let Attributes = [Const, NoThrow, RequiredVectorWidth<256>], Features = "avx" in
147147
// pre-TableGen version.
148148

149149
let Features = "mmx", Header = "immintrin.h", Attributes = [NoThrow, Const] in {
150-
def _mm_prefetch : X86LibBuiltin<"void(char const *, int)">;
150+
def _mm_prefetch : X86LibBuiltin<"void(void const *, int)">;
151151
}
152152

153153
let Features = "mmx", Header = "intrin.h", Attributes = [NoThrow, Const] in {

0 commit comments

Comments
 (0)