Hi Kewen, Thanks for your comments. 在 2024/5/27 11:18, Kewen.Lin 写道: > Does this require "This pattern is not allowed to FAIL."? > > I guess yes? Since if it's decided to go with this pattern > expanding, there is no fall back?
The builtin is inline folded if the optab doesn't exist on the target. Otherwise, it is expanded by target specific insns. If it fails at expand, the library is called. It can't fall back to inline folding when it fails at expand. I am not sure whether it should be marked "allowed to FAIL" or not. Could anyone advice me? Thanks Gui Haochen