Page MenuHomePhabricator

[SLP]Generalize cost model.
Needs ReviewPublic

Authored by ABataev on Dec 14 2021, 1:13 PM.

Details

Summary

Generalized the cost model estimation. Improved cost model estimation
for repeated scalars (no need to count their cost anymore), improved

cost model for extractelement instructions.

cpu2017

511.povray_r             0.57
520.omnetpp_r           -0.98
521.wrf_r               -0.01
525.x264_r               3.59 <+
526.blender_r           -0.12
531.deepsjeng_r         -0.07
538.imagick_r           -1.42

Geometric mean: 0.21

Diff Detail

Unit TestsFailed

TimeTest
1,850 msx64 debian > AddressSanitizer-x86_64-linux.TestCases::non-executable-pc.cpp
Script: -- : 'RUN: at line 1'; /var/lib/buildkite-agent/builds/llvm-project/build/./bin/clang --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -m64 /var/lib/buildkite-agent/builds/llvm-project/compiler-rt/test/asan/TestCases/non-executable-pc.cpp -o /var/lib/buildkite-agent/builds/llvm-project/build/projects/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/Output/non-executable-pc.cpp.tmp
100 msx64 debian > LLVM.Bindings/Go::go.test
Script: -- : 'RUN: at line 1'; /var/lib/buildkite-agent/builds/llvm-project/build/bin/llvm-go go=/usr/bin/go test llvm.org/llvm/bindings/go/llvm

Event Timeline

ABataev created this revision.Dec 14 2021, 1:13 PM
ABataev requested review of this revision.Dec 14 2021, 1:13 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 14 2021, 1:13 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 5 2022, 9:07 AM
Herald added a subscriber: vporpo. · View Herald Transcript