llvm-project/llvm/lib/Transforms
Dehao Chen c81483d79c Fix the bug of samplepgo indirect call promption when type casting of the return value is needed.
Summary: When type casting of the return value is needed, promoteIndirectCall will return the type casting instruction instead of the direct call. This patch changed to return the direct call instruction instead.

Reviewers: davidxl

Reviewed By: davidxl

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D29569

llvm-svn: 294205
2017-02-06 18:10:36 +00:00
..
Coroutines [Coroutines] Add header guard to header that's missing one. 2017-01-30 16:32:20 +00:00
Hello Add auto-exporting of symbols from tools so that plugins work on Windows 2016-05-26 11:16:43 +00:00
IPO Fix the bug of samplepgo indirect call promption when type casting of the return value is needed. 2017-02-06 18:10:36 +00:00
InstCombine [InstCombine] simplify dyn_cast + isa; NFCI 2017-02-06 17:16:16 +00:00
Instrumentation Fix variable name /NFC 2017-02-04 07:40:43 +00:00
ObjCARC [CMake] NFC. Updating CMake dependency specifications 2016-11-17 04:36:50 +00:00
Scalar [JumpThread] Enhance finding partial redundant loads by continuing scanning single predecessor 2017-02-02 15:12:34 +00:00
Utils NFC: [LoopUnroll] More meaningful message in tracing 2017-02-03 17:12:43 +00:00
Vectorize [SLP] Make sortMemAccesses explicitly return an error. NFC. 2017-02-03 19:32:50 +00:00
CMakeLists.txt [coroutines] Part 3 of N: Adding Boilerplate for Coroutine Passes 2016-07-28 21:04:31 +00:00
LLVMBuild.txt [coroutines] Part 3 of N: Adding Boilerplate for Coroutine Passes 2016-07-28 21:04:31 +00:00