[Openmp-dev] LIT. tests for OpenMPOpt

Abid Malik via Openmp-dev openmp-dev at lists.llvm.org
Mon Jan 25 06:11:12 PST 2021


Hello,

I am trying to test modifications in OpenMPOpt.CPP. I have written some LIT
tests in IR but they are crashing. However the *.cpp/*.c tests are working.
I checked some related tests already in the test suites:

1) Why running. opt twice on some parallel region tests?
; RUN: opt -S -attributor -openmpopt  < %s | FileCheck %s
; RUN: opt -S -passes='attributor,cgscc(openmpopt)'  < %s | FileCheck %s

2) Why we are not using -O3 flag? does -openmpopt flag enough for OpenMPOpt?

3) It does not print any text or statement for debugging

Thanks

-- 
Abid M. Malik
******************************************************
"I have learned silence from the talkative, toleration from the intolerant,
and kindness from the unkind"---Gibran
"Success is not for the chosen few, but for the few who choose" --- John
Maxwell
"Being a good person does not depend on your religion or status in life,
your race or skin color, political views or culture. IT DEPENDS ON HOW GOOD
YOU TREAT OTHERS"--- Abid
"The Universe is talking to us, and the language of the Universe is
mathematics."----Abid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20210125/5bdac18a/attachment.html>


More information about the Openmp-dev mailing list