summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaOpenMP.cpp
diff options
context:
space:
mode:
authorMichael Liao <michael.hliao@gmail.com>2019-03-20 20:18:56 +0000
committerMichael Liao <michael.hliao@gmail.com>2019-03-20 20:18:56 +0000
commiteea5177d30845096ad70534545f1f67a31995210 (patch)
treec0519eb67bb6ba3617516930dc3094b8c79ab8ed /clang/lib/Sema/SemaOpenMP.cpp
parent27ef9518decb4129bc22814b33c88ed06813b224 (diff)
downloadbcm5719-llvm-eea5177d30845096ad70534545f1f67a31995210.tar.gz
bcm5719-llvm-eea5177d30845096ad70534545f1f67a31995210.zip
[AMDGPU] Fix clamp bit DAG operand
Summary: - Should use `targetconstant` instead of `constant` operand for clamp bit, which is expected as an immediate operand. Under certain conditions, such as a common `i1 false` constant is used in other place and selected before the instruction with clamp bit, register operand may be added instead of immediate one. Use `targetcosntant` to enforce that. Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D59608 llvm-svn: 356608
Diffstat (limited to 'clang/lib/Sema/SemaOpenMP.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud