[SVE][CodeGen][NFC] Replace TypeSize comparison operators with their scalar equivalents
authorDavid Sherwood <david.sherwood@arm.com>
Tue, 29 Sep 2020 11:08:40 +0000 (12:08 +0100)
committerDavid Sherwood <david.sherwood@arm.com>
Mon, 19 Oct 2020 07:30:31 +0000 (08:30 +0100)
commit35a531fb456a5d8f68cf153ca2c35c7170b9b92f
tree5e4e49c071900e8d711b08db1e4e2ed3bbd03d1f
parent7579941d8b02af995e152a453da9b9cc0cc205e7
[SVE][CodeGen][NFC] Replace TypeSize comparison operators with their scalar equivalents

In certain places in llvm/lib/CodeGen we were relying upon the TypeSize
comparison operators when in fact the code was only ever expecting
either scalar values or fixed width vectors. I've changed some of these
places to use the equivalent scalar operator.

Differential Revision: https://reviews.llvm.org/D88482
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/lib/CodeGen/TargetLoweringBase.cpp