[all-commits] [llvm/llvm-project] 45e1a2: GlobalISel: Make known bits/alignment API more con...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Fri Jun 5 11:57:47 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 45e1a22a92bf2c33336ccc02ea4fa3996f60252b
https://github.com/llvm/llvm-project/commit/45e1a22a92bf2c33336ccc02ea4fa3996f60252b
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2020-06-05 (Fri, 05 Jun 2020)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/GISelKnownBits.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-private.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-store-private.mir
Log Message:
-----------
GlobalISel: Make known bits/alignment API more consistent
Just computing the alignment makes sense without caring about the
general known bits, such as for non-integral pointers. Separate the
two and start calling into the TargetLowering hooks for frame indexes.
Start calling the TargetLowering implementation for FrameIndexes,
which improves the AMDGPU matching for stack addressing modes. Also
introduce a new hook for returning known alignment of target
instructions. For AMDGPU, it would be useful to report the known
alignment implied by certain intrinsic calls.
Also stop using MaybeAlign.
More information about the All-commits
mailing list