HomePhabricator

[llvm][Support] Add isZero method for TypeSize. [NFC]

Authored by fpetrogalli on Mar 27 2020, 1:41 PM.

Description

[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

Details

Committed
fpetrogalliMar 27 2020, 2:03 PM
Reviewer
sdesmalen
Differential Revision
D76748: [llvm][Support] Add isZero method for TypeSize. [NFC]
Parents
rGa8cc9047de09: CodeGen: Add -denormal-fp-math-f32 flag
Branches
Unknown
Tags
Unknown