[all-commits] [llvm/llvm-project] 33590e: [InstCombine] fix another poison-unsafe select tra...

Juneyoung Lee via All-commits all-commits at lists.llvm.org
Sun Mar 7 09:13:23 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 33590ed4f264557ff34702dd61d50484962d667b
      https://github.com/llvm/llvm-project/commit/33590ed4f264557ff34702dd61d50484962d667b
  Author: Juneyoung Lee <aqjune at gmail.com>
  Date:   2021-03-08 (Mon, 08 Mar 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/select-safe-bool-transforms.ll

  Log Message:
  -----------
  [InstCombine] fix another poison-unsafe select transformation

This fixes another unsafe select folding by disabling it if
EnableUnsafeSelectTransform is set to false.

EnableUnsafeSelectTransform's default value is true, hence it won't
affect generated code (unless the flag is explicitly set to false).




More information about the All-commits mailing list