This is an archive of the discontinued LLVM Phabricator instance.

[AVX512] Fix intrinsic vbroadcast{i32|f32}x2 lowering.
ClosedPublic

Authored by igorb on May 29 2016, 12:49 AM.

Details

Summary

[AVX512] Fix intrinsic vbroadcast{i32|f32}x2 lowering.
In previous implementation vbroadcastf32x4 was selected ( memory folding) for the follow example
call <8 x float> @llvm.x86.avx512.mask.broadcastf32x2.256(<4 x float> <float -0.000000e+00, float 0x404155C280000000, float 0xC05155C280000000, float 0x405A00A3E0000000>, <8 x float> <float 1.170000e+02, float 1.170000e+02, float 1.170000e+02, float 1.170000e+02, float 1.170000e+02, float 1.170000e+02, float 1.170000e+02, float 1.170000e+02>, i8 123)

Diff Detail

Repository
rL LLVM

Event Timeline

igorb updated this revision to Diff 58913.May 29 2016, 12:49 AM
igorb retitled this revision from to [AVX512] Fix intrinsic vbroadcast{i32|f32}x2 lowering..
igorb updated this object.
igorb added reviewers: delena, AsafBadouh.
igorb set the repository for this revision to rL LLVM.
igorb added a subscriber: llvm-commits.
delena edited edge metadata.May 29 2016, 11:20 PM

Do you have a test for this change?

igorb updated this revision to Diff 58935.May 29 2016, 11:33 PM
igorb edited edge metadata.

added test case.

igorb updated this revision to Diff 58944.May 30 2016, 5:22 AM
delena accepted this revision.May 30 2016, 5:57 AM
delena edited edge metadata.
This revision is now accepted and ready to land.May 30 2016, 5:57 AM
This revision was automatically updated to reflect the committed changes.