diff options
author | Andrew Savonichev <andrew.savonichev@gmail.com> | 2021-07-29 14:16:05 +0300 |
---|---|---|
committer | Andrew Savonichev <andrew.savonichev@gmail.com> | 2021-10-11 11:55:11 +0300 |
commit | 7ae8f392a1610992c9a925c867fd7238c70d3ce0 (patch) | |
tree | fdcefecc7e92fd66ced08df10839f9f75d7a3c4f /llvm/lib/Object/COFFModuleDefinition.cpp | |
parent | 342d7b654c63cadaa6135913c9582a7272fced58 (diff) | |
download | llvm-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