[all-commits] [llvm/llvm-project] 467e91: Fix gcc5 build failure (NFC)

Mehdi Amini via All-commits all-commits at lists.llvm.org
Thu Jan 7 12:16:27 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 467e916d3032bc068995aa1b6b16655eb573e750
      https://github.com/llvm/llvm-project/commit/467e916d3032bc068995aa1b6b16655eb573e750
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2021-01-07 (Thu, 07 Jan 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp

  Log Message:
  -----------
  Fix gcc5 build failure (NFC)

The loop index was shadowing the container name.
It seems that we can just not use a for-range loop here since there is
an induction variable anyway.

Differential Revision: https://reviews.llvm.org/D94254




More information about the All-commits mailing list