[all-commits] [llvm/llvm-project] f4d682: [InstCombine] when calling conventions are compati...
Yuanfang Chen via All-commits
all-commits at lists.llvm.org
Mon Apr 12 09:33:14 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f4d682d6ce6c5b3a41a0acf297507c82f5c21eef
https://github.com/llvm/llvm-project/commit/f4d682d6ce6c5b3a41a0acf297507c82f5c21eef
Author: Yuanfang Chen <yuanfang.chen at sony.com>
Date: 2021-04-12 (Mon, 12 Apr 2021)
Changed paths:
M llvm/include/llvm/Analysis/TargetLibraryInfo.h
M llvm/lib/Analysis/TargetLibraryInfo.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
A llvm/test/Transforms/InstCombine/call-callconv-mismatch.ll
Log Message:
-----------
[InstCombine] when calling conventions are compatible, don't convert the call to undef idiom
D24453 enabled libcalls simplication for ARM PCS. This may cause
caller/callee calling conventions mismatch in some situations such as
LTO. This patch makes instcombine aware that the compatible calling
conventions differences are benign (not emitting undef idom).
Differential Revision: https://reviews.llvm.org/D99773
More information about the All-commits
mailing list