summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2015-02-06 23:15:39 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2015-02-06 23:15:39 +0000
commitdf956a2e782ebc0e201668b8436f40e38bfe0a65 (patch)
tree733b785adeb63a317a3c5c04282f40897b3c997a /clang/test
parent76cb85a6c71c4fa279abedf0c9f1652eb2dee9b4 (diff)
downloadbcm5719-llvm-df956a2e782ebc0e201668b8436f40e38bfe0a65.tar.gz
bcm5719-llvm-df956a2e782ebc0e201668b8436f40e38bfe0a65.zip
[AArch64] Use the source location of the IR branch when creating Bcc
from a conditional branch fed by an add/sub/mul-with-overflow node. We previously used the SDLoc of the overflow node, for no good reason. In some cases, this led to the Bcc and B terminators having different source orders, and DBG_VALUEs being inserted between them. The real issue is with the code that can't handle DBG_VALUEs between terminators: the few places affected by this will be fixed soon. In the meantime, fixing the SDLoc is a positive change no matter what. No tests, as I have no idea how to get .loc emitted for branches? rdar://19347133 llvm-svn: 228463
Diffstat (limited to 'clang/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud