aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
diff options
context:
space:
mode:
authorKiran Chandramohan <kiran.chandramohan@arm.com>2023-11-16 13:22:26 +0000
committerGitHub <noreply@github.com>2023-11-16 13:22:26 +0000
commit25d0f9fc3bddd50a38eeb44877cfa291c380d408 (patch)
tree12fc64e41926aceb90182f9e24c440c73abd4c30 /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
parentd04c019d284f7eabc7093ab380c3aa3321c29cf6 (diff)
downloadllvm-25d0f9fc3bddd50a38eeb44877cfa291c380d408.zip
llvm-25d0f9fc3bddd50a38eeb44877cfa291c380d408.tar.gz
llvm-25d0f9fc3bddd50a38eeb44877cfa291c380d408.tar.bz2
[Flang][OpenMP][OpenACC] Hoist nonAtomic Expr in atomic intrinsics (#72131)
Hoist non-atomic expressions in atomic intrinsics. Use a list to collect the non-atomic expressions since the max and min intrinsics can have more than two operands. Hoisting makes the lowering to LLVMIR of iand,ior,ieor intrinsics trivial. For max and min this still results in multiple instructions in the atomic region but the loads are removed, which should help improve performance.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp')
0 files changed, 0 insertions, 0 deletions