commit | e677c7bd2284caba8d8b79d738107d7fbde6097d | [log] [tgz] |
---|---|---|
author | Davide Italiano <davide@freebsd.org> | Wed May 20 21:40:38 2015 +0000 |
committer | Davide Italiano <davide@freebsd.org> | Wed May 20 21:40:38 2015 +0000 |
tree | a4158c6cad33821f1b336bfdd1055beae853431a | |
parent | b753a30d3ba5758f387f9bcd5ed3a12de1ea85f8 [diff] |
[Target/ARM] Only enable OptimizeBarrierPass at -O1 and above. Ideally this is going to be and LLVM IR pass (shared, among others with AArch64), but for the time being just enable it if consumers ask us for optimization and not unconditionally. Discussed with Tim Northover on IRC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237837 91177308-0d34-0410-b5e6-96231b3b80d8