[llvm-bugs] [Bug 47106] New: A variable should not be assigned values twice successively.(llvm-project/polly/lib/External/ppcg/gpu.c:line 5382-5383)

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 11 00:05:51 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=47106

            Bug ID: 47106
           Summary: A variable should not be assigned values twice
                    successively.(llvm-project/polly/lib/External/ppcg/gpu
                    .c:line 5382-5383)
           Product: Polly
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Other
          Assignee: polly-dev at googlegroups.com
          Reporter: info at ustchcs.com
                CC: llvm-bugs at lists.llvm.org

A variable should not be assigned values twice successively.
Maybe there is a typo.

commit e3546c78cabfbf670391a57766872f0a8e28a423

llvm-project/polly/lib/External/ppcg/gpu.c:line 5382-5383

  5377          index = pet_expr_access_get_index(expr);
  5378          space = isl_multi_pw_aff_get_space(index);
  5379          isl_multi_pw_aff_free(index);
  5380          if (isl_space_domain_is_wrapping(space))
  5381                  space = isl_space_domain_factor_domain(space);
  5382          space2 = isl_space_copy(space);
  5383          space2 = isl_space_from_domain(isl_space_domain(space));
  5384          id = pet_expr_access_get_ref_id(expr);
  5385          space2 = isl_space_set_tuple_id(space2, isl_dim_out, id);
  5386          space = isl_space_range_product(space2, space);
  5387          space = isl_space_uncurry(space);
  5388  
  5389          return isl_map_empty(space);

Reported by: Ustchcs Toolsets Bugfinder
(bugfinder-2.7: A variable should not be assigned values twice successively.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200811/18190541/attachment.html>


More information about the llvm-bugs mailing list