[llvm] [Transforms] Resolve FIXME: Pick the smallest legal type that fits (PR #79158)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 26 11:40:39 PST 2024
================
@@ -44,7 +44,7 @@ class Float2IntPass : public PassInfoMixin<Float2IntPass> {
std::optional<ConstantRange> calcRange(Instruction *I);
void walkBackwards();
void walkForwards();
- bool validateAndTransform();
+ bool validateAndTransform(DataLayout DL);
----------------
nikic wrote:
```suggestion
bool validateAndTransform(DataLayout &DL);
```
https://github.com/llvm/llvm-project/pull/79158
More information about the llvm-commits
mailing list