xref: /llvm-project/llvm/test/Transforms/ArgumentPromotion/2008-09-07-CGUpdate.ll (revision bcbc6151640f53e9d78392c66de9760c664d8b1d)
1c0cfdd32SJohannes Doerfert; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature --scrub-attributes
2217e8576SNikita Popov; RUN: opt < %s -passes=inline,argpromotion -disable-output
3cee313d2SEric Christopher
4*bcbc6151SNikita Popovdefine internal fastcc i32 @hash(ptr %ts, i32 %mod) nounwind {
5cee313d2SEric Christopherentry:
6cee313d2SEric Christopher  unreachable
7cee313d2SEric Christopher}
8cee313d2SEric Christopher
9*bcbc6151SNikita Popovdefine void @encode(ptr %m, ptr %ts, ptr %new) nounwind {
10cee313d2SEric Christopherentry:
11*bcbc6151SNikita Popov  %0 = call fastcc i32 @hash( ptr %ts, i32 0 ) nounwind		; <i32> [#uses=0]
12cee313d2SEric Christopher  unreachable
13cee313d2SEric Christopher}
14