Change the definition of G_SBFX and G_UBFX so that the lsb and width
can have different types than the src and dst operands.
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
90 ms | x64 windows > LLVM.CodeGen/AMDGPU::inline-attr.ll |
Event Timeline
Comment Actions
Description is misleading. This should be allow a different type for the offset/width operands, which do not necessarily need to be constant
llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp | ||
---|---|---|
718–719 | Maybe this should keep using i64 for the amounts? It probably doesn't really matter since it only handles constant cases |
Maybe this should keep using i64 for the amounts? It probably doesn't really matter since it only handles constant cases