summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/FunctionAttrs
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2019-11-25 23:07:43 -0800
committerCraig Topper <craig.topper@gmail.com>2019-11-25 23:13:30 -0800
commit1b20908334847f4dc7b283f0493f4c59f1c62858 (patch)
treea79a19380c8c2238912a6d306d003823fd69b8f2 /llvm/test/Transforms/FunctionAttrs
parenta71c1e2a576a6b0f85cab2bef12446b0e3967853 (diff)
downloadbcm5719-llvm-1b20908334847f4dc7b283f0493f4c59f1c62858.tar.gz
bcm5719-llvm-1b20908334847f4dc7b283f0493f4c59f1c62858.zip
[X86] Return Op instead of SDValue() for lowering flags_read/write intrinsics
Returning SDValue() means we didn't handle it and the common code should try to expand it. But its a target intrinsic so expanding won't do anything and just leave the node alone. But it will print confusing debug messages. By returning Op we tell the common code that the node is legal and shouldn't receive any further processing.
Diffstat (limited to 'llvm/test/Transforms/FunctionAttrs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud