Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
What is the ultimate goal of this? This code seems more related to lowering than optimization. Lowering will have a dependency in the other sense right?
Comment Actions
This is to allow implementation of HLFIR transformational intrinsic operations such as hlfir.sum. There will be a pass which rewrites hlfir.sum into the fir.call (and argument handling). lib/Lower already depends upon lib/Optimizer, so it would be best not to add a dependency from lib/Optimizer to lib/Lower (by leaving IntrinsicCall in lib/Lower and calling these functions from lib/Optimizer/HLFIR/Transforms/).