[all-commits] [llvm/llvm-project] 46c948: [GlobalISel] Add `G_EXTRACT_VECTOR_ELT` for `compu...
Moritz Zielke via All-commits
all-commits at lists.llvm.org
Wed Nov 5 15:26:44 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 46c948935dd94c8caa0e8e850a8ec95dff784bd2
https://github.com/llvm/llvm-project/commit/46c948935dd94c8caa0e8e850a8ec95dff784bd2
Author: Moritz Zielke <moritz.zielke at gmail.com>
Date: 2025-11-05 (Wed, 05 Nov 2025)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/GISelValueTracking.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/knownbits-buildvector.mir
A llvm/test/CodeGen/AArch64/GlobalISel/knownbits-extract-vector.mir
M llvm/test/CodeGen/AArch64/neon-extadd-extract.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i64.ll
Log Message:
-----------
[GlobalISel] Add `G_EXTRACT_VECTOR_ELT` for `computeKnownBits` (#164825)
The code is ported from `SelectionDAG::computeKnownBits`.
As a result of adding `G_EXTRACT_VECTOR_ELT` to `GlobalISel`, the code
generated for some of the existing regression tests changes. The changes
in `neon-extadd-extract.ll` and `knownbits-buildvector.mir` look good to
me. Though I'm struggling to understand the diff in `sdiv.i64.ll`. Is
there a test that checks if the generated amdgcn produces the correct
result? Or tools that help with executing it (I do have an AMD GPU)?
**Edit**: Related to #150515
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