This is an archive of the discontinued LLVM Phabricator instance.

[LV][X86] update the cost of interleaving mem. access of floats
ClosedPublic

Authored by magabari on Oct 29 2017, 2:56 AM.

Diff Detail

Event Timeline

magabari created this revision.Oct 29 2017, 2:56 AM
RKSimon added inline comments.Oct 29 2017, 4:43 AM
lib/Target/X86/X86TargetTransformInfo.cpp
2622

9f32? or 24f32?

magabari updated this revision to Diff 120780.Oct 30 2017, 1:50 AM
magabari marked an inline comment as done.

updating diff with the comment fix

magabari updated this revision to Diff 120781.Oct 30 2017, 1:52 AM

@RKSimon can you take a look on the changes please.

RKSimon edited edge metadata.Nov 1 2017, 6:11 AM
RKSimon added a subscriber: m_zuckerman.

Didn't @m_zuckerman put the previous tests into llvm/test/Analysis/CostModel/interleaved-*.ll ? Maybe match that?

Also, please don't forget to CC llvm-commits as a subscriber in your patches.

Didn't @m_zuckerman put the previous tests into llvm/test/Analysis/CostModel/interleaved-*.ll ? Maybe match that?

Do you mean renaming the test to interleaved-load-float.ll?
because as i see those tests is for i8 and i32 while i am checking new datatype.

Didn't @m_zuckerman put the previous tests into llvm/test/Analysis/CostModel/interleaved-*.ll ? Maybe match that?

Do you mean renaming the test to interleaved-load-float.ll?
because as i see those tests is for i8 and i32 while i am checking new datatype.

Yes please, move it to llvm/test/Analysis/CostModel/ and rename it interleaved-load-float.ll

magabari updated this revision to Diff 121239.Nov 2 2017, 12:45 AM

moving the test to cost model directory (and renaming it)

RKSimon accepted this revision.Nov 3 2017, 5:31 AM

LGTM

This revision is now accepted and ready to land.Nov 3 2017, 5:31 AM
This revision was automatically updated to reflect the committed changes.