[fir] Add fir.no_reassoc conversion
authorValentin Clement <clementval@gmail.com>
Fri, 19 Nov 2021 10:33:57 +0000 (11:33 +0100)
committerValentin Clement <clementval@gmail.com>
Fri, 19 Nov 2021 10:38:24 +0000 (11:38 +0100)
commitb8207db700e60d1248c6b9d9d6559cdf877635ec
tree16cd5ea0d100b73b89d79237f702e08e3a797d55
parentf3753ad774506804ef5df065b48268712bdaa554
[fir] Add fir.no_reassoc conversion

Currently `fir.no_reassoc` is just removed in the conversion.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D114154

Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
flang/lib/Optimizer/CodeGen/CodeGen.cpp
flang/test/Fir/convert-to-llvm.fir