AMDGPU: Fix target builtins for gfx10
This wasn't setting some of the features from older generations.
llvm-svn: 364123
diff --git a/clang/lib/Basic/Targets/AMDGPU.cpp b/clang/lib/Basic/Targets/AMDGPU.cpp
index 52012f7..568f267 100644
--- a/clang/lib/Basic/Targets/AMDGPU.cpp
+++ b/clang/lib/Basic/Targets/AMDGPU.cpp
@@ -144,8 +144,10 @@
LLVM_FALLTHROUGH;
case GK_GFX1010:
Features["dl-insts"] = true;
+ Features["ci-insts"] = true;
Features["16-bit-insts"] = true;
Features["dpp"] = true;
+ Features["gfx8-insts"] = true;
Features["gfx9-insts"] = true;
Features["gfx10-insts"] = true;
Features["s-memrealtime"] = true;