HomePhabricator

[WebAssembly] Add an `isWasm` target triple predicate.

Authored by sunfishcode on Feb 27 2020, 7:49 AM.

Description

[WebAssembly] Add an isWasm target triple predicate.

This simplies code which needs to apply the same logic to both wasm32
and wasm64.

This patch is part of https://reviews.llvm.org/D70700.

Details

Committed
sunfishcodeFeb 27 2020, 7:55 AM
Parents
rG080890a9f38f: [InstCombine] Add PR14365 test cases + vector equivalents.
Branches
Unknown
Tags
Unknown