HomePhabricator

[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and…

Authored by hyeongyukim on Oct 15 2021, 3:26 AM.

Description

[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default

Turning on enable_noundef_analysis flag allows better codegen by removing freeze instructions.
I modified clang by renaming enable_noundef_analysis flag to disable-noundef-analysis and turning it off by default.

Test updates are made as a separate patch: D108453

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D105169

[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default (2)

This patch updates test files after D105169.
Autogenerated test codes are changed by utils/update_cc_test_checks.py, and non-autogenerated test codes are changed as follows:

(1) I wrote a python script that (partially) updates the tests using regex:

The script is not perfect, but I believe it gives hints about which patterns are updated to have noundef attached.

(2) The remaining tests are updated manually.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D108453

Resolve lit failures in clang after 8ca4b3e's land

Fix lit test failures in clang-ppc* and clang-x64-windows-msvc

Fix missing failures in clang-ppc64be* and retry fixing clang-x64-windows-msvc

Fix internal_clone(aarch64) inline assembly

Very Large Commit

This commit is very large, and affects more than 1000 files. Changes are not shown.