[all-commits] [llvm/llvm-project] c66d1f: [llvm][Support] Add isZero method for TypeSize. [NFC]
Francesco Petrogalli via All-commits
all-commits at lists.llvm.org
Fri Mar 27 14:04:44 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c66d1f38f6f11ee6bafb0a3f2c06f3bbf4413ab2
https://github.com/llvm/llvm-project/commit/c66d1f38f6f11ee6bafb0a3f2c06f3bbf4413ab2
Author: Francesco Petrogalli <francesco.petrogalli at arm.com>
Date: 2020-03-27 (Fri, 27 Mar 2020)
Changed paths:
M llvm/include/llvm/Support/TypeSize.h
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Target/AArch64/AArch64CallLowering.cpp
Log Message:
-----------
[llvm][Support] Add isZero method for TypeSize. [NFC]
Summary:
The method is used where TypeSize is implicitly cast to integer for
being checked against 0.
Reviewers: sdesmalen, efriedma
Reviewed By: sdesmalen, efriedma
Subscribers: efriedma, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D76748
More information about the All-commits
mailing list