[PATCH] D46179: [X86] Lowering adds/addus/subs/subus intrinsics to native IR (LLVM part)

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 24 10:50:44 PDT 2018


craig.topper added a comment.

If you remove the FIXMEs you need to replace them with a comment that says not to delete them. I have at various times ran a script or grep looking for unused intrinsics that we forgot to delet

But if we aren't going to delete them, I somewhat feel like we should continue using them in clang and focus on teaching InstCombine how to constant fold them and do other useful optimizations. Having a separate way of doing things for clang and other users of LLVM will lead to inconsistent optimization.


Repository:
  rL LLVM

https://reviews.llvm.org/D46179





More information about the llvm-commits mailing list