Displaying 3 results from an estimated 3 matches for "29910051".
2018 Jan 08
5
Integrating llvm pass with pass manager
Hello,
I have followed steps given in - https://stackoverflow.com/questions/29910051/integrating-llvm-passes/48142693#48142693 <https://stackoverflow.com/questions/29910051/integrating-llvm-passes/48142693#48142693>, to integrate my pass with pass manager and run it with clang. I am able to run my pass with opt - opt -mypass but when I try to run it with clang, I always get a...
2018 Jan 11
0
Integrating llvm pass with pass manager
...lvm). You
should add `-mllvm` to tell clang the following argument have to be passed
to the backend part.
2018-01-08 8:02 GMT+08:00 sangeeta chowdhary via llvm-dev <
llvm-dev at lists.llvm.org>:
> Hello,
>
> I have followed steps given in - https://stackoverflow.com/
> questions/29910051/integrating-llvm-passes/48142693#48142693, to
> integrate my pass with pass manager and run it with clang. I am able to
> run my pass with opt - opt -mypass but when I try to run it with clang, I
> always get an error - unknown argument: '-mypass'. Please help me for the
> same....
2018 Jan 13
0
Integrating llvm pass with pass manager
...like
X86OptimizeLEAS.cpp does.
static cl::opt<bool>
DisableX86LEAOpt("disable-x86-lea-opt", cl::Hidden,
cl::desc("X86: Disable LEA optimizations."),
cl::init(false));
[1] https://stackoverflow.com/questions/29910051/integrating-llvm-passes/
48142693#48142693
<https://www.google.com/url?q=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F29910051%2Fintegrating-llvm-passes%2F48142693%2348142693&sa=D&sntz=1&usg=AFQjCNEKxZuk7ahlWbtZwE0gXezqn29vNA>
HTH,
chenwj
--
Wei-Ren Chen (陳韋任)
Homepage: ht...