[all-commits] [llvm/llvm-project] 08c681: Perform memory accesses in the same addrspace as t...
Andrew Pritchard via All-commits
all-commits at lists.llvm.org
Thu Feb 18 12:36:44 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 08c681f645c529b24989f7a87c6919c981d1d1d2
https://github.com/llvm/llvm-project/commit/08c681f645c529b24989f7a87c6919c981d1d1d2
Author: Andrew Pritchard <awpr at google.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
Log Message:
-----------
Perform memory accesses in the same addrspace as the corresponding memref.
It's not necessarily the case on all architectures that all memory is
addressable in addrspace 0, so casting the pointer to addrspace 0 is
liable to cause problems.
Reviewed By: aartbik, ftynse, nicolasvasilache
Differential Revision: https://reviews.llvm.org/D96380
More information about the All-commits
mailing list