Page MenuHomePhabricator

[VPlan] Use VPdef for VPWidenCall.
Needs ReviewPublic

Authored by fhahn on Nov 1 2020, 10:42 AM.

Details

Summary

This patch turns updates VPWidenREcipe to manage the value it defines
using VPDef. The VPValue is used during VPlan construction and
codegeneration instead of the plain IR reference where possible.

Diff Detail

Unit TestsFailed

TimeTest
400 mslinux > HWAddressSanitizer-x86_64.TestCases::sizes.cpp
Script: -- : 'RUN: at line 3'; /mnt/disks/ssd0/agent/llvm-project/build/./bin/clang --driver-mode=g++ -m64 -gline-tables-only -fsanitize=hwaddress -fuse-ld=lld -mcmodel=large -mllvm -hwasan-globals -mllvm -hwasan-use-short-granules -mllvm -hwasan-instrument-landing-pads=0 -mllvm -hwasan-instrument-personality-functions /mnt/disks/ssd0/agent/llvm-project/compiler-rt/test/hwasan/TestCases/sizes.cpp -nostdlib++ -lstdc++ -o /mnt/disks/ssd0/agent/llvm-project/build/projects/compiler-rt/test/hwasan/X86_64/TestCases/Output/sizes.cpp.tmp

Event Timeline

fhahn created this revision.Nov 1 2020, 10:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 1 2020, 10:42 AM
fhahn requested review of this revision.Nov 1 2020, 10:42 AM
fhahn updated this revision to Diff 303233.Thu, Nov 5, 12:57 PM

Updated to keep VPWidenCall a VPValue which is then added to its VPDef. This simplifies things a bit.

fhahn updated this revision to Diff 303405.Fri, Nov 6, 4:49 AM

update after VPDef does not inherit from VPUser directly.

fhahn updated this revision to Diff 306910.Sun, Nov 22, 6:14 AM

Rebase after all dependent patches landed & ping :)

fhahn added a comment.Thu, Dec 3, 4:27 AM

ping :)

The main patches have already been approved (D90565, D90564) and this patch just updates VPWidenCallRecipe to be a single-value def.