mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Factor out the code that sets up llvm::TargetOptions and SubtargetFeatures via Clang, and reuse it in immediate mode to properly set up the ExecutionEngine to be consistent with the environment we emitted code for. This makes it so that we can use code that lowers to, for instance, SSE3 intrinsics, in particular stuff like GLKit code imported from Clang. Swift SVN r23646
7 lines
206 B
Swift
7 lines
206 B
Swift
// Test GLKit.swift in JIT mode.
|
|
// RUN: %swift -interpret -sdk %sdk %S/GLKit.swift | FileCheck %S/GLKit.swift
|
|
// FIXME: broken on iOS
|
|
// REQUIRES: OS=macosx
|
|
// REQUIRES: sdk
|
|
// REQUIRES: swift_interpreter
|