]> granicus.if.org Git - clang/commit
[SPIR] Simplified target checking.
authorAnastasia Stulova <anastasia.stulova@arm.com>
Thu, 9 May 2019 10:25:45 +0000 (10:25 +0000)
committerAnastasia Stulova <anastasia.stulova@arm.com>
Thu, 9 May 2019 10:25:45 +0000 (10:25 +0000)
commitcd7db9f83fe7c6aeaba4cd481423c39f1bd5647c
tree7036fa9080c8f5fea77118b613af274ef435a81c
parentbc2b7325c415dae05a7407995092e38d11be0562
[SPIR] Simplified target checking.

Switched to Triple::isSPIR() helper to simplify code.

Patch by kpet (Kevin Petit)!

Differential revision: https://reviews.llvm.org/D61639

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360325 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Frontend/InitPreprocessor.cpp