projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AMDGPU: Use generic bitreverse intrinsic
[oota-llvm.git]
/
lib
/
Target
/
AMDGPU
/
SIInstructions.td
diff --git
a/lib/Target/AMDGPU/SIInstructions.td
b/lib/Target/AMDGPU/SIInstructions.td
index e874db1fe0a152db33b0e3ea6e573b4ede7653a0..f247cbf41c9f94a45efa633f8eae10881a7cff96 100644
(file)
--- a/
lib/Target/AMDGPU/SIInstructions.td
+++ b/
lib/Target/AMDGPU/SIInstructions.td
@@
-127,7
+127,7
@@
let Defs = [SCC] in {
defm S_BREV_B32 : SOP1_32 <sop1<0x0b, 0x08>, "s_brev_b32",
- [(set i32:$dst, (
AMDGPUbrev
i32:$src0))]
+ [(set i32:$dst, (
bitreverse
i32:$src0))]
>;
defm S_BREV_B64 : SOP1_64 <sop1<0x0c, 0x09>, "s_brev_b64", []>;