[all-commits] [llvm/llvm-project] 787093: [Bitcode] Drop invalid branch_weight in BitcodeReader
    Steven Wu via All-commits 
    all-commits at lists.llvm.org
       
    Thu Jul 23 09:07:40 PDT 2020
    
    
  
  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 78709345fb343123020a8615325f3943bd1cb420
      https://github.com/llvm/llvm-project/commit/78709345fb343123020a8615325f3943bd1cb420
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2020-07-23 (Thu, 23 Jul 2020)
  Changed paths:
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    A llvm/test/Bitcode/Inputs/branch-weight.bc
    A llvm/test/Bitcode/branch-weight.ll
  Log Message:
  -----------
  [Bitcode] Drop invalid branch_weight in BitcodeReader
Summary:
If bitcode reader gets an invalid branch weight, drop that from the
inputs. This allows us to read the broken modules we generated before
the verifier was able to catch this.
rdar://64870641
Reviewers: yrouban, t.p.northover, dexonsmith, arphaman, aprantl
Reviewed By: aprantl
Subscribers: aprantl, hiraditya, jkorous, ributzka, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D83699
    
    
More information about the All-commits
mailing list