[all-commits] [llvm/llvm-project] 5313d2: [CodeGen] Fix lower constant intrinsics for dead c...

Alexis Engelke via All-commits all-commits at lists.llvm.org
Thu Aug 8 04:06:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5313d2e6d02d2a8b192e2c007241ff261287e1ca
      https://github.com/llvm/llvm-project/commit/5313d2e6d02d2a8b192e2c007241ff261287e1ca
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2024-08-08 (Thu, 08 Aug 2024)

  Changed paths:
    M llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
    A llvm/test/Transforms/PreISelIntrinsicLowering/constant-intrinscs-dead-code.ll

  Log Message:
  -----------
  [CodeGen] Fix lower constant intrinsics for dead code (#102442)

lowerConstantIntrinsics does an RPO traveral, which doesn't reach dead
blocks. Remove the assertion that all intrinsics are lowered, because
some intrinsics might remain.



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