aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BuildLibCalls.cpp
diff options
context:
space:
mode:
authorPeiming Liu <peiming@google.com>2022-08-16 20:47:02 +0000
committerPeiming Liu <peiming@google.com>2022-08-16 21:26:43 +0000
commitee986ab72711d838a7e7ff363c0d2efa7dba91e8 (patch)
treefa9279c5514f33494ab5380907260bff30721a83 /llvm/lib/Transforms/Utils/BuildLibCalls.cpp
parent5482432bf6cc7e334894734ebbdac0a97ee98b19 (diff)
downloadllvm-ee986ab72711d838a7e7ff363c0d2efa7dba91e8.zip
llvm-ee986ab72711d838a7e7ff363c0d2efa7dba91e8.tar.gz
llvm-ee986ab72711d838a7e7ff363c0d2efa7dba91e8.tar.bz2
[mlir][sparse] Refactoring: remove Operation * from the argument list in utility functions
This patch remove the Operation *op from the argument list in utility functions, and directly pass the Location instead of calling op->getLoc(). This should make the code more clear, as the utility function (logically) does not relies on the operation that we are currently rewriting, and they behave the same regardless of the operation. Reviewed By: aartbik, wrengr Differential Revision: https://reviews.llvm.org/D131991
Diffstat (limited to 'llvm/lib/Transforms/Utils/BuildLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions