OSDN Git Service

[WebAssembly] Handle errors better in fast-isel.
authorDan Gohman <dan433584@gmail.com>
Tue, 28 Nov 2017 05:36:42 +0000 (05:36 +0000)
committerDan Gohman <dan433584@gmail.com>
Tue, 28 Nov 2017 05:36:42 +0000 (05:36 +0000)
commit8aaa99a5066e932a3e2548212db2884c00f21a1e
tree246fa6bc546c4d7d113c1d28e910cd347d035332
parentade49e463b457759cf4ec9de39d458455af0c0d8
[WebAssembly] Handle errors better in fast-isel.

Fast-isel routines need to bail out in the case that fast-isel
fails on the operands.

This fixes https://bugs.llvm.org/show_bug.cgi?id=35064

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319144 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
test/CodeGen/WebAssembly/fast-isel-noreg.ll