[all-commits] [llvm/llvm-project] 75384e: [InstSimplify] Refactor invariant.group load folding
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon Oct 25 01:56:39 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 75384ecdf8049b6eb8934790f1239c0c6c0a2502
https://github.com/llvm/llvm-project/commit/75384ecdf8049b6eb8934790f1239c0c6c0a2502
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2021-10-25 (Mon, 25 Oct 2021)
Changed paths:
M llvm/include/llvm/IR/Value.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/IR/Value.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
Log Message:
-----------
[InstSimplify] Refactor invariant.group load folding
Currently strip.invariant/launder.invariant are handled by
constructing constant expressions with the intrinsics skipped.
This takes an alternative approach of accumulating the offset
using stripAndAccumulateConstantOffsets(), with a flag to look
through invariant.group intrinsics.
Differential Revision: https://reviews.llvm.org/D112382
More information about the All-commits
mailing list