Yes. Look at the Loop-Unrolling pass and see how the unroll-thresholds is
passed. You can also read the LLVM docs, the section about the command-line
library.
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
Behalf Of Bjorn Reese
Sent: Saturday, June 25, 2011 19:43
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] Argument to optimization pass
Is it possible to pass a command-line argument to my own optimization
pass?
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.