HomePhabricator

[SPIR] Simplified target checking.

Authored by Anastasia on May 9 2019, 3:16 AM.

Description

[SPIR] Simplified target checking.

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

Patch by kpet (Kevin Petit)!

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

llvm-svn: 360323

Details

Committed
AnastasiaMay 9 2019, 3:16 AM
Differential Revision
D61639: Add Triple::isSPIR() to simplify code
Parents
rGad9c7e0789eb: Fix LLVM_USE_PERF build after getPageSize change
Branches
Unknown
Tags
Unknown