[AArch64] Constant fold sve_convert_from_svbool(zero) to zero
authorJoe Ellis <joe.ellis@arm.com>
Thu, 15 Apr 2021 08:12:11 +0000 (08:12 +0000)
committerJoe Ellis <joe.ellis@arm.com>
Tue, 20 Apr 2021 10:02:49 +0000 (10:02 +0000)
commiteffacc15999dde16de3e991f861769bc899aa910
treefb44cc1a221232b915d576dbc656fd0a3df3e04f
parentc91cd4f3bb53f6f3b2cbfd6269ebb88eef410246
[AArch64] Constant fold sve_convert_from_svbool(zero) to zero

Co-authored-by: Paul Walker <paul.walker@arm.com>
Differential Revision: https://reviews.llvm.org/D100463
llvm/lib/Analysis/ConstantFolding.cpp
llvm/test/Transforms/InstSimplify/ConstProp/AArch64/aarch64-sve-convert-from-svbool.ll [new file with mode: 0644]
llvm/test/Transforms/InstSimplify/ConstProp/AArch64/lit.local.cfg [new file with mode: 0644]