tensorflow / swift

Swift for TensorFlow
https://tensorflow.org/swift
Apache License 2.0
6.12k stars 608 forks source link

Consider using raw SIL instead of canonical SIL in libSIL #438

Closed ematejska closed 3 years ago

ematejska commented 4 years ago

Imported from JIRA: https://bugs.swift.org/browse/TF-760

Type: Task Priority: Minor
Reporter: Eugene Burmako Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Thanks to the chat with Richard, I realized that -emit-silgen (raw SIL) may be more suitable for our experiments than -emit-sil (canonical SIL). We should consider updating https://github.com/tensorflow/swift/blob/0a6ba521f3b06cac2bdd87c8cbae58d823201b99/Tests/SILTests/ModuleTests.swift#L13 and whatever that entails accordingly.