[llvm-dev] [CodeGen] RFC Changing the default operation action for CTLZ_ZERO_UNDEF/CTTZ_ZERO_UNDEF to Expand

Renato Golin via llvm-dev llvm-dev at lists.llvm.org
Mon Apr 25 01:51:37 PDT 2016

On 25 April 2016 at 07:08, Craig Topper via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> This change would allow us to remove all the setOperationAction calls to
> make them Expand on most targets and adds a few calls to setOperationAction
> on X86 and AMDGPU to make them Legal again for certain cases.

Hi Craig,

I'm assuming that change will consider the legal types in the target.
AArch64 sets both 32 and 64 to Expand, while ARM only sets 32, for
obvious reasons.

This seems like an NFC, so LGTM. :)


More information about the llvm-dev mailing list