[all-commits] [llvm/llvm-project] 8d07f8: [DAGCombine] Replace `getIntPtrConstant()` with `g...
darkbuck via All-commits
all-commits at lists.llvm.org
Tue Jan 14 14:03:15 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8d07f8d98c48ee0a9dca450aaf4e1cabc621ff68
https://github.com/llvm/llvm-project/commit/8d07f8d98c48ee0a9dca450aaf4e1cabc621ff68
Author: Michael Liao <michael.hliao at gmail.com>
Date: 2020-01-14 (Tue, 14 Jan 2020)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
A llvm/test/CodeGen/AMDGPU/extract-subvector.ll
Log Message:
-----------
[DAGCombine] Replace `getIntPtrConstant()` with `getVectorIdxTy()`.
- Prefer `getVectorIdxTy()` as the index operand type for
`EXTRACT_SUBVECTOR` as targets expect different types by overloading
`getVectorIdxTy()`.
More information about the All-commits
mailing list