diff options
| author | Dan Gohman <dan433584@gmail.com> | 2015-12-10 02:07:53 +0000 |
|---|---|---|
| committer | Dan Gohman <dan433584@gmail.com> | 2015-12-10 02:07:53 +0000 |
| commit | 60bddf17c5f76d09ae5e1250130d6f494af248b2 (patch) | |
| tree | 10ba2688e951b47c0fe253698a9bd5abbd9e8504 /llvm/lib | |
| parent | 2edb8fcf0dd66c86a9111c257de50652017fdfa4 (diff) | |
| download | bcm5719-llvm-60bddf17c5f76d09ae5e1250130d6f494af248b2.tar.gz bcm5719-llvm-60bddf17c5f76d09ae5e1250130d6f494af248b2.zip | |
[WebAssembly] Fix legalization of f32->f64 EXTLOAD.
llvm-svn: 255202
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp index 21a28e3b767..fae10947ec6 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp @@ -179,7 +179,7 @@ WebAssemblyTargetLowering::WebAssemblyTargetLowering( // - Floating-point extending loads. // - Floating-point truncating stores. // - i1 extending loads. - setLoadExtAction(ISD::EXTLOAD, MVT::f32, MVT::f64, Expand); + setLoadExtAction(ISD::EXTLOAD, MVT::f64, MVT::f32, Expand); setTruncStoreAction(MVT::f64, MVT::f32, Expand); for (auto T : MVT::integer_valuetypes()) for (auto Ext : {ISD::EXTLOAD, ISD::ZEXTLOAD, ISD::SEXTLOAD}) |

