[all-commits] [llvm/llvm-project] 828d72: [GlobalISel] Add an assert for the DemandedElts AP...
David Green via All-commits
all-commits at lists.llvm.org
Mon Oct 14 01:59:49 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 828d72b263a2e62431b317d155d5347d1112e623
https://github.com/llvm/llvm-project/commit/828d72b263a2e62431b317d155d5347d1112e623
Author: David Green <david.green at arm.com>
Date: 2024-10-14 (Mon, 14 Oct 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
Log Message:
-----------
[GlobalISel] Add an assert for the DemandedElts APInt size. (#112150)
Similar to the other implementations in DAG/ValueTracking, this adds an
assert that the size of the DemandedElts is what we expect it to be -
the size of a fixed length vector or APInt(1,1) otherwise. The
G_BUILDVECTOR is fixed as it was passing an original DemandedElts for
the scalar operands.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list