[all-commits] [llvm/llvm-project] 16ad6e: [IR] Don't copy profile metadata in createCallMatc...
Hans via All-commits
all-commits at lists.llvm.org
Wed Jun 17 02:18:54 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 16ad6eeb94ff0619288fb9b3a2287076d5f32ae1
https://github.com/llvm/llvm-project/commit/16ad6eeb94ff0619288fb9b3a2287076d5f32ae1
Author: Hans Wennborg <hans at chromium.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/test/Transforms/SimplifyCFG/invoke_unwind.ll
Log Message:
-----------
[IR] Don't copy profile metadata in createCallMatchingInvoke()
The invoke instruction can have profile metadata with branch_weights,
which does not make sense for a call instruction and will be
rejected by the verifier.
Differential revision: https://reviews.llvm.org/D81996
More information about the All-commits
mailing list