summaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/SCCP.cpp
diff options
context:
space:
mode:
authorSimon Dardis <simon.dardis@imgtec.com>2017-02-01 18:50:24 +0000
committerSimon Dardis <simon.dardis@imgtec.com>2017-02-01 18:50:24 +0000
commit28f9c9871d56f15f8bd93951af53e9347d6488ac (patch)
tree5e7d6731a69ca339eb3bf6c883c5106a362e3f85 /lib/Transforms/Scalar/SCCP.cpp
parent8d4b01ecc0e21ac3cd7723d0aa0d86ef8be9c4cd (diff)
[mips] Parse the 'bopt' and 'nobopt' directives in IAS.
The GAS assembler supports the ".set bopt" directive but according to the sources it doesn't do anything. It's supposed to optimize branches by filling the delay slot of a branch with it's target. This patch teaches the MIPS asm parser to accept both and warn in the case of 'bopt' that the bopt directive is unsupported. This resolves PR/31841. Thanks to Sean Bruno for reporting the issue! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293798 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/SCCP.cpp')
0 files changed, 0 insertions, 0 deletions