Fix crash from use of a temporary after its scope exit
authorMehdi Amini <joker.eph@gmail.com>
Fri, 10 Dec 2021 05:02:25 +0000 (05:02 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Fri, 10 Dec 2021 05:04:23 +0000 (05:04 +0000)
commit79a0330a525777af58e45836424c62ac67b935e5
tree0273e12b5624d1aae52225f758d63ed735155286
parentf829630d2ebbbfceaf6ce54ce8871c77ff9f1834
Fix crash from use of a temporary after its scope exit

Introduced in D110448 and broke some bots (reported by ASAN).

Differential Revision: https://reviews.llvm.org/D110448
mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp