We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c47e2a2 commit a3158e2Copy full SHA for a3158e2
flang/test/Fir/omp-reduction-embox-codegen.fir
@@ -11,8 +11,6 @@ omp.declare_reduction @test_reduction : !fir.ref<!fir.box<i32>> init {
11
^bb0(%arg0: !fir.ref<!fir.box<i32>>):
12
%0 = fir.alloca !fir.box<i32>
13
%1 = fir.alloca i32
14
- %c0 = arith.constant 0 : i32
15
- fir.store %c0 to %1 : !fir.ref<i32>
16
%2 = fir.embox %1 : (!fir.ref<i32>) -> !fir.box<i32>
17
18
// use the embox for something so it isn't removed
0 commit comments