> On 28 Mar 2016, at 22:20, Greg Parker <[email protected]> wrote:
> 
> swiftc has a hidden -Xllvm flag that passes options to the LLVM code 
> generator. That might work for low-level options like instruction selection 
> and maybe the red zone. It's not the right answer for production use, but it 
> might be good enough for your experiments.

Ah, I hadn’t seen that flag only the -Xcc one. I modified LLVM to accept a 
wildcard in the -force-attribute arg and “-Xllvm -force-attribute=.:noredzone” 
seems to do the right thing now

Thanks
Simon
_______________________________________________
swift-dev mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to