jaodotsh,
Yes adding a pass is as simple as adding an LLVM pass. However, we do not support customers adding passes to the compiler. If you want something added into the OpenCL compiler, you need to get it added to the LLVM tree and then we can evaluate it when we upgrade LLVM versions.