This is an archive of the discontinued LLVM Phabricator instance.

[X86] Add more one checks to masked compare patterns that were missed in r358358.
AbandonedPublic

Authored by craig.topper on May 4 2019, 9:00 PM.

Details

Summary

This covers the patterns we use for widening 128/256 comparisons to 512-bit when
AVX512VL isn't supported.

[Constants] Simplify type checking switch in ConstantExpr::get.

Remove duplicate checks that both operands have the same type. This is checked
before the switch.

Use 'integer' or 'floating-point' instead of 'arithmetic' type. I think this
might be a leftover to the days when floating point and integer operations
shared the same opcodes.

Event Timeline

craig.topper created this revision.May 4 2019, 9:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 4 2019, 9:00 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
craig.topper abandoned this revision.May 4 2019, 9:02 PM

Apparently I had two uncommitted patches in my tree. I didn't mean them to combine like this