[all-commits] [llvm/llvm-project] 83a5c7: [ConstantFolding] Ensure TLI is valid when simplif...

David Green via All-commits all-commits at lists.llvm.org
Sat Aug 24 06:39:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83a5c7cb62e404a713a35445b755cf0109650279
      https://github.com/llvm/llvm-project/commit/83a5c7cb62e404a713a35445b755cf0109650279
  Author: David Green <david.green at arm.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    A llvm/test/Transforms/Inline/simplify-fp128.ll

  Log Message:
  -----------
  [ConstantFolding] Ensure TLI is valid when simplifying fp128 intrinsics.

TLI might not be valid for all contexts that constant folding is performed. Add
a quick guard that it is not null.



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