aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorOliver Stannard <oliver.stannard@arm.com>2024-10-10 10:17:50 +0200
committerGitHub <noreply@github.com>2024-10-10 09:17:50 +0100
commit1e49670b31e9bf79fc9d0639dcb3a71f4c7f2059 (patch)
tree889ac8e90d28450d93fef6e3e19ba84edfcdb290 /flang/lib/Frontend/CompilerInvocation.cpp
parent1fa3c857f011bfbca788d481680229accbf6e350 (diff)
downloadllvm-1e49670b31e9bf79fc9d0639dcb3a71f4c7f2059.zip
llvm-1e49670b31e9bf79fc9d0639dcb3a71f4c7f2059.tar.gz
llvm-1e49670b31e9bf79fc9d0639dcb3a71f4c7f2059.tar.bz2
[DAGISel] Keep flags when converting FP load/store to integer (#111679)
This DAG combine replaces a floating-point load/store pair which has no other uses with an integer one, but did not copy the memory operand flags to the new instructions, resulting in it dropping the volatile flag. This optimisation is still valid if one or both of the instructions is volatile, so we can copy over the whole MachineMemOperand to generate volatile integer loads and stores where needed.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions