[all-commits] [llvm/llvm-project] 44b717: [GlobalISel] Clamp out-of-range G_EXTRACT_VECTOR_E...

Owen Anderson via All-commits all-commits at lists.llvm.org
Tue Feb 20 21:42:35 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44b717df4d837ce4e8d76b00cee2e122ae6ad28c
      https://github.com/llvm/llvm-project/commit/44b717df4d837ce4e8d76b00cee2e122ae6ad28c
  Author: Owen Anderson <resistor at mac.com>
  Date:   2024-02-21 (Wed, 21 Feb 2024)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    A llvm/test/CodeGen/AArch64/extractvector-oob-load.mir

  Log Message:
  -----------
  [GlobalISel] Clamp out-of-range G_EXTRACT_VECTOR_ELT constant indices when converting them into loads. (#82460)

This avoid turning a poison value into a segfault, and fixes
https://github.com/llvm/llvm-project/issues/78383



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