Prevent comparison with wider type in loop condition
authorAakanksha <paakan@amd.com>
Fri, 25 Mar 2022 11:33:25 +0000 (11:33 +0000)
committerAakanksha <paakan@amd.com>
Fri, 25 Mar 2022 11:35:18 +0000 (11:35 +0000)
commitb0225ab8fd4fff92f081da3fabcb635c8e67e5ca
treef3e7cf4558a013bd11d3e2b16ebed7208eb7d4f6
parent635dde811717e736ddb6b675f678b64c54607eba
Prevent comparison with wider type in loop condition

This change fixes the code violations flagged in AMD compute CodeQL scan - "comparison-with-wider-type"

Differential Revision: https://reviews.llvm.org/D122447
llvm/utils/TableGen/X86RecognizableInstr.cpp