commit | 6999c4fd2861eb3e236e0b1d6e099025eafdd614 | [log] [tgz] |
---|---|---|
author | Dan Gohman <dan433584@gmail.com> | Fri Feb 24 21:05:35 2017 +0000 |
committer | Dan Gohman <dan433584@gmail.com> | Fri Feb 24 21:05:35 2017 +0000 |
tree | 727f5e831073bf8fc8a71d9579987550bf4d6d75 | |
parent | 0760360dcc1506e73d1e798ab101acf9ff290508 [diff] [blame] |
[WebAssembly] Handle f16 in fast-isel. llvm-svn: 296172
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp index bc7020f..f48b7f3 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
@@ -116,6 +116,8 @@ case MVT::f32: case MVT::f64: return VT; + case MVT::f16: + return MVT::f32; case MVT::v16i8: case MVT::v8i16: case MVT::v4i32: