[all-commits] [llvm/llvm-project] 610e33: [Polly] Ensure i1 preload condition

Michael Kruse via All-commits all-commits at lists.llvm.org
Mon Jan 27 09:55:50 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 610e33a547751019ff514d34f95f72d58118249c
      https://github.com/llvm/llvm-project/commit/610e33a547751019ff514d34f95f72d58118249c
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2025-01-27 (Mon, 27 Jan 2025)

  Changed paths:
    M polly/include/polly/CodeGen/IslExprBuilder.h
    M polly/lib/CodeGen/IslExprBuilder.cpp
    M polly/lib/CodeGen/IslNodeBuilder.cpp

  Log Message:
  -----------
  [Polly] Ensure i1 preload condition

If the preload condition is a constant, ExprBuilder::create returns an
integer of the native integer while an i1 is expected. Cast the result
to i1 if that happens.

Fixes #123932



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