HomePhabricator

Prepare for making SwitchInstProfUpdateWrapper strict

Authored by yrouban on Jul 8 2019, 10:07 PM.

Description

Prepare for making SwitchInstProfUpdateWrapper strict

This patch removes the test part that relates to the non-strict
behavior of SwitchInstProfUpdateWrapper and changes
the assertion to llvm_unreachable() to allow the check in
release builds.
This patch prepares SwitchInstProfUpdateWrapper to become
strict with one line change. That is need to revert it easily
if any failure will arise.

llvm-svn: 365439

Details

Committed
yroubanJul 8 2019, 10:07 PM
Parents
rG048493f882fa: [BPF] Preserve debuginfo array/union/struct type/access index
Branches
Unknown
Tags
Unknown