aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFModuleDefinition.cpp
diff options
context:
space:
mode:
authorAndrew Savonichev <andrew.savonichev@gmail.com>2021-07-29 14:16:05 +0300
committerAndrew Savonichev <andrew.savonichev@gmail.com>2021-10-11 11:55:11 +0300
commit7ae8f392a1610992c9a925c867fd7238c70d3ce0 (patch)
treefdcefecc7e92fd66ced08df10839f9f75d7a3c4f /llvm/lib/Object/COFFModuleDefinition.cpp
parent342d7b654c63cadaa6135913c9582a7272fced58 (diff)
downloadllvm-7ae8f392a1610992c9a925c867fd7238c70d3ce0.zip
llvm-7ae8f392a1610992c9a925c867fd7238c70d3ce0.tar.gz
llvm-7ae8f392a1610992c9a925c867fd7238c70d3ce0.tar.bz2
[AArch64] Emit AssertZExt for i1 arguments
AAPCS requires i1 argument to be zero-extended to 8-bits by the caller. Emit a new AArch64ISD::ASSERT_ZEXT_BOOL hint (or AssertZExt for GlobalISel) to enable some optimization opportunities. In particular, when the argument is forwarded to the callee, we can avoid zero-extension and use it as-is. Differential Revision: https://reviews.llvm.org/D107160
Diffstat (limited to 'llvm/lib/Object/COFFModuleDefinition.cpp')
0 files changed, 0 insertions, 0 deletions