This is an archive of the discontinued LLVM Phabricator instance.

[X86] Use ANY_EXTEND instead of SIGN_EXTEND in lowerMasksToReg
ClosedPublic

Authored by craig.topper on Jan 2 2018, 9:57 PM.

Details

Summary

Currently we use SIGN_EXTEND in lowerMasksToReg as part of calling convention setup, but we don't require a specific for the upper bits.

This patch changes it to ANY_EXTEND which will be lowered as SIGN_EXTEND if it ends up sticking around.

Diff Detail

Event Timeline

craig.topper created this revision.Jan 2 2018, 9:57 PM
delena accepted this revision.Jan 2 2018, 10:41 PM

+ minor comment

lib/Target/X86/X86ISelLowering.cpp
2176

remove the "else", please.

This revision is now accepted and ready to land.Jan 2 2018, 10:41 PM