[all-commits] [llvm/llvm-project] 74be8e: [GlobalISel] Fix type mismatch in LegalizerHelper ...

Eric Christopher via All-commits all-commits at lists.llvm.org
Fri Feb 13 19:36:23 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 74be8edf939427e100b505027298d7d2552f08cd
      https://github.com/llvm/llvm-project/commit/74be8edf939427e100b505027298d7d2552f08cd
  Author: Eric Christopher <echristo at gmail.com>
  Date:   2026-02-13 (Fri, 13 Feb 2026)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp

  Log Message:
  -----------
  [GlobalISel] Fix type mismatch in LegalizerHelper ternary (#180865)

### Summary

Fix type mismatch in ternary expression that causes GCC `-Werror=extra`
to fail.

### Details

GCC's `-Werror=extra` enforces stricter type consistency in ternary
expressions, in this case unsigned and an enum literal.

### Tested

- Built with ToT clang and GCC 13.3.0 on Linux x86_64 (not really
because there are other warnings, but this one is gone).
- All existing tests pass



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