Skip to content

Support f32 in the VM by default in the compiler. - #6744

Merged
ScottTodd merged 3 commits into
iree-org:mainfrom
ScottTodd:vm-target-options
Aug 25, 2021
Merged

ScottTodd merged 3 commits into
iree-org:mainfrom
ScottTodd:vm-target-options

Conversation

@ScottTodd

Copy link
Copy Markdown
Member

Addresses this comment: #1159 (comment)

@ScottTodd ScottTodd added the compiler/dialects Relating to the IREE compiler dialects (flow, hal, vm) label Aug 12, 2021
@ScottTodd
ScottTodd requested a review from benvanik August 12, 2021 17:33
@google-cla google-cla Bot added the cla: yes label Aug 12, 2021
llvm::cl::desc("Bit width of index types."),
llvm::cl::cat(vmTargetOptionsCategory),
};
static auto *f32ExtensionFlag = new llvm::cl::opt<bool>{

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should decompose this entirely instead of just pulling out one: -iree-vm-target-extension-f32 + -f64 + etc etc
ideally we'd have exclusion expressions in the -iree-vm-target-extension flag (-f32,+f64) but that seems like more work

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, and also removed the old flag from lit tests since it's now enabled by default.

@ScottTodd
ScottTodd requested a review from benvanik August 12, 2021 17:45
@ScottTodd
ScottTodd merged commit 9fce2d6 into iree-org:main Aug 25, 2021
@ScottTodd
ScottTodd deleted the vm-target-options branch August 25, 2021 15:41
@hanhanW hanhanW mentioned this pull request Aug 25, 2021
copybara-service Bot pushed a commit that referenced this pull request Aug 25, 2021
* 30463f1 Adding #util.composite attribute. (#6854)
* 7a1c579 Implement function.py return type coercion (#6832)
* d90f0fc Remove PromoteTensorLoads pass, convert ExtractOp in TensorToFlow. (#6852)
* 7fa8c20 Update SwiftShader to 2021-08-25 (#6859)
* a328761 Rename Bazel repo iree_vulkan_headers to vulkan_headers (#6862)
* 7660e49 Merge pull request #6856 from google/benvanik-shared-target-backend
* ebc5eb5 Removing the pipeline caching during executable translation. (#6855)
* 2fb7a8d Reapply "Update TFLite concrete function conversion codes" (#6800)
* ce7b475 NFC: Merge ConvertToFlow passes into dedicated before/after passes. (#6850)
* 9fce2d6 Support f32 in the VM by default in the compiler. (#6744)
* b6baea9 Support global ref ops and fix passing of refs on function boundaries in the C..
* 4b5d2ed Bump flatcc version (#6853)
* c8a8f5d Add e2e tests for mhlo.bitcast_convert (#6846)

COPYBARA_INTEGRATE_REVIEW=#6865 from hanhanW:main-to-google 30463f1
PiperOrigin-RevId: 392952973
iree-github-actions-bot pushed a commit that referenced this pull request Aug 25, 2021
* 30463f1 Adding #util.composite attribute. (#6854)
* 7a1c579 Implement function.py return type coercion (#6832)
* d90f0fc Remove PromoteTensorLoads pass, convert ExtractOp in TensorToFlow. (#6852)
* 7fa8c20 Update SwiftShader to 2021-08-25 (#6859)
* a328761 Rename Bazel repo iree_vulkan_headers to vulkan_headers (#6862)
* 7660e49 Merge pull request #6856 from google/benvanik-shared-target-backend
* ebc5eb5 Removing the pipeline caching during executable translation. (#6855)
* 2fb7a8d Reapply "Update TFLite concrete function conversion codes" (#6800)
* ce7b475 NFC: Merge ConvertToFlow passes into dedicated before/after passes. (#6850)
* 9fce2d6 Support f32 in the VM by default in the compiler. (#6744)
* b6baea9 Support global ref ops and fix passing of refs on function boundaries in the C..
* 4b5d2ed Bump flatcc version (#6853)
* c8a8f5d Add e2e tests for mhlo.bitcast_convert (#6846)

PiperOrigin-RevId: 392952973
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler/dialects Relating to the IREE compiler dialects (flow, hal, vm)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants