llvm-capstone/flang/tools
Tom Eccles 43d729dda4 [flang][HLFIR] add more memory effects interfaces
Anything that produces a hlfir.expr should have an allocation side
effect so that it is not removed by CSE (which would result in two
hlfir.destroy operations for the same expression). Similarly for
hlfir.associate, which has hlfir.end_associate.

Also adds read effects on arguments which are pointer-like or boxes.

I see no regressions from this change when running llvm-testsuite with
optimization enabled, or from SPEC2017 rate benchmarks.

To test this, I have added MLIR's pass for testing side effect
interfaces to fir-opt.

Differential Revision: https://reviews.llvm.org/D158662
2023-09-06 10:29:57 +00:00
..
bbc [flang] Add -fppc-native-vector-element-order option to control the element order in PowerPC vector types 2023-08-04 17:11:30 -04:00
f18 [flang] Add a subset of PowerPC MMA (Matrix Multiply Accelerate) intrinsics 2023-07-27 14:30:06 -04:00
f18-parse-demo [Flang] Include logical default with default-integer-8 2023-07-18 11:05:25 +00:00
fir-opt [flang][HLFIR] add more memory effects interfaces 2023-09-06 10:29:57 +00:00
flang-driver [Driver] Refactor to use llvm Option's new Visibility flags 2023-08-15 14:26:40 -07:00
tco [mlir] Add support for "promised" interfaces 2023-06-09 11:30:13 -07:00
.clang-tidy
CMakeLists.txt