[all-commits] [llvm/llvm-project] aeb36a: Revert "[ConstantFolding] Unify handling of load f...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Dec 18 11:47:06 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aeb36ae0f4cbc5fb1d01921d89a80d62ccc2f058
      https://github.com/llvm/llvm-project/commit/aeb36ae0f4cbc5fb1d01921d89a80d62ccc2f058
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2021-12-18 (Sat, 18 Dec 2021)

  Changed paths:
    M clang/test/CodeGen/aapcs-align.cpp
    M llvm/include/llvm/Analysis/ConstantFolding.h
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/lib/Transforms/IPO/GlobalOpt.cpp
    R llvm/test/Transforms/GlobalOpt/x86_mmx_load.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/loads.ll

  Log Message:
  -----------
  Revert "[ConstantFolding] Unify handling of load from uniform value"

This reverts commit 9fd4f80e33a4ae4567483819646650f5735286e2.

This breaks SingleSource/Regression/C/gcc-c-torture/execute/pr19687.c
in test-suite. Either the test is incorrect, or clang is generating
incorrect union initialization code. I've submitted
https://reviews.llvm.org/D115994 to fix the test, assuming my
interpretation is correct. Reverting this in the meantime as it
may take some time to resolve.




More information about the All-commits mailing list