[all-commits] [llvm/llvm-project] f49504: [Hexagon] Fix assignment (#170646)

Konrad Kleine via All-commits all-commits at lists.llvm.org
Thu Dec 4 06:05:18 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f49504a9cfcd18d35b1ba2c6f3f55ccca31f7faa
      https://github.com/llvm/llvm-project/commit/f49504a9cfcd18d35b1ba2c6f3f55ccca31f7faa
  Author: Konrad Kleine <kkleine at redhat.com>
  Date:   2025-12-04 (Thu, 04 Dec 2025)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonGenWideningVecInstr.cpp

  Log Message:
  -----------
  [Hexagon] Fix assignment (#170646)

`VmpaIntID` was used in variable definition of `VmpaIntID`.

```
/home/fedora/src/llvm-project/main/llvm/lib/Target/Hexagon/HexagonGenWideningVecInstr.cpp: In member function ‘bool {anonymous}::HexagonGenWideningVecInstr::replaceWithVmpaIntrinsic(llvm::Instruction*, OPInfo*)’:
/home/fedora/src/llvm-project/main/llvm/lib/Target/Hexagon/HexagonGenWideningVecInstr.cpp:843:41: warning: operation on ‘VmpaIntID’ may be undefined [-Wsequence-point]
  843 |       (NewResEltSize == 16) ? VmpaIntID = Intrinsic::hexagon_V6_vmpabus_128B
      |                               ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list