summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-11-29 07:27:38 +0000
committerCraig Topper <craig.topper@intel.com>2018-11-29 07:27:38 +0000
commit961b956eb417224d3ff97fafb95c8e451be388a2 (patch)
tree632345919fd4f2edaf3e90c1f77012aaac22064d /llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
parent645cc6e331551fb766fe1bfef6a9842b6e290992 (diff)
downloadbcm5719-llvm-961b956eb417224d3ff97fafb95c8e451be388a2.tar.gz
bcm5719-llvm-961b956eb417224d3ff97fafb95c8e451be388a2.zip
[Inliner] Modify the merging of min-legal-vector-width attribute to better handle when the caller or callee don't have the attribute.
Lack of an attribute means that the function hasn't been checked for what vector width it requires. So if the caller or the callee doesn't have the attribute we should make sure the combined function after inlining does not have the attribute. If the caller already doesn't have the attribute we can just avoid adding it. Otherwise if the callee doesn't have the attribute just remove the caller's attribute. llvm-svn: 347841
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud