[LLVMdev] how to detect data hazard in pre-RA-sched

Liu Xin navy.xliu at gmail.com
Sat Sep 21 20:02:07 PDT 2013


hi, LLVM,

I found there is a flag DisableHazardRecognizer in TargetInstrImpl.cpp. I
still don't understand how llvm detects data hazard in pre-RA-sched.
pre-RA-sched is based on SDNode and all operands are vregs. Even you can
calculate the operators of SDNodes, the data hazard in vreg are not same as
physical register data hazard. Is it useful to optimize processor pipeline?

thanks,
--lx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130922/2602306d/attachment.html>


More information about the llvm-dev mailing list