[PATCH] D91331: Add hook for target to customize different legalization action according to the input type

Bing Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 26 21:36:44 PST 2020


yubing added a comment.

Besides, I found a strange thing:
In PPCTargetLowering::LowerFP_TO_INT, we will return original op if the input type is fp128, which means in some subtarget , fp128's fptoint is legal and have corresponding instructions.
But what you are going to do is to do a hack and expand it to libcall at the beginning of legalizeOp(...). It seems there is a conflict here.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91331/new/

https://reviews.llvm.org/D91331



More information about the llvm-commits mailing list