HomePhabricator

[SPIR] Simplified target checking.

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

Description

[SPIR] Simplified target checking.

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

Patch by kpet (Kevin Petit)!

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

llvm-svn: 360325

Details

Committed
AnastasiaMay 9 2019, 3:25 AM
Differential Revision
D61639: Add Triple::isSPIR() to simplify code
Parents
rG543913c3b41f: [ARM] Fix the extensions implied by a cpu name
Branches
Unknown
Tags
Unknown