[PATCH] D31359: [GlobalISel]: Allow backends to custom legalize Intrinsics

Aditya Nandakumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 28 11:22:30 PDT 2017


aditya_nandakumar added a comment.

The other (easier) approach is to reportGlobalISelFailure on intermediate instructions whenever we're unable to legalize/Lower them. That means, the backend custom lowering code could erase the instructions that it needs, and won't have to worry about calling reportGlobalISelfailure on erased instructions.


Repository:
  rL LLVM

https://reviews.llvm.org/D31359





More information about the llvm-commits mailing list