[PATCH] D48765: [X86] The TEST instruction is eliminated when BSF/TZCNT is used

Ivan Kulagin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 9 01:13:00 PDT 2018


ikulagin added a comment.

> What happens with cttz when -mattr=bmi which enables the tzcnt instruction

Sorry, I described the case when cttz(X, FALSE) is used and no support for BMI.
With MBI everything is OK and the TEST is eliminated.


Repository:
  rL LLVM

https://reviews.llvm.org/D48765





More information about the llvm-commits mailing list