| 1 |
// RUN: fir-opt --fir-to-llvm-ir %s | FileCheck %s |
| 2 |
|
| 3 |
// Tests that `fir.local` ops are dropped from the module before LLVM lowering. |
| 4 |
|
| 5 |
fir.local {type = local} @local_privatizer : i32 |
| 6 |
func.func @foo() { |
| 7 |
return |
| 8 |
} |
| 9 |
|
| 10 |
// CHECK-NOT: fir.local |