[PATCH] D23100: [wasm] Fix FastISel generating NoReg

Derek Schuff via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 3 11:14:43 PDT 2016


dschuff added inline comments.

================
Comment at: test/CodeGen/WebAssembly/noreg.ll:1
@@ +1,2 @@
+; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt -verify-machineinstrs | FileCheck %s
+
----------------
This command line shouldn't result in fast-isel even running, should it?

================
Comment at: test/CodeGen/WebAssembly/noreg.ll:11
@@ +10,3 @@
+entry:
+  ret i32 zext (i1 icmp eq (void (...)* inttoptr (i32 10 to void (...)*), void (...)* null) to i32)
+}
----------------
are these constexprs (and inttoptrs/casts) necessary to reproduce?
Is the underlying problem is that the `getRegForValue` calls for the icmp are bailing, or something like that?


https://reviews.llvm.org/D23100





More information about the llvm-commits mailing list