aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/CodeGenDAGPatterns.cpp
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2017-09-19 18:26:54 +0000
committerDehao Chen <dehao@google.com>2017-09-19 18:26:54 +0000
commitb6e60c8b80704e948cf049569145ddf8497d7e05 (patch)
tree3d75dfb13efa0af1be8c57b31d5da83c50c98a79 /llvm/utils/TableGen/CodeGenDAGPatterns.cpp
parent26fa1bf4da3cbae98251ebd2db2dcee37b89120c (diff)
downloadllvm-b6e60c8b80704e948cf049569145ddf8497d7e05.zip
llvm-b6e60c8b80704e948cf049569145ddf8497d7e05.tar.gz
llvm-b6e60c8b80704e948cf049569145ddf8497d7e05.tar.bz2
Handle profile mismatch correctly for SamplePGO.
Summary: Fix the bug when promoted call return type mismatches with the promoted function, we should not try to inline it. Otherwise it may lead to compiler crash. Reviewers: davidxl, tejohnson, eraman Reviewed By: tejohnson Subscribers: llvm-commits, sanjoy Differential Revision: https://reviews.llvm.org/D38018 llvm-svn: 313658
Diffstat (limited to 'llvm/utils/TableGen/CodeGenDAGPatterns.cpp')
0 files changed, 0 insertions, 0 deletions