OSDN Git Service

[SPIR] Simplified target checking.
authorAnastasia Stulova <anastasia.stulova@arm.com>
Thu, 9 May 2019 10:16:33 +0000 (10:16 +0000)
committerAnastasia Stulova <anastasia.stulova@arm.com>
Thu, 9 May 2019 10:16:33 +0000 (10:16 +0000)
commitb9739cbce56fe60573561edefc0638efb295cc7f
tree073c991e412a221f3ac0b12fc56a59f92555eb8f
parentd88dad83c0686ef476f51be737e421badd911bf7
[SPIR] Simplified target checking.

Added 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/llvm/trunk@360323 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/Triple.h