Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / 2002-03-14-BrokenSSA.c
blob1c83c8c948046797610e0839d71333b03811a9cc
1 // RUN: %clang_cc1 -emit-llvm %s -o /dev/null
3 /* This code used to break GCC's SSA computation code. It would create
4 uses of B & C that are not dominated by their definitions. See:
5 http://gcc.gnu.org/ml/gcc/2002-03/msg00697.html
6 */
7 int bar(void);
8 int foo(void)
10 int a,b,c;
12 a = b + c;
13 b = bar();
14 c = bar();
15 return a + b + c;