VAST is an experimental compiler pipeline designed for program analysis of C and C++. It provides a tower of IRs as MLIR dialects to choose the best fit representations for a program analysis or further program abstraction.
Ubuntu clang version 18.1.8 (++20240615103753+3b5b5c1ec4a3-1~exp1~20240615223858.136) Target: x86_64-pc-linux-gnu Thread model: posix
LLVM version
18.1.8
Operating system
Ubuntu 22.04.4 LTS x86_64
Description
The VAST codegen module verifier fails to verify nested statement expressions that return variables whose names shadow those of variables from an outer statement expression. I receive the following error:
This is most likely a bit more complicated version of #634 (although StmtExpr might be special in some magical way, so I would keep both of the issues?)
VAST version
Ubuntu clang version 18.1.8 (++20240615103753+3b5b5c1ec4a3-1~exp1~20240615223858.136) Target: x86_64-pc-linux-gnu Thread model: posix
LLVM version
18.1.8
Operating system
Ubuntu 22.04.4 LTS x86_64
Description
The VAST codegen module verifier fails to verify nested statement expressions that return variables whose names shadow those of variables from an outer statement expression. I receive the following error:
Steps to Reproduce
Create a file
test_verify_dominance.c
with the following contents:Run
vast-front
on the file like so: