This is an archive of the discontinued LLVM Phabricator instance.

Prepare for making SwitchInstProfUpdateWrapper strict
ClosedPublic

Authored by yrouban on Jul 4 2019, 9:10 PM.

Details

Reviewers
davidxl
Summary

This patch allows us to make the patch D64061 a one-liner that is need to revert it easily if any failure will arise.
Basically this patch removes the test part that relates to non-strict behavior and changes the assertion to llvm_unreachable() to allow the check in release builds.

Diff Detail

Event Timeline

yrouban created this revision.Jul 4 2019, 9:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 4 2019, 9:10 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
yrouban retitled this revision from Prepare for making SwitchInstProfUpdateWrapper strict. to Prepare for making SwitchInstProfUpdateWrapper strict.
davidxl accepted this revision.Jul 5 2019, 8:57 AM

lgtm

This revision is now accepted and ready to land.Jul 5 2019, 8:57 AM
yrouban closed this revision.Jul 9 2019, 8:51 PM

Closed by commit rL365439: Prepare for making SwitchInstProfUpdateWrapper strict (authored by yrouban).
yrouban committed rG592f44a7e75b: Prepare for making SwitchInstProfUpdateWrapper strict (authored by yrouban).
llvm-svn: 365439