commit | 1d5ec705718694fc3c09e998c3a9b9484757aa50 | [log] [tgz] |
---|---|---|
author | Derek Schuff <dschuff@google.com> | Thu Aug 04 18:01:52 2016 +0000 |
committer | Derek Schuff <dschuff@google.com> | Thu Aug 04 18:01:52 2016 +0000 |
tree | ee6d0e61bf7d72d535f12072919f0bad750fa308 | |
parent | df48bd9ec3c72e39e7ba646ef02634061a4bdd11 [diff] |
[WebAssembly] Check return value of getRegForValue in FastISel Previously, FastISel for WebAssembly wasn't checking the return value of `getRegForValue` in certain cases, which would generate instructions referencing NoReg. This patch fixes this behavior. Patch by Dominic Chen Differential Revision: https://reviews.llvm.org/D23100 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277742 91177308-0d34-0410-b5e6-96231b3b80d8