search for: scottcarr

Displaying 5 results from an estimated 5 matches for "scottcarr".

2016 Feb 09
2
CloneFunction during LTO leads to seg fault?
...can't see anything obviously wrong. I'm not sure what you meant by: > You may want to try to add it at the end of the pipeline My pass is the last one added inside populateLTOPassManager. Should I add it to the PassManager somewhere else? Thanks, Scott [1] https://gist.github.com/scottcarr/ce0bb6df1cbb44ec46a5 [2] http://pastebin.com/9xc2jpRj On 02/09/2016 01:36 PM, Mehdi Amini wrote: >> On Feb 9, 2016, at 10:24 AM, Scott A. Carr via llvm-dev <llvm-dev at lists.llvm.org> wrote: >> >> Hello, >> >> I'm writing an LTO pass and I'd like to be...
2016 Mar 28
0
Wrong MachineOperand accessor
...llvm::MachineOperand::getImm() const: Assertion `isImm() && "Wrong MachineOperand accessor"' failed. My pass is an IPO transformation. I haven't modified anything in CodeGen. I reduced the crash-causing module as much as possible. It is here: https://gist.github.com/scottcarr/72cf5cc3396e8a7156bc If I compile this module with the command: clang -c mk_sched_worker_free.ll The command completes without error. If I compile with optimizations like: clang -c -O3 mk_sched_worker_free.ll Then I trip the assertion and the compilation aborts. I'm using a pretty new...
2016 Mar 29
0
Wrong MachineOperand accessor
...llvm::MachineOperand::getImm() const: Assertion `isImm() && "Wrong MachineOperand accessor"' failed. My pass is an IPO transformation. I haven't modified anything in CodeGen. I reduced the crash-causing module as much as possible. It is here: https://gist.github.com/scottcarr/72cf5cc3396e8a7156bc If I compile this module with the command: clang -c mk_sched_worker_free.ll The command completes without error. If I compile with optimizations like: clang -c -O3 mk_sched_worker_free.ll Then I trip the assertion and the compilation aborts. I'm using a pretty new...
2016 Feb 09
2
CloneFunction during LTO leads to seg fault?
Hello, I'm writing an LTO pass and I'd like to be able to duplicate a function (with debugging info). I'm trying to accomplish this with CloneFunction but it's leading to a seg fault in ld. I've whittled down my problem so that it occurs in this small pass [1]. If I run this pass with opt, I get the expected result (i.e. a valid program that calls main twice). If I run
2016 Feb 11
2
CloneFunction during LTO leads to seg fault?
...>> >>> You may want to try to add it at the end of the pipeline >> >> My pass is the last one added inside populateLTOPassManager. Should I add it to the PassManager somewhere else? >> >> Thanks, >> Scott >> >> [1] https://gist.github.com/scottcarr/ce0bb6df1cbb44ec46a5 >> [2] http://pastebin.com/9xc2jpRj >> >> On 02/09/2016 01:36 PM, Mehdi Amini wrote: >>>> On Feb 9, 2016, at 10:24 AM, Scott A. Carr via llvm-dev <llvm-dev at lists.llvm.org> wrote: >>>> >>>> Hello, >>>>...