[PATCH] D46946: [X86] Lowering shift intrinsics to native IR
Tomasz Krupa via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 21 03:43:13 PDT 2018
tkrupa added a comment.
Nevermind, I got it wrong - after compiling something similar to https://bugs.llvm.org/show_bug.cgi?id=37417, it does split the pattern. Moreover, it splits it in different manner for different intrinsics and hoists more than one more instruction, so it might not be as simple as moving back than one subtraction in the bug reproducer. I don't think there is any other way though - replicating simplifyX86immShift and simplifyX86varShift directly in IR would be a nightmare.
Repository:
rL LLVM
https://reviews.llvm.org/D46946
More information about the llvm-commits
mailing list