[all-commits] [llvm/llvm-project] 782c0d: [IRBuilder] Migrate and-folding to value-based Fol...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Thu Jan 20 02:22:50 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 782c0dd1a1c235afb09a34e7da4a1267ead14765
https://github.com/llvm/llvm-project/commit/782c0dd1a1c235afb09a34e7da4a1267ead14765
Author: Florian Hahn <flo at fhahn.com>
Date: 2022-01-20 (Thu, 20 Jan 2022)
Changed paths:
M clang/test/CodeGen/catch-nullptr-and-nonzero-offset.c
M clang/test/CodeGen/catch-pointer-overflow.c
M clang/test/CodeGen/cmse-clear-return.c
M llvm/include/llvm/Analysis/InstSimplifyFolder.h
M llvm/include/llvm/Analysis/TargetFolder.h
M llvm/include/llvm/IR/ConstantFolder.h
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/IRBuilderFolder.h
M llvm/include/llvm/IR/NoFolder.h
M llvm/test/Transforms/LoopIdiom/X86/left-shift-until-bittest.ll
M llvm/test/Transforms/LoopVersioning/bound-check-partially-known.ll
M polly/test/CodeGen/invariant_load_base_pointer_conditional.ll
M polly/test/CodeGen/multidim_2d_parametric_array_static_loop_bounds.ll
M polly/test/CodeGen/no-overflow-tracking.ll
M polly/test/CodeGen/run-time-condition-with-scev-parameters.ll
M polly/test/ScopInfo/allow-all-parameters-dereferencable.ll
M polly/test/ScopInfo/invariant_load_zext_parameter.ll
Log Message:
-----------
[IRBuilder] Migrate and-folding to value-based FoldAnd.
Similar to the migration of or-folding to FoldOr, there are a few cases
where the fold in IRBuilder::CreateAnd triggered directly. Those have
been updated.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D117431
More information about the All-commits
mailing list