xref: /llvm-project/clang/test/CodeGen/extend-variable-liveness-wide-scalar.cpp (revision 4424c44c8c4ec8e071f5c5999fba216d36fb92c9)
1*4424c44cSWolfgang Pieb // RUN: %clang_cc1 %s -emit-llvm -fextend-variable-liveness -triple x86_64-unknown-linux -o - | FileCheck %s
2*4424c44cSWolfgang Pieb // REQUIRES: x86-registered-target
3*4424c44cSWolfgang Pieb // This test checks that the fake uses can be generated in exception handling
4*4424c44cSWolfgang Pieb // blocks and that we can emit fake uses for the __int128 data type.
5*4424c44cSWolfgang Pieb 
6*4424c44cSWolfgang Pieb void bar();
7*4424c44cSWolfgang Pieb 
8*4424c44cSWolfgang Pieb // CHECK: call void (...) @llvm.fake.use(i128 %
9*4424c44cSWolfgang Pieb void foo(__int128 wide_int) {
10*4424c44cSWolfgang Pieb   bar();
11*4424c44cSWolfgang Pieb }
12