Commit 2c53676
[MLIR][LLVMIR] Fix use-after-move
Fix an issue introduced in llvm#126929: The LLVM module is moved into
the ModuleTranslator, so query the DataLayout from there.1 parent 4c6df99 commit 2c53676
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2143 | 2143 | | |
2144 | 2144 | | |
2145 | 2145 | | |
2146 | | - | |
| 2146 | + | |
| 2147 | + | |
2147 | 2148 | | |
2148 | 2149 | | |
2149 | 2150 | | |
| |||
0 commit comments