Skip to content
Commit 305b6b96 authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[OPENMP][CUDA]Do not emit warnings for variables in late-reported asm

statements.

If the assembler instruction is not generated and the delayed diagnostic
is emitted, we may end up with extra warning message for variables used
in the asm statement. Since the asm statement is not built, the
variables may be left non-referenced and it may produce a warning about
a use of the non-initialized variables.

llvm-svn: 354928
parent 938d3f46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment