]> granicus.if.org Git - clang/commit
[X86] Correct type for argument to clflushopt intrinsic.
authorCraig Topper <craig.topper@intel.com>
Wed, 11 Oct 2017 16:06:08 +0000 (16:06 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 11 Oct 2017 16:06:08 +0000 (16:06 +0000)
commit61f290578c0923263d4551e1f8287d4bcd71da95
treed7af49853079f77476438b99f82814697a2fc356
parent5126623c20af39a5a8784cd8b12347b61a8e8f17
[X86] Correct type for argument to clflushopt intrinsic.

Summary: According to Intel docs this should take void const *. We had char*. The lack of const is the main issue.

Reviewers: RKSimon, zvi, igorb

Reviewed By: igorb

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315470 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/BuiltinsX86.def
lib/Headers/clflushoptintrin.h