[all-commits] [llvm/llvm-project] 77c8d2: [GlobalISel] Fix ZExt known bits for scalable vect...
David Green via All-commits
all-commits at lists.llvm.org
Wed May 21 11:52:41 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 77c8d214131e951e3d3a07b45a7436f54988d6f3
https://github.com/llvm/llvm-project/commit/77c8d214131e951e3d3a07b45a7436f54988d6f3
Author: David Green <david.green at arm.com>
Date: 2025-05-21 (Wed, 21 May 2025)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/GISelValueTracking.cpp
A llvm/test/CodeGen/AArch64/GlobalISel/knownbits-assertzext.mir
A llvm/test/CodeGen/AArch64/GlobalISel/knownbits-trunk.mir
A llvm/test/CodeGen/AArch64/GlobalISel/knownbits-zext.mir
Log Message:
-----------
[GlobalISel] Fix ZExt known bits for scalable vectors. (#140213)
It was using the full size of the vector as the SrcBitWidth. This patch
changes the code to split G_ASSERT_ZEXT away from the others (G_INTTOPTR
/ G_PTRTOINT / G_ZEXT / G_TRUNC) which are simpler, and make the code
match the SDAG equivalent.
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