[IPConstantProp][NFCI] Improve and modernize tests
authorJohannes Doerfert <johannes@jdoerfert.de>
Sat, 2 Nov 2019 04:36:41 +0000 (23:36 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Mon, 9 Dec 2019 21:24:08 +0000 (15:24 -0600)
commitaf52d5a04cb3c488af06c50806d15f1ee9252cc7
treedae1af42424542330a977070d45631657cd3ffa6
parenta7d992c0f2d235c67f04160405c5c5606408d4b1
[IPConstantProp][NFCI] Improve and modernize tests

Summary:
This change is in preparation to reuse these test for the Attributor.
It mainly is to remove UB, make it clear what is tested, and use
"modern" run lines.

Reviewers: fhahn, efriedma, mssimpso, davide

Subscribers: bollu, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69747
13 files changed:
llvm/test/Transforms/IPConstantProp/2008-06-09-WeakProp.ll
llvm/test/Transforms/IPConstantProp/2009-09-24-byval-ptr.ll
llvm/test/Transforms/IPConstantProp/PR16052.ll
llvm/test/Transforms/IPConstantProp/PR26044.ll
llvm/test/Transforms/IPConstantProp/PR43857.ll
llvm/test/Transforms/IPConstantProp/arg-count-mismatch.ll
llvm/test/Transforms/IPConstantProp/recursion.ll
llvm/test/Transforms/IPConstantProp/return-argument.ll
llvm/test/Transforms/IPConstantProp/return-constant.ll
llvm/test/Transforms/IPConstantProp/return-constants.ll
llvm/test/Transforms/IPConstantProp/solve-after-each-resolving-undefs-for-function.ll
llvm/test/Transforms/IPConstantProp/thread_local_acs.ll
llvm/test/Transforms/IPConstantProp/user-with-multiple-uses.ll